dom: add new dev function
Showing
{ | { | ||
"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": { | ||
... | ... |
Please register or sign in to comment