|
|
@@ -22,8 +22,8 @@
|
|
|
"webpack": "webpack serve --config webpack.config.dev.js",
|
|
|
"webpack:production": "webpack --config webpack.config.prod.js",
|
|
|
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
|
|
|
- "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx}'",
|
|
|
- "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx}'",
|
|
|
+ "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx,json}'",
|
|
|
+ "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx,json}'",
|
|
|
"format:styles": "prettier --list-different $PWD/'**/*.less'",
|
|
|
"format:styles:fix": "prettier --write $PWD/'**/*.less'",
|
|
|
"lint": "eslint --max-warnings 0 --format unix --ext .js,.mjs,.ts,.tsx .",
|