Skip to content

Commit

Permalink
[DDW-596] remove some simple scripts from gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikGuzei committed Apr 19, 2022
1 parent a63390e commit 4aa0922
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
9 changes: 0 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand All @@ -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'));
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 4aa0922

Please sign in to comment.