summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5555d58..cd206e4 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"types": "dist/lib.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "webpack --mode production"
+ "build": "webpack --mode production",
+ "prepublish": "npm run build"
},
"author": "TheMas3212",
"license": "MIT",