Skip to content

Commit

Permalink
Resolves issue with build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankush Mehta committed Feb 13, 2019
1 parent ea51d3c commit 52cb69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ Use the package manager [npm](https://www.npmjs.com/) to install `RangeCollectio
- `npm install` - Install dependencies
- `npm run clean` - Remove `lib/` directory
- `npm test` - Run tests with linting and coverage results.
- `npm test:only` - Run tests without linting or coverage.
- `npm test:watch` - You can even re-run tests on file changes!
- `npm test:prod` - Run tests with minified code.
- `npm run test:examples` - Test written examples on pure JS for better understanding module usage.
- `npm run lint` - Run ESlint with airbnb-config
- `npm run cover` - Get coverage report for your code.
- `npm run build` - Babel will transpile ES6 => ES5 and minify the code.
- `npm run prepublish` - Hook for npm. Do all the checks before publishing your module.

# License
MIT © Ankush Mehta
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:watch": "npm test -- --watch",
"test:examples": "node examples/",
"cover": "istanbul cover _mocha -- --require babel-core/register --require babel-polyfill --recursive",
"lint": "eslint src test",
"lint": "eslint src",
"build": "cross-env BABEL_ENV=production babel src --out-dir lib",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
"prepublish": "npm run clean && npm run lint && npm run test && npm run build"
Expand Down

0 comments on commit 52cb69d

Please sign in to comment.