Use prepare instead of prepublish in package.json scripts (#278)
This commit is contained in:
Родитель
35e7d5db3a
Коммит
6d7ebf7aee
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче