Add prepublish scripts for packages

This commit is contained in:
Jade Ellis
2024-08-25 03:15:27 +01:00
parent 4c466c38b1
commit 0d2d1d7c03
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"prepublish": "rollup -c",
"dev": "rollup -c -w", "dev": "rollup -c -w",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
@@ -12,6 +12,7 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"build": "rollup -c", "build": "rollup -c",
"prepublish": "rollup -c",
"dev": "rollup -c -w", "dev": "rollup -c -w",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },