Add prepack script

This commit is contained in:
Arnaud 2024-08-30 16:14:13 +02:00
parent 2f3c51c7d3
commit dea4b446aa
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
1 changed files with 1 additions and 0 deletions

View File

@ -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",