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