Quellcode durchsuchen

add build script

nicejs-is-cool vor 3 Jahren
Ursprung
Commit
36b95873a7
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      package.json

+ 4 - 1
package.json

@@ -12,7 +12,10 @@
   "repository": "https://github.com/Mantaseus/peerjs-on-node",
   "author": "Mantaseus",
   "license": "MIT",
-  "scripts": {},
+  "scripts": {
+    "postinstall": "npm run build",
+    "build": "node build.js"
+  },
   "main": "index.js",
   "devDependencies": {
     "parcel": "^1.12.3"