mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
Remove 'live reload' from default 'npm start'
- `npm start` now runs demo shell without TS watchers and live reload (public/testing mode) - new `npm run start:dev` script to run ‘development’ mode with watchers and live reload
This commit is contained in:
@@ -6,11 +6,13 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
"clean": "npm install rimraf && rimraf dist node_modules typings",
|
||||||
"build": "npm run tslint && npm run tsc && npm run licensecheck",
|
"build": "npm run tslint && npm run tsc && npm run licensecheck",
|
||||||
"start": "npm run build && concurrently \"npm run tsc:w\" \"npm run serve\" ",
|
"start": "npm run build && npm run serve",
|
||||||
|
"start:dev": "npm run build && concurrently \"npm run tsc:w\" \"npm run serve:dev\" ",
|
||||||
"aws": "node app.js",
|
"aws": "node app.js",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"serve": "wsrv -O http://localhost:3000 -s -l -p 3000 -a 0.0.0.0 -x ./server/versions.js",
|
"serve": "wsrv -O http://localhost:3000 -s -p 3000 -a 0.0.0.0 -x ./server/versions.js",
|
||||||
|
"serve:dev": "wsrv -O http://localhost:3000 -s -l -p 3000 -a 0.0.0.0 -x ./server/versions.js",
|
||||||
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json 'app/{,**/}**.ts'",
|
"tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json 'app/{,**/}**.ts'",
|
||||||
"licensecheck": "license-check"
|
"licensecheck": "license-check"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user