Simplify prettier command
This commit is contained in:
5
.prettierrc.yml
Normal file
5
.prettierrc.yml
Normal file
@ -0,0 +1,5 @@
|
||||
trailingComma: all
|
||||
printWidth: 140
|
||||
tabWidth: 4
|
||||
arrowParens: always
|
||||
bracketSpacing: true
|
@ -14,7 +14,7 @@
|
||||
"webpack": "rimraf ./build && webpack",
|
||||
"demo": "npm run build && node ./demo",
|
||||
"typedoc": "npm run build && typedoc --out docs/ src/ --module commonjs --target ES6 --disableOutputCheck",
|
||||
"style": "prettier -l --trailing-comma all --print-width 140 --arrow-parens always \"src/**/*.ts\"",
|
||||
"style": "prettier -l \"src/**/*.ts\"",
|
||||
"fix-types": "node types-absolute-fixer.js"
|
||||
},
|
||||
"files": [
|
||||
|
Reference in New Issue
Block a user