We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 544df8b commit 650e66fCopy full SHA for 650e66f
1 file changed
package.json
@@ -6,7 +6,10 @@
6
"scripts": {
7
"build": "babel src --out-dir dist",
8
"lint": "eslint --ignore-path .gitignore .",
9
- "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json)\""
+ "prettier": "prettier --ignore-path .gitignore \"**/*.+(js|json)\"",
10
+ "format": "npm run prettier -- --write",
11
+ "check-format": "npm run prettier -- --list-different",
12
+ "validate": "npm run check-format && npm run lint && npm run build"
13
},
14
"devDependencies": {
15
"@babel/cli": "^7.7.0",
0 commit comments