Correct prepublish script

This commit is contained in:
Jake Howard 2018-05-04 20:56:34 +01:00
parent 0c763cafd3
commit ee45331b4d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,7 +8,7 @@
}, },
"scripts": { "scripts": {
"start": "node ./dist/index.js", "start": "node ./dist/index.js",
"prepublish": "npm run build", "prepublishOnly": "npm run build",
"build": "tsc", "build": "tsc",
"test": "npm run lint && npm run mocha", "test": "npm run lint && npm run mocha",
"mocha": "mocha --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts", "mocha": "mocha --require scripts/test-helper.js --recursive --bail tests/**/*.test.ts tests/*.test.ts",