Use prepare instead of prepublish in package.json scripts (#278)

This commit is contained in:
Johnny Robeson 2019-02-05 20:06:36 -05:00 коммит произвёл Samuel Attard
Родитель 35e7d5db3a
Коммит 6d7ebf7aee
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -7,7 +7,7 @@
"scripts": {
"compile": "tsc",
"watch": "tsc -w",
"prepublish": "npm run compile",
"prepare": "npm run compile",
"mocha": "cross-env TS_NODE_FILES=true mocha --require ts-node/register ./test/*.ts",
"lint": "tslint --project tsconfig.json --exclude \"test/**/node_modules/**/*.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
"test": "npm run lint && npm run mocha"