Fix build scripts
This commit is contained in:
26
package.json
26
package.json
@ -6,16 +6,27 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "node lib/index.js",
|
||||
"install": "cd views && npm install && cd .. && git submodule init && git submodule update && cd views_repo && npm i ",
|
||||
"install": "run-s install-views install-views_repo",
|
||||
"build": "run-s build-ts build-doc build-views build-views_repo",
|
||||
"watch": "concurrently \"npm:watch-*\"",
|
||||
"build-doc": "apidoc -i src/ -p apidoc/",
|
||||
"build-ts": "tsc",
|
||||
"build": "tsc && cd views && npm run build && cd .. && cd views_repo && npm run build",
|
||||
"build-server": "tsc",
|
||||
"watch-ts": "tsc -w",
|
||||
"watch-views": "cd views && npm run watch",
|
||||
"watch-views_repo": "cd views_repo && npm run dev",
|
||||
"watch-node": "nodemon --ignore ./views lib/index.js",
|
||||
"watch": "concurrently \"npm:watch-*\""
|
||||
"install-views": "cd views && npm install",
|
||||
"build-views": "cd views && npm run build",
|
||||
"watch-views": "cd views && npm run watch",
|
||||
"install-views_repo": "git submodule init && git submodule update && cd views_repo && npm install ",
|
||||
"build-views_repo": "cd views_repo && npm run build",
|
||||
"watch-views_repo": "cd views_repo && npm run dev"
|
||||
},
|
||||
"pipelines": {
|
||||
"install": [
|
||||
"cd views && npm install",
|
||||
"git submodule init",
|
||||
"git submodule update",
|
||||
"cd views_repo && npm install"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/body-parser": "^1.19.0",
|
||||
@ -55,10 +66,11 @@
|
||||
"moment": "^2.24.0",
|
||||
"mongodb": "^3.5.4",
|
||||
"node-rsa": "^1.0.7",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"qrcode": "^1.4.4",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"speakeasy": "^2.0.0",
|
||||
"u2f": "^0.1.3",
|
||||
"uuid": "^7.0.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user