changed npm scripts

This commit is contained in:
Simon Haugen 2021-02-13 13:19:22 +01:00
parent 6d7be4f908
commit d101cfc29a

View file

@ -17,12 +17,10 @@
},
"main": "dist/index.js",
"scripts": {
"dev": "concurrently \"npm run plugin:dev\" \"npm run example:dev\"",
"build": "npm run plugin:build && npm run example:build",
"plugin:dev": "tsup src/index.ts --dts --watch",
"plugin:build": "tsup src/index.ts --dts",
"example:dev": "npm -C example run dev",
"example:build": "npm -C example run build",
"clean": "rm -rf dist",
"build": "npm run clean && tsup src/index.ts --dts",
"dev": "tsup src/index.ts --dts --watch",
"dev:client": "npm -C example run dev",
"postinstall": "cd example && npm install"
},
"peerDependencies": {