{ "private": true, "scripts": { "dev": "cross-env PAGES_PATH='EditorFlow/src' umi dev", "lint": "npm run lint:ts && npm run lint:style && npm run lint:prettier", "lint-staged": "lint-staged", "lint-staged:ts": "tslint", "lint:fix": "npm run lint:style", "lint:prettier": "check-prettier write", "lint:style": "stylelint --syntax less --fix **/**.less ", "lint:ts": "tslint -p . -c tslint.yml", "prettier": "node ./_scripts/prettier.js", "tslint": "npm run tslint:fix" }, "husky": { "hooks": { "pre-commit": "npm run lint-staged" } }, "lint-staged": { "**/*.less": "stylelint --syntax less", "**/*.{js,ts,tsx,json,jsx,less}": [ "node ./_scripts/lint-prettier.js", "git add" ], "**/*.{ts,tsx}": "npm run lint-staged:ts" }, "dependencies": { "cross-env": "^5.2.0" }, "devDependencies": { "@types/classnames": "^2.2.7", "@types/numeral": "^0.0.25", "babel-eslint": "^10.0.1", "check-prettier": "^1.0.3", "glob": "^7.1.3", "husky": "^2.2.0", "lint-staged": "^8.1.0", "prettier": "1.15.2", "stylelint": "^10.0.1", "stylelint-config-css-modules": "^1.4.0", "stylelint-config-prettier": "^5.1.0", "stylelint-config-rational-order": "^0.1.2", "stylelint-config-standard": "^18.3.0", "stylelint-declaration-block-no-ignored-properties": "^2.1.0", "stylelint-order": "^3.0.0", "tslint": "^5.12.1", "tslint-config-prettier": "^1.17.0", "tslint-eslint-rules": "^5.4.0", "tslint-react": "^3.6.0", "typescript": "^3.4.5", "umi": "^2.6.17", "umi-plugin-block-dev": "^2.0.2", "umi-plugin-react": "^1.7.6", "umi-request": "^1.0.0" }, "peerDependencies": { "antd": "^3.17.0" }, "checkFiles": [ "**/*.ts*", "**/*.less", "**/*.md" ] }