mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
feat: add npm scripts for different package managers, ie: yarn, pnpm (#9230)
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -8,10 +8,11 @@
|
|||||||
# dependencies
|
# dependencies
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn-lock.json
|
yarn.lock
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
||||||
# IDEs and editors
|
# IDEs and editors
|
||||||
/.idea
|
.idea
|
||||||
.project
|
.project
|
||||||
.classpath
|
.classpath
|
||||||
.c9/
|
.c9/
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "git clean -f -X -d",
|
"clean": "git clean -f -X -d",
|
||||||
"setup": "npm run clean && npm i && ts-patch install && nx run core:setup",
|
"setup": "npm run clean && npm install",
|
||||||
|
"setup:yarn": "yarn run clean && yarn",
|
||||||
|
"setup:pnpm": "pnpm run clean && pnpm install",
|
||||||
|
"postinstall": "ts-patch install && nx run core:setup",
|
||||||
"start": "nps",
|
"start": "nps",
|
||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user