Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Make npm scripts work on Windows too. #295

Merged
merged 1 commit into from
Apr 18, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these just rely on npm to set the path and be eslint index.js babylon-to-espree test?

Copy link
Contributor Author

@fatfisz fatfisz Apr 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be even better, but then how did the current form come about?

Edit:
Tracked it down to this commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - feel free to send another PR

"preversion": "npm test"
},
"author": "Sebastian McKenzie <sebmck@gmail.com>",
Expand Down