Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added clean-build npm script
  • Loading branch information
real-marco-b committed Feb 21, 2017
commit 4b835ebbc5ca2a340ced3d6b4318498cff6bc7b7
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
},
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules doc dist && npm cache clean",
"clean": "rimraf node_modules doc dist && npm cache clean && npm run clean-build",
"clean-install": "npm run clean && npm install",
"clean-start": "npm run clean-install && npm start",
"clean-build": "rimraf ./src/*.d.ts ./src/*.js ./src/*.js.maps ./ngx-your-library.js ./ngx-your-library.js.map ./ngx-your-library.d.ts",
"watch": "webpack --watch --progress --profile",
"build": "tsc --p tsconfig-build.json",
"server": "webpack-dev-server --inline --progress --port 8080",
Expand Down
3 changes: 2 additions & 1 deletion packagedev.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
},
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules doc dist && npm cache clean",
"clean": "rimraf node_modules doc dist && npm cache clean && npm run clean-build",
"clean-install": "npm run clean && npm install",
"clean-start": "npm run clean-install && npm start",
"clean-build": "rimraf ./src/*.d.ts ./src/*.js ./src/*.js.maps ./ngx-your-library.js ./ngx-your-library.js.map ./ngx-your-library.d.ts",
"watch": "webpack --watch --progress --profile",
"build": "tsc --p tsconfig-build.json",
"server": "webpack-dev-server --inline --progress --port 8080",
Expand Down