Skip to content

Commit

Permalink
Add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmusso committed Aug 29, 2017
1 parent 747c080 commit 5ee724e
Show file tree
Hide file tree
Showing 2 changed files with 323 additions and 3 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@
"coverage:travis": "babel-node ./node_modules/istanbul/lib/cli.js cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"examples:browser": "babel-node examples/server",
"examples:node": "babel-node examples/node-example",
"precommit": "lint-staged",
"prettify": "prettier --single-quote --trailing-comma all --write \"src/**/*.js\"",
"test": "NODE_TLS_REJECT_UNAUTHORIZED=0 mocha $(find src -path '*test.js') --compilers js:babel-register --recursive --reporter spec",
"test:watch": "npm run test -- --watch"
},
"lint-staged": {
"*.js": [
"npm run prettify",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/jbmusso/gremlin-javascript"
Expand Down Expand Up @@ -63,6 +71,7 @@
"gulp-rename": "^1.2.0",
"gulp-size": "^1.0.0",
"gulp-uglify": "^0.3.1",
"husky": "^0.13.4",
"istanbul": "^0.4.2",
"istanbul-coveralls": "^1.0.3",
"karma": "^0.12.31",
Expand All @@ -72,8 +81,10 @@
"karma-firefox-launcher": "^0.1.3",
"karma-mocha": "^0.1.10",
"karma-safari-launcher": "^0.1.1",
"lint-staged": "^3.6.0",
"mocha": "^1.21.4",
"mocha-lcov-reporter": "^1.2.0",
"prettier": "^1.4.2",
"rimraf": "^2.6.1",
"serve-static": "^1.5.3",
"vinyl-source-stream": "^1.0.0",
Expand Down
Loading

0 comments on commit 5ee724e

Please sign in to comment.