提交 01204a61 编写于 作者: P Phillip Johnsen

Simplify test script definition in package.json

As npm puts files from `./node_modules/.bin` in `$PATH` when running npm scripts, running bin commands from npm dependencies could be run directly, without a bin script deep inside `node_modules`.

P.S. great editor you've made so far!
上级 91338eda
......@@ -11,7 +11,7 @@
"node": ">= 0.10.0 < 0.11.0"
},
"scripts": {
"test": "node node_modules/mocha/bin/_mocha",
"test": "mocha",
"preinstall": "node build/npm/preinstall.js",
"postinstall": "npm --prefix extensions/vscode-api-tests/ install extensions/vscode-api-tests/ && npm --prefix extensions/json/ install extensions/json/ && npm --prefix extensions/typescript/ install extensions/typescript/"
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册