fix: pretter layout/basiclayout.js format code style
Showing
This diff is collapsed.
... | ... | @@ -19,7 +19,7 @@ |
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js", | ||
"preinstall": "npm run npmcheckversion", | ||
"prebuild": "npm run build:clean", | ||
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout", | ||
"build": "cross-env NODE_ENV=production node internals/webpack/build.js", | ||
"build:clean": "rimraf ./build", | ||
"start": "cross-env NODE_ENV=development node server --port=$port", | ||
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", | ||
... | ... | @@ -41,10 +41,11 @@ |
"lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts", | ||
"lint:eslint:fix": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts --fix", | ||
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", | ||
"lint:js": "npm run lint:eslint -- . ", | ||
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src ", | ||
"lint:prettier": "prettier -c ./src/**/*.js", | ||
"lint:staged": "lint-staged", | ||
"pretest": "npm run test:clean && npm run lint", | ||
"prettier": "prettier -c --write \"src/**/*\"", | ||
"prettier": "prettier --write ./src/**/*.js", | ||
"test:clean": "rimraf ./coverage", | ||
"test": "cross-env NODE_ENV=test jest --coverage", | ||
"test:watch": "cross-env NODE_ENV=test jest --watchAll", | ||
... | ... | @@ -219,7 +220,7 @@ |
"postcss-safe-parser": "4.0.2", | ||
"pre-commit": "1.2.2", | ||
"prettier": "1.17.0", | ||
"qiankun": "^2.2.4-1", | ||
"qiankun": "^2.2.4", | ||
"qs": "^6.9.0", | ||
"react": "^16.8.6", | ||
"react-app-polyfill": "0.2.2", | ||
... | ... |
Please
register
or
sign in
to comment