diff --git a/gulpfile.js b/gulpfile.js index 1bee16bc46..01bc875f91 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -51,13 +51,6 @@ gulp.task( ) ); -gulp.task('typedef:sass', shell.task('yarn typedef:sass --watch')); - -gulp.task( - 'clear:cache', - shell.task('rimraf ./node_modules/.cache && rimraf .cache-loader') -); - gulp.task('clean:dist', shell.task('rimraf ./dist')); gulp.task('build:themes', gulp.series('clean:dist', 'prepare:themes')); @@ -72,5 +65,3 @@ gulp.task( gulp.task('e2e:watch', gulp.series('clean:dist', shell.task('yarn dev'))); gulp.task('test:e2e:watch', gulp.series('e2e:watch', 'test:e2e:nodemon')); - -gulp.task('purge:translations', shell.task('rimraf ./translations/messages')); diff --git a/package.json b/package.json index 33eb11c966..94ae1ebf6d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "./dist/main/index.js", "scripts": { "dev": "concurrently --names renderer,main 'yarn dev:renderer' 'wait-on http://localhost:8080 && yarn dev:main'", - "dev:windows": "cross-env DAEDALUS_INSTALL_DIRECTORY=\"C:\\Program Files\\Daedalus Testnet\" LAUNCHER_CONFIG=\"C:\\Program Files\\Daedalus Testnet\\launcher-config.yaml\" gulp dev", + "dev:windows": "cross-env DAEDALUS_INSTALL_DIRECTORY=\"C:\\Program Files\\Daedalus Testnet\" LAUNCHER_CONFIG=\"C:\\Program Files\\Daedalus Testnet\\launcher-config.yaml\" yarn dev", "dev:main": "cross-env NODE_ENV=development yarn build:main --watch", "dev:renderer": "concurrently 'yarn typedef:sass --watch' 'cross-env NODE_ENV=development yarn webpack serve -c source/renderer/webpack.config.js --progress'", "build": "yarn build:cleanup && yarn build:main && yarn build:renderer", @@ -46,14 +46,15 @@ "prettier:format": "yarn prettier --write --loglevel warn", "stylelint": "./node_modules/.bin/stylelint \"**/*.scss\"", "stylelint:fix": "yarn stylelint --fix", - "manage:translations": "gulp purge:translations && gulp clear:cache && gulp build && ts-node ./translations/translation-runner.ts", + "manage:translations": "yarn clear:translations && yarn clear:cache && yarn build && ts-node ./translations/translation-runner.ts", "storybook": "start-storybook -p 6006 -c storybook --ci /", "storybook:build": "build-storybook -c storybook -o dist/storybook", "storybook:build:chromatic": "build-storybook -c storybook", "themes:check:createTheme": "gulp build:themes && ts-node -r esm ./dist/scripts/check.js", "themes:update": "gulp build:themes && ts-node -r esm ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", "themes:copy": "ts-node -r @babel/register -r @babel/polyfill source/renderer/app/themes/utils/copyTheme.ts && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", - "clear:cache": "gulp clear:cache", + "clear:cache": "rimraf ./node_modules/.cache", + "clear:translations": "rimraf ./translations/messages", "nix:alonzo_purple": "./nix/yarn-nix-shell.sh alonzo_purple alonzo_purple", "nix:mainnet": "./nix/yarn-nix-shell.sh mainnet mainnet", "nix:flight": "./nix/yarn-nix-shell.sh mainnet mainnet_flight",