Make npm scripts work on Windows too. (babel/babel-eslint#295)

This commit is contained in:
Rafał Ruciński 2016-04-18 03:59:08 +02:00
parent 8a089b65fb
commit 44ff360379

View File

@ -22,8 +22,8 @@
"bootstrap": "git submodule update --init && cd eslint && npm install",
"eslint": "cd eslint && mocha -c tests/lib/rules/*.js -r ../eslint-tester.js",
"test": "mocha",
"lint": "./node_modules/eslint/bin/eslint.js index.js babylon-to-espree test",
"fix": "./node_modules/eslint/bin/eslint.js index.js babylon-to-espree test --fix",
"lint": "node node_modules/eslint/bin/eslint.js index.js babylon-to-espree test",
"fix": "node node_modules/eslint/bin/eslint.js index.js babylon-to-espree test --fix",
"preversion": "npm test"
},
"author": "Sebastian McKenzie <sebmck@gmail.com>",