|
11 | 11 | "docker-prod:dev": "docker compose -f ./docker/docker-compose.yml up", |
12 | 12 | "docker:build": "docker compose -f ./docker/docker-compose.dev.yml build", |
13 | 13 | "docker:dev": "docker compose -f ./docker/docker-compose.dev.yml up", |
14 | | - "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", |
| 14 | + "docker:push": "yarn docker-hub:build && yarn docker:tag && docker push antdesign/ant-design-pro", |
15 | 15 | "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro", |
16 | 16 | "functions:build": "yarn run generateMock && netlify dev", |
17 | 17 | "netlify:dev": "netlify dev", |
18 | 18 | "generateMock": "node ./scripts/generateMock", |
19 | | - "lint": "eslint --ext .js src mock tests && npm run lint:style && npm run lint:prettier", |
| 19 | + "lint": "eslint --ext .js src mock tests && yarn lint:style && yarn lint:prettier", |
20 | 20 | "lint-staged": "lint-staged", |
21 | 21 | "lint-staged:js": "eslint --ext .js", |
22 | 22 | "lint:fix": "eslint --fix --ext .js src mock tests && stylelint --fix 'src/**/*.less' --syntax less", |
|
29 | 29 | "test": "umi test", |
30 | 30 | "test:all": "node ./tests/run-tests.js", |
31 | 31 | "test:component": "umi test ./src/components", |
32 | | - "tslint": "npm run tslint:fix", |
| 32 | + "tslint": "yarn tslint:fix", |
33 | 33 | "tslint:fix": "tslint --fix 'src/**/*.ts*'" |
34 | 34 | }, |
35 | 35 | "husky": { |
|
90 | 90 | "validator": "^13.7.0" |
91 | 91 | }, |
92 | 92 | "devDependencies": { |
| 93 | + "glob":"^9.0.0", |
93 | 94 | "@types/history": "^4.7.2", |
94 | 95 | "@types/react": "^16.8.1", |
95 | 96 | "@types/react-dom": "^16.0.11", |
96 | | - "glob": "^9.0.0", |
97 | 97 | "@umijs/preset-react": "^1.2.2", |
98 | 98 | "antd-pro-merge-less": "^1.0.0", |
99 | 99 | "antd-theme-webpack-plugin": "^1.2.0", |
100 | | - "babel-eslint": "^10.0.1", |
| 100 | + "babel-eslint": "^10.1.0", |
101 | 101 | "chalk": "^2.4.2", |
102 | 102 | "check-prettier": "^1.0.1", |
103 | 103 | "cross-env": "^5.2.0", |
104 | 104 | "cross-port-killer": "^1.0.1", |
105 | 105 | "enzyme": "^3.9.0", |
106 | | - "eslint": "^5.13.0", |
107 | | - "eslint-config-airbnb": "^17.1.0", |
108 | | - "eslint-config-prettier": "^4.1.0", |
109 | | - "eslint-plugin-babel": "^5.3.0", |
110 | | - "eslint-plugin-compat": "^2.6.3", |
111 | | - "eslint-plugin-import": "2.20.1", |
112 | | - "eslint-plugin-jsx-a11y": "^6.2.1", |
113 | | - "eslint-plugin-markdown": "^2.2.0", |
114 | | - "eslint-plugin-react": "^7.12.4", |
| 106 | + "eslint": "^8.57.1", |
| 107 | + "eslint-config-airbnb": "^19.0.4", |
| 108 | + "eslint-config-prettier": "^9.0.0", |
| 109 | + "eslint-plugin-babel": "^6.0.0", |
| 110 | + "eslint-plugin-compat": "^4.0.0", |
| 111 | + "eslint-plugin-import": "2.31.0", |
| 112 | + "eslint-plugin-jsx-a11y": "^6.8.0", |
| 113 | + "eslint-plugin-markdown": "^3.0.0", |
| 114 | + "eslint-plugin-react": "^7.32.2", |
115 | 115 | "faker": "^4.1.0", |
116 | 116 | "gh-pages": "^6.1.1", |
117 | 117 | "husky": "^4.2.5", |
|
0 commit comments