mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-22 18:29:26 +00:00
feature(package) add yarn pnp support
This commit is contained in:
parent
afa34f7bcd
commit
a17cc6a94c
3 changed files with 7 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,3 +15,4 @@ modules/emitify
|
|||
dist
|
||||
dist-dev
|
||||
|
||||
.pnp*
|
||||
|
|
|
|||
|
|
@ -28,3 +28,5 @@ webpack.config.js
|
|||
*.cdr
|
||||
*.eps
|
||||
|
||||
.pnp*
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "node bin/cloudcmd.js",
|
||||
"start:pnp": "node -r ./.pnp bin/cloudcmd.js",
|
||||
"start:dev": "NODE_ENV=development node bin/cloudcmd.js",
|
||||
"build:start": "redrun build:client start",
|
||||
"build:start:dev": "redrun build:client:dev start:dev",
|
||||
|
|
@ -241,5 +242,8 @@
|
|||
"main": "server/cloudcmd.js",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"installConfig": {
|
||||
"pnp": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue