aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-01-10 16:54:23 +0100
committerGitHub <[email protected]>2022-01-10 10:54:23 -0500
commitd23305538d9cc3c6979747b451f434da83ea2ef6 (patch)
tree9adf66d295634c8e6caed358ed7397790fc88de6 /package.json
parentbc64805d8396c0a4b74cb51c2d3cc193c16b8a36 (diff)
downloadfaker-d23305538d9cc3c6979747b451f434da83ea2ef6.tar.xz
faker-d23305538d9cc3c6979747b451f434da83ea2ef6.zip
chore: add prettier (#40)
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 8479c030..27b609bb 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,7 @@
"scripts": {
"browser": "./node_modules/.bin/gulp browser",
"jsdoc": "./node_modules/.bin/gulp jsdoc",
+ "format": "prettier --write .",
"lint": "node_modules/.bin/eslint ./lib/animal.js",
"test": "node_modules/.bin/mocha test/*.*.js",
"coverage": "nyc report --reporter=text-lcov | coveralls"
@@ -44,13 +45,13 @@
"devDependencies": {
"browserify": "^16.5.2",
"coveralls": "^3.1.0",
+ "eslint": "^6.5.1",
"gulp": "^4.0.2",
"gulp-gh-pages": "^0.5.4",
"gulp-jsdoc3": "^3.0.0",
"gulp-mustache": "^5.0.0",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2",
- "eslint": "^6.5.1",
"ink-docstrap": "1.1.4",
"jsdoc": "^3.4.0",
"lint-staged": "^9.4.2",
@@ -59,6 +60,7 @@
"node-minify": "*",
"nyc": "^15.1.0",
"optimist": "0.3.5",
+ "prettier": "2.5.1",
"sinon": "^9.0.3",
"through2": "2.0.0",
"vinyl-buffer": "^1.0.1",