Skip to content

Commit

Permalink
Added lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen van der Heijden committed Sep 7, 2018
1 parent c4ec5db commit 56e1500
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
language: node_js
node_js:
- "node"

script:
- npm run lint
- npm test
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "lib/index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --require @babel/register",
"lint": "./node_modules/.bin/eslint ./src/*.js --color",
"build:dev": "./node_modules/.bin/webpack -d --progress --profile --colors",
"build:prod": "NODE_ENV='production' ./node_modules/.bin/webpack -p --progress --profile --colors",
"babel": "npx babel src --out-dir lib && cp src/index.d.ts lib/ && echo \">WARNING: This \\`lib\\` folder is generated with \\`npm run babel\\` and should not be modified!\" > lib/README.md "
Expand Down

0 comments on commit 56e1500

Please sign in to comment.