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

Conversation

fatfisz
Copy link
Contributor

@fatfisz fatfisz commented Apr 17, 2016

Now they should work everywhere 馃槃

@hzoo hzoo merged commit e232263 into babel:master Apr 18, 2016
@hzoo
Copy link
Member

hzoo commented Apr 18, 2016

Thanks

"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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants