Add prepack script
This commit is contained in:
parent
2f3c51c7d3
commit
dea4b446aa
|
@ -9,6 +9,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepack": "npm run build",
|
||||||
"build": "tsc --p ./tsconfig.build.json && vite build",
|
"build": "tsc --p ./tsconfig.build.json && vite build",
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
"preview": "npx http-server ./storybook-static",
|
"preview": "npx http-server ./storybook-static",
|
||||||
|
|
Loading…
Reference in New Issue