瀏覽代碼

change prebublish script property

mightyplow 5 年之前
父節點
當前提交
92eb095b2a
共有 2 個文件被更改,包括 1473 次插入59 次删除
  1. 1470 57
      package-lock.json
  2. 3 2
      package.json

文件差異過大導致無法顯示
+ 1470 - 57
package-lock.json


+ 3 - 2
package.json

@@ -20,7 +20,7 @@
     "build-es5": "npm run compile-es5",
     "prebuild": "rm -rf dist",
     "build": "npm run build-es6 && npm run build-es5 && npm run uglify-es5",
-    "prepublish": "npm run test",
+    "prepublishOnly": "npm run test",
     "test": "mocha -r ts-node/register tests/**/*.test.ts"
   },
   "keywords": [
@@ -37,6 +37,7 @@
     "mocha": "^6.2.2",
     "terser": "^4.3.9",
     "ts-node": "^8.4.1",
-    "typescript": "^3.6.4"
+    "typescript": "^3.6.4",
+    "typings": "^2.1.1"
   }
 }