chore: add prettier-standard

This commit is contained in:
Mohammad Rajabifard committed 2017-09-14 23:46:01 +04:30
1 parent f037080a39
commit 50db36a745
2 files changed
+585 -30

No files matched your search

+5 -5
View File
@@ -5,19 +5,18 @@
"main": "index.js",
"scripts": {
"start": "next start",
"build": "rm -rf out && next build && next export -o transform && cp ./.next/service-worker.js ./transform/service-worker.js",
"build":
"rm -rf out && next build && next export -o transform && cp ./.next/service-worker.js ./transform/service-worker.js",
"dev": "next dev",
"addContributor": "all-contributors add",
"analyze": "cross-env ANALYZE=1 next build",
"format": "prettier --write **/*.js",
"format": "prettier-standard **/*.js",
"deploy": "yarn build && cd transform && now",
"test": "echo \"Error: no test specified\" && exit 1",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,json,css}": [
"git add"
]
"**/*.{js,json,css}": ["prettier-standard", "git add"]
},
"keywords": [],
"author": {
@@ -76,6 +75,7 @@
"husky": "^0.14.3",
"lint-staged": "^4.1.3",
"prettier": "^1.6.1",
"prettier-standard": "^6.0.0",
"style-loader": "^0.18.2",
"sw-precache-webpack-plugin": "^0.11.4",
"webpack-bundle-analyzer": "^2.9.0",
+580 -25
View File
File diff suppressed because it is too large. Load diff