changed npm scripts
This commit is contained in:
parent
6d7be4f908
commit
d101cfc29a
1 changed files with 4 additions and 6 deletions
10
package.json
10
package.json
|
@ -17,12 +17,10 @@
|
||||||
},
|
},
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently \"npm run plugin:dev\" \"npm run example:dev\"",
|
"clean": "rm -rf dist",
|
||||||
"build": "npm run plugin:build && npm run example:build",
|
"build": "npm run clean && tsup src/index.ts --dts",
|
||||||
"plugin:dev": "tsup src/index.ts --dts --watch",
|
"dev": "tsup src/index.ts --dts --watch",
|
||||||
"plugin:build": "tsup src/index.ts --dts",
|
"dev:client": "npm -C example run dev",
|
||||||
"example:dev": "npm -C example run dev",
|
|
||||||
"example:build": "npm -C example run build",
|
|
||||||
"postinstall": "cd example && npm install"
|
"postinstall": "cd example && npm install"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|
Loading…
Reference in a new issue