Commit bd910cab authored by 陈帅's avatar 陈帅

dom: add new dev function

parent 2710e0ce
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "umi dev", "dev": "PAGES_PATH='Exception500/src' umi dev",
"lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock tests && npm run lint:style", "lint": "eslint --ext .js src mock tests && npm run lint:style",
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js", "lint-staged:js": "eslint --ext .js",
"prettier": "node ./_scripts/prettier.js" "prettier": "node ./_scripts/prettier.jsy"
}, },
"devDependencies": { "devDependencies": {
"@types/classnames": "^2.2.7", "@types/classnames": "^2.2.7",
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"stylelint-config-prettier": "^4.0.0", "stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.0.0", "stylelint-config-standard": "^18.0.0",
"umi": "^2.3.0-0", "umi": "^2.3.0-0",
"umi-plugin-block-dev": "^1.0.0", "umi-plugin-block-dev": "^1.3.1",
"umi-plugin-react": "^1.3.0-0" "umi-plugin-react": "^1.3.0-0"
}, },
"lint-staged": { "lint-staged": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment