feature(package) add yarn pnp support

This commit is contained in:
coderaiser 2018-11-29 15:57:46 +02:00
parent afa34f7bcd
commit a17cc6a94c
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View file

@ -15,3 +15,4 @@ modules/emitify
dist
dist-dev
.pnp*

View file

@ -28,3 +28,5 @@ webpack.config.js
*.cdr
*.eps
.pnp*

View file

@ -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
}
}