mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
chore: add prettier-standard
This commit is contained in:
1 parent
f037080a39
commit
50db36a745
2 files changed
+585
-30
No files matched your search
+5
-5
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user