UserLogin finish
Showing
.circleci/config.yml
deleted
100644 → 0
... | ... | @@ -2,13 +2,32 @@ |
"private": true, | ||
"scripts": { | ||
"dev": "cross-env PAGES_PATH='UserLogin/src' umi dev", | ||
"lint:style": "stylelint \"src/**/*.less\" --syntax less", | ||
"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-staged": "lint-staged", | ||
"lint-staged:js": "eslint --ext .js", | ||
"lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style", | ||
"lint:style": "stylelint \"src/**/*.less\" --syntax less", | ||
"prettier": "node ./_scripts/prettier.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"**/*.less": "stylelint --syntax less", | ||
"x/**/*.{js,jsx}": "npm run lint-staged:js", | ||
"x/**/*.{js,ts,tsx,json,jsx,less}": [ | ||
"node ./_scripts/lint-prettier.js", | ||
"git add" | ||
] | ||
}, | ||
"dependencies": { | ||
"cross-env": "^5.2.0" | ||
}, | ||
"peerDependencies": { | ||
"antd": "^3.16.3" | ||
}, | ||
"devDependencies": { | ||
"@types/classnames": "^2.2.7", | ||
"babel-eslint": "^10.0.1", | ||
... | ... | @@ -32,21 +51,5 @@ |
"umi-plugin-block-dev": "^2.0.2", | ||
"umi-plugin-react": "^1.3.0-0", | ||
"umi-request": "^1.0.0" | ||
}, | ||
"lint-staged": { | ||
"x/**/*.{js,ts,tsx,json,jsx,less}": [ | ||
"node ./_scripts/lint-prettier.js", | ||
"git add" | ||
], | ||
"x/**/*.{js,jsx}": "npm run lint-staged:js", | ||
"**/*.less": "stylelint --syntax less" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run lint-staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"cross-env": "^5.2.0" | ||
} | ||
} | ||
\ No newline at end of file |
Please register or sign in to comment