chore: Configurazione per pubblicazione pacchetto npm

This commit is contained in:
Maicol Battistini 2021-12-18 14:23:55 +01:00
parent 440d72ca81
commit 13a320a6ac
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
1 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,8 @@
{
"name": "openstamanager",
"version": "3.0.0",
"version": "3.0.0-dev.1",
"packageManager": "pnpm",
"private": true,
"files": [],
"scripts": {
"dev": "php artisan osm:dev-server-fix && vite",
"build": "vite build",
@ -10,7 +10,6 @@
"watch": "vite build --watch",
"serve-dev": "concurrently --raw npm:serve npm:dev",
"serve-watch": "concurrently --raw npm:serve npm:watch",
"prepublishOnly": "pnpm run build",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
@ -110,5 +109,8 @@
"typescript": "^4.5.4",
"vite": "^2.7.2",
"vite-plugin-fonts": "^0.2.2"
},
"publishConfig": {
"access": "public"
}
}