We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8925bcb commit 6361d3dCopy full SHA for 6361d3d
1 file changed
package.json
@@ -34,6 +34,7 @@
34
"watch": "^1.0.2"
35
},
36
"scripts": {
37
+ "prepack": "npm run build",
38
"prepublishOnly": "npm run build # runs before publish",
39
"build": "rm -rf dist/cjs && tsc --module CommonJS --outDir dist/cjs",
40
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
0 commit comments