mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
feat: add npm scripts for different package managers, ie: yarn, pnpm (#9230)
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@ -8,10 +8,11 @@
|
||||
# dependencies
|
||||
node_modules
|
||||
package-lock.json
|
||||
yarn-lock.json
|
||||
yarn.lock
|
||||
pnpm-lock.yaml
|
||||
|
||||
# IDEs and editors
|
||||
/.idea
|
||||
.idea
|
||||
.project
|
||||
.classpath
|
||||
.c9/
|
||||
@ -50,4 +51,4 @@ Thumbs.db
|
||||
!packages/core/xml/index.js
|
||||
|
||||
# types
|
||||
ios-typings-prj
|
||||
ios-typings-prj
|
||||
|
@ -4,7 +4,10 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"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",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
|
||||
},
|
||||
|
Reference in New Issue
Block a user