Skip to content

Commit

Permalink
added default npm scripts to generate
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayan751 committed May 15, 2019
1 parent 3132d35 commit e3df5f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions skeleton/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,11 @@
"istanbul-instrumenter-loader": "",
"opn": "",
"webpack-bundle-analyzer": "",
},
"scripts": {
"build": "gulp prebuild && webpack --env.production --env.extractCss",
"build:dev": "gulp prebuild && webpack --env.extractCss",
"analyze": "webpack --env.production --env.analyze",
"start": "gulp prebuild && webpack-dev-server --env.extractCss"
}
}

0 comments on commit e3df5f4

Please sign in to comment.