mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
refactor(angular, angular-server): add watch commands
This commit is contained in:
@ -27,6 +27,7 @@
|
|||||||
"test": "echo 'angular no tests yet'",
|
"test": "echo 'angular no tests yet'",
|
||||||
"build": "ng-packagr -p ng-package.json -c tsconfig.json",
|
"build": "ng-packagr -p ng-package.json -c tsconfig.json",
|
||||||
"build.prod": "npm run clean && npm run build",
|
"build.prod": "npm run clean && npm run build",
|
||||||
|
"build.watch": "npm run build -- --watch",
|
||||||
"clean": "rm -rf ./dist",
|
"clean": "rm -rf ./dist",
|
||||||
"lint": "eslint . --ext .ts && npm run prettier",
|
"lint": "eslint . --ext .ts && npm run prettier",
|
||||||
"lint.fix": "eslint . --ext .ts --fix && npm run prettier.fix",
|
"lint.fix": "eslint . --ext .ts --fix && npm run prettier.fix",
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
"build.core": "node scripts/build-core.js",
|
"build.core": "node scripts/build-core.js",
|
||||||
"build.link": "npm run build && node scripts/link-copy.js",
|
"build.link": "npm run build && node scripts/link-copy.js",
|
||||||
"build.ng": "ng-packagr -p ng-package.json -c tsconfig.json",
|
"build.ng": "ng-packagr -p ng-package.json -c tsconfig.json",
|
||||||
|
"build.watch": "npm run build.ng -- --watch",
|
||||||
"clean": "node scripts/clean.js",
|
"clean": "node scripts/clean.js",
|
||||||
"clean-generated": "node ./scripts/clean-generated.js",
|
"clean-generated": "node ./scripts/clean-generated.js",
|
||||||
"lint": "npm run eslint && npm run prettier -- --write --cache",
|
"lint": "npm run eslint && npm run prettier -- --write --cache",
|
||||||
|
Reference in New Issue
Block a user