Skip to content

Commit

Permalink
Added scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sonufrienko committed Aug 18, 2018
1 parent 5fd383c commit 5a2757a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion package.json
Expand Up @@ -33,7 +33,17 @@
"url": "https://github.com/cezerin/client"
},
"scripts": {
"build": "babel src -d lib"
"build": "babel src -d lib",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"prettier": "prettier --write \"src/**/*.js\"",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
},
"dependencies": {
"isomorphic-fetch": "^2.2.1",
Expand Down

0 comments on commit 5a2757a

Please sign in to comment.