Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regex, tidy up npm scripts #5

Merged
merged 2 commits into from
Jul 13, 2017
Merged

Fix regex, tidy up npm scripts #5

merged 2 commits into from
Jul 13, 2017

Conversation

rbrtsmith
Copy link

@rbrtsmith rbrtsmith self-assigned this Jul 12, 2017
@rbrtsmith rbrtsmith requested a review from Ehesp July 12, 2017 08:58
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling c3078bd on fix-linting-error into ** on master**.

@rbrtsmith rbrtsmith changed the title fix regex, tidy up npm scripts Fix regex, tidy up npm scripts Jul 12, 2017
package.json Outdated
"lint": "./node_modules/.bin/eslint ./src",
"test": "./node_modules/.bin/babel-node -- ./node_modules/.bin/babel-istanbul cover --report lcov _mocha "
"lint": "eslint ./src",
"test": "babel-node -- ./node_modules/.bin/babel-istanbul cover --report lcov _mocha "
Copy link
Member

@Ehesp Ehesp Jul 13, 2017

Choose a reason for hiding this comment

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

Should be fine to remove ./node_modules/.bin for babel-istanbul too

Copy link
Author

Choose a reason for hiding this comment

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

I tried that and it breaks the script. I think this is due to it not been called from an npm run command. My understanding is that here the output from babel-node (replaced with node in the other PR #7) pipes it's output to Istanbul?

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes, so it does. Once everything is sorted es6 wise we can review the tests/coverage etc.

@rbrtsmith rbrtsmith changed the base branch from master to develop July 13, 2017 08:04
@rbrtsmith rbrtsmith merged commit 8ef3d40 into develop Jul 13, 2017
@rbrtsmith rbrtsmith deleted the fix-linting-error branch July 13, 2017 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants