Skip to content

Commit

Permalink
Update eslint script
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Dec 27, 2017
1 parent 4acfeff commit 5e03338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -8,13 +8,13 @@
"lib"
],
"scripts": {
"prepublish": "npm run lint && npm test && npm run clean && npm run build && npm run build-examples",
"prepublish": "npm run eslint && npm test && npm run clean && npm run build && npm run build-examples",
"build": "webpack && npm run cleancss",
"build-examples": "cd examples; webpack",
"clean": "rm -f {lib,dist}/*",
"cleancss": "cleancss -o dist/react-radio-button.min.css dist/react-radio-button.css",
"demo": "http-server -p 8000 docs/",
"lint": "eslint ./src ./test",
"eslint": "eslint --ext .js --ext .jsx examples src test",
"test": "tap test/*.js --node-arg=--require --node-arg=babel-register --node-arg=--require --node-arg=babel-polyfill",
"coveralls": "tap test/*.js --coverage --coverage-report=text-lcov --nyc-arg=--require --nyc-arg=babel-register --nyc-arg=--require --nyc-arg=babel-polyfill | coveralls",
"dev": "cd examples; webpack-dev-server --hot --inline --host 0.0.0.0 --port 8000 --content-base ../docs"
Expand Down

0 comments on commit 5e03338

Please sign in to comment.