This repository was archived by the owner on Oct 3, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ * text eol =lf
Original file line number Diff line number Diff line change @@ -12,3 +12,16 @@ Frontend development is supported by watching the source code and continuously r
1212.. code-block :: bash
1313
1414 $ npm start
15+
16+ Windows uses slightly different scripts. This will build the JavaScript app in Windows:
17+
18+ .. code-block :: powershell
19+
20+ $ npm install
21+ $ npm run buildwin
22+
23+ This will start the code watch and rebuild script in Windows:
24+
25+ .. code-block :: powershell
26+
27+ $ npm run startwin
Original file line number Diff line number Diff line change 99 "scripts" : {
1010 "prestart" : " npm install" ,
1111 "start" : " NODE_ENV=development webpack --watch" ,
12+ "startwin" : " SET NODE_ENV=development & webpack --watch" ,
1213 "webpack" : " webpack -p --config ./webpack.config.js" ,
1314 "build" : " NODE_ENV=production npm run webpack" ,
15+ "buildwin" : " SET NODE_ENV=production & npm run webpack" ,
1416 "prewebpack" : " npm run clean" ,
1517 "lint" : " eslint ./src/**/*.js" ,
1618 "clean" : " rimraf $npm_package_config_buildDir && mkdir $npm_package_config_buildDir"
You can’t perform that action at this time.
0 commit comments