|
4 | 4 | "version": "0.1.0", |
5 | 5 | "private": true, |
6 | 6 | "dependencies": { |
7 | | - "@storybook/addon-knobs": "^5.2.1", |
8 | | - "@types/classnames": "^2.2.8", |
| 7 | + "@ant-design/compatible": "^1.0.5", |
| 8 | + "@commitlint/cli": "^9.1.1", |
| 9 | + "@commitlint/config-conventional": "^9.1.1", |
| 10 | + "@storybook/addon-knobs": "^6.0.4", |
| 11 | + "@testing-library/react": "^10.4.8", |
| 12 | + "@types/classnames": "^2.2.10", |
9 | 13 | "@types/dva": "^1.1.0", |
10 | | - "@types/enzyme": "^3.9.4", |
11 | | - "@types/enzyme-adapter-react-16": "^1.0.5", |
12 | | - "@types/jest": "^24.0.18", |
13 | | - "@types/node": "^12.7.5", |
14 | | - "@types/qs": "^6.5.3", |
| 14 | + "@types/enzyme": "^3.10.5", |
| 15 | + "@types/enzyme-adapter-react-16": "^1.0.6", |
| 16 | + "@types/jest": "^26.0.9", |
| 17 | + "@types/node": "^14.0.27", |
| 18 | + "@types/nprogress": "^0.2.0", |
| 19 | + "@types/qs": "^6.9.4", |
15 | 20 | "@types/react": "^16.9.2", |
16 | | - "@types/react-document-title": "^2.0.3", |
| 21 | + "@types/react-document-title": "^2.0.4", |
17 | 22 | "@types/react-dom": "^16.9.0", |
18 | 23 | "@types/react-infinite-scroller": "^1.2.1", |
19 | | - "@types/react-loadable": "^5.5.1", |
20 | | - "@types/redux-logger": "^3.0.7", |
| 24 | + "@types/react-loadable": "^5.5.3", |
| 25 | + "@types/react-motion": "^0.0.29", |
| 26 | + "@types/redux-logger": "^3.0.8", |
21 | 27 | "@types/storybook__addon-knobs": "^5.0.4", |
22 | | - "@types/storybook__react": "^4.0.2", |
23 | | - "antd": "^3.23.4", |
24 | | - "axios": "^0.19.0", |
| 28 | + "@types/storybook__react": "^5.2.1", |
| 29 | + "antd": "^4.5.4", |
| 30 | + "axios": "^0.19.2", |
25 | 31 | "classnames": "^2.2.6", |
| 32 | + "commitizen": "^4.1.2", |
26 | 33 | "date-fns": "^2.2.1", |
27 | 34 | "dva": "^2.4.1", |
28 | 35 | "dva-loading": "^3.0.14", |
29 | | - "enzyme": "^3.10.0", |
30 | | - "enzyme-adapter-react-16": "^1.14.0", |
31 | | - "enzyme-to-json": "^3.3.5", |
| 36 | + "enzyme": "^3.11.0", |
| 37 | + "enzyme-adapter-react-16": "^1.15.3", |
| 38 | + "enzyme-to-json": "^3.5.0", |
32 | 39 | "faker": "^4.1.0", |
33 | | - "history": "^4.10.1", |
34 | | - "jest-fetch-mock": "^2.1.2", |
35 | | - "lodash": "^4.17.11", |
| 40 | + "history": "^5.0.0", |
| 41 | + "jest-fetch-mock": "^3.0.3", |
| 42 | + "lodash": "^4.17.19", |
36 | 43 | "lodash-decorators": "^6.0.1", |
37 | | - "node-sass": "^4.12.0", |
38 | | - "path-to-regexp": "^3.1.0", |
| 44 | + "node-sass": "^4.14.1", |
| 45 | + "nprogress": "^0.2.0", |
| 46 | + "path-to-regexp": "^6.1.0", |
39 | 47 | "qs": "^6.9.0", |
40 | 48 | "query-string": "^6.8.3", |
41 | | - "react": "^16.8.6", |
| 49 | + "react": "^16.13.1", |
42 | 50 | "react-document-title": "^2.0.3", |
43 | | - "react-dom": "^16.8.6", |
| 51 | + "react-dom": "^16.13.1", |
44 | 52 | "react-hot-loader": "^4.12.14", |
45 | 53 | "react-infinite-scroller": "^1.2.4", |
46 | 54 | "react-loadable": "^5.5.0", |
47 | | - "react-test-renderer": "^16.8.6", |
| 55 | + "react-motion": "^0.5.2", |
| 56 | + "react-test-renderer": "^16.13.1", |
48 | 57 | "redux-logger": "^3.0.6", |
49 | 58 | "source-map-explorer": "^2.1.0", |
50 | 59 | "typescript": "^3.6.3" |
|
56 | 65 | "build": "react-app-rewired build", |
57 | 66 | "staging": "cross-env REACT_APP_BUILD=staging react-app-rewired start", |
58 | 67 | "test": "react-app-rewired test", |
59 | | - "jest": "CI=true react-app-rewired test", |
| 68 | + "jest": "CI=true yarn test", |
| 69 | + "jest:win": "set CI=true&&yarn test", |
| 70 | + "coverage": "npm test -- --coverage", |
60 | 71 | "tslint": "tslint --fix 'src/**/*.(ts|tsx)'", |
61 | 72 | "mock": "json-server mock/db.js", |
62 | 73 | "storybook": "start-storybook -p 9009 -s public", |
63 | 74 | "build-storybook": "build-storybook -s public" |
64 | 75 | }, |
65 | | - "husky": { |
66 | | - "hooks": { |
67 | | - "pre-commit": "lint-staged && npm run jest" |
68 | | - } |
69 | | - }, |
70 | 76 | "lint-staged": { |
71 | 77 | "*.(ts|tsx)": [ |
72 | 78 | "npm run check" |
|
82 | 88 | "not op_mini all" |
83 | 89 | ], |
84 | 90 | "devDependencies": { |
85 | | - "@storybook/addon-actions": "^5.1.9", |
86 | | - "@storybook/addon-info": "^5.1.9", |
87 | | - "@storybook/addon-links": "^5.1.9", |
88 | | - "@storybook/addons": "^5.1.9", |
89 | | - "@storybook/react": "^5.1.9", |
90 | | - "babel-plugin-import": "^1.12.0", |
91 | | - "cross-env": "^5.2.0", |
92 | | - "customize-cra": "^0.5.0", |
93 | | - "husky": "^3.0.3", |
94 | | - "lint-staged": "^9.2.1", |
| 91 | + "@storybook/addon-actions": "^6.0.4", |
| 92 | + "@storybook/addon-info": "^5.3.19", |
| 93 | + "@storybook/addon-links": "^6.0.4", |
| 94 | + "@storybook/addons": "^6.0.4", |
| 95 | + "@storybook/react": "^6.0.4", |
| 96 | + "babel-plugin-import": "^1.13.0", |
| 97 | + "cross-env": "^7.0.2", |
| 98 | + "customize-cra": "^1.0.0", |
| 99 | + "husky": "^4.2.5", |
| 100 | + "lint-staged": "^10.2.11", |
95 | 101 | "react-app-rewire-hot-loader": "^2.0.1", |
96 | | - "react-app-rewired": "^2.1.1", |
97 | | - "react-scripts": "^3.0.1", |
98 | | - "redux-mock-store": "^1.5.3", |
99 | | - "tslint": "^5.18.0", |
| 102 | + "react-app-rewired": "^2.1.6", |
| 103 | + "react-scripts": "^3.4.2", |
| 104 | + "redux-mock-store": "^1.5.4", |
| 105 | + "tslint": "^6.1.3", |
100 | 106 | "tslint-eslint-rules": "^5.4.0", |
101 | 107 | "tslint-lines-between-class-members": "^1.3.4", |
102 | | - "tslint-react": "^4.0.0", |
103 | | - "tslint-react-hooks": "^2.1.1", |
104 | | - "webpack-cli": "^3.3.5" |
| 108 | + "tslint-react": "^5.0.0", |
| 109 | + "tslint-react-hooks": "^2.2.2", |
| 110 | + "webpack-cli": "^3.3.12" |
105 | 111 | }, |
106 | 112 | "engines": { |
107 | 113 | "node": ">= 8.9.0" |
| 114 | + }, |
| 115 | + "config": { |
| 116 | + "commitizen": { |
| 117 | + "path": "./node_modules/cz-conventional-changelog" |
| 118 | + } |
108 | 119 | } |
109 | 120 | } |
0 commit comments