Skip to content

Commit

Permalink
Small fixes for the npm run scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sconix committed Nov 21, 2017
1 parent 17a549a commit fd18ee0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"extends": "./stylelint.json"
},
"scripts": {
"clean": "rm -rf dist",
"start": "webpack-dev-server --open --inline --config config/webpack-server-jit.config.js",
"clean": "rm -rf dist node_modules",
"lint": "npm run lint:ts && npm run lint:css",
"build": "rm -rf dist/* && npm run build:aot",
"deploy": "rm -rf dist && deploy-to-git",
"deploy": "npm run clean && deploy-to-git",
"lint:ts": "tslint -p src/tsconfig.json \"src/**/*.ts\"",
"lint:css": "stylelint --syntax css \"src/**/*.css\"",
"start:sjs": "lite-server -c config/lite-server-bs-config.js",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"extends": "./stylelint.json"
},
"scripts": {
"clean": "rm -rf dist bundles",
"start": "npm run build && npm run bundle",
"watch": "watch 'npm run start' src/",
"clean": "rm -rf dist bundles node_modules",
"watch": "watch --wait=5 'npm run start' src/",
"lint": "npm run lint:ts && npm run lint:scss",
"build": "npm run build:html && npm run build:css && npm run build:js",
"bundle": "npm run bundle:es5 ; npm run bundle:umd ; npm run minify:umd",
"prepare": "npm run build && npm run bundle",
"prepare": "npm run clean && npm run build && npm run bundle",
"lint:ts": "tslint -p src/tsconfig.json \"src/**/*.ts\"",
"lint:scss": "stylelint --syntax scss \"src/**/*.scss\"",
"build:js": "ngc -p src/tsconfig.json && ngi -c -s dist/",
Expand Down

0 comments on commit fd18ee0

Please sign in to comment.