File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 35
35
"commit" : " git-cz" ,
36
36
"docs" : " typedoc" ,
37
37
"format" : " npm run format:js && npm run format:ts" ,
38
- "format:ts " : " prettier-eslint ./bin/*.js ./bin/**/*.js ./test/**/*.js ./packages/**/**/*.js ./packages/**/*.js --write" ,
39
- "format:js " : " prettier-eslint ./packages/**/**/*.ts ./packages/**/*.ts ./packages/**/**/**/*.ts --write" ,
38
+ "format:js " : " prettier-eslint ./bin/*.js ./bin/**/*.js ./test/**/*.js ./packages/**/**/*.js ./packages/**/*.js --write" ,
39
+ "format:ts " : " prettier-eslint ./packages/**/**/*.ts ./packages/**/*.ts ./packages/**/**/**/*.ts --write" ,
40
40
"lint" : " eslint \" ./bin/*.js\" \" ./bin/**/*.js\" \" ./test/**/*.js\" \" packages/**/!(node_modules)/*.ts\" \" packages/**/!(node_modules)/**/*.ts\" " ,
41
41
"postinstall" : " node ./bin/opencollective.js" ,
42
42
"pretest" : " npm run build && npm run lint" ,
63
63
"{packages,bin}/**/!(__testfixtures__)/**.js" : [
64
64
" eslint --fix" ,
65
65
" git add"
66
+ ],
67
+ "*.ts" : [
68
+ " npm run format:ts" ,
69
+ " got add"
70
+ ],
71
+ "*.js" : [
72
+ " npm run format:js" ,
73
+ " got add"
66
74
]
67
75
},
68
76
"jest" : {
You can’t perform that action at this time.
0 commit comments