|
39 | 39 | "start": "tsc -w --preserveWatchOutput", |
40 | 40 | "prebuild": "rimraf dist tsconfig.tsbuildinfo", |
41 | 41 | "build": "tsc", |
| 42 | + "pretest": "npm run build && taro build --type weapp", |
| 43 | + "test": "jest", |
| 44 | + "test:watch": "jest --watch", |
42 | 45 | "prepublishOnly": "npm run build", |
43 | 46 | "release": "np" |
44 | 47 | }, |
45 | 48 | "dependencies": { |
| 49 | + "@antv/f2": "^3.7.0", |
| 50 | + "@tarojsx/polyfill": "^0.16.0", |
46 | 51 | "@types/react-window": "^1.8.2", |
47 | 52 | "@types/react-window-infinite-loader": "^1.0.3", |
| 53 | + "async-retry": "^1.3.1", |
| 54 | + "fast-deep-equal": "^3.1.3", |
48 | 55 | "react-spring": "^9.0.0-rc.3", |
49 | 56 | "react-use-gesture": "^7.0.15", |
50 | 57 | "react-vtree": "^1.0.2", |
|
53 | 60 | "tslib": "^2.0.0" |
54 | 61 | }, |
55 | 62 | "devDependencies": { |
56 | | - "@commitlint/cli": "^8.3.5", |
57 | | - "@commitlint/config-conventional": "^8.3.4", |
58 | | - "@tarojs/components": "^3.0.0-rc.0", |
59 | | - "@tarojs/taro": "^3.0.0-rc.0", |
60 | | - "@types/react": "^16.9.35", |
61 | | - "np": "^6.2.3", |
| 63 | + "@babel/preset-typescript": "^7.10.4", |
| 64 | + "@minapp/wx": "^2.2.1", |
| 65 | + "@commitlint/cli": "^9.0.1", |
| 66 | + "@commitlint/config-conventional": "^9.0.1", |
| 67 | + "@tarojs/mini-runner": "^3.0.2", |
| 68 | + "@tarojs/react": "^3.0.2", |
| 69 | + "@tarojs/runtime": "^3.0.2", |
| 70 | + "@tarojs/components": "^3.0.2", |
| 71 | + "@tarojs/taro": "^3.0.2", |
| 72 | + "@tarojs/webpack-runner": "^3.0.2", |
| 73 | + "@types/async-retry": "^1.4.2", |
| 74 | + "@types/classnames": "^2.2.10", |
| 75 | + "@types/jest": "^26.0.3", |
| 76 | + "@types/react": "^16.9.41", |
| 77 | + "babel-preset-taro": "^3.0.0-rc.6", |
| 78 | + "jest": "^26.1.0", |
| 79 | + "miniprogram-automator": "^0.9.1", |
| 80 | + "np": "^6.3.1", |
| 81 | + "react": "^16.13.1", |
62 | 82 | "react-calendar": "^3.1.0", |
63 | 83 | "rimraf": "^3.0.2", |
64 | 84 | "taro-ui": "^2.3.4", |
65 | | - "typescript": "^3.9.3" |
| 85 | + "typescript": "^3.9.6", |
| 86 | + "webpack": "^4.43.0", |
| 87 | + "webpack-chain": "^6.4.0" |
| 88 | + }, |
| 89 | + "jest": { |
| 90 | + "testRegex": "/test/.*\\.test\\.[t]sx?$", |
| 91 | + "watchPathIgnorePatterns": [ |
| 92 | + ".+\\.js(on)$", |
| 93 | + "/config|dist|src/" |
| 94 | + ] |
66 | 95 | }, |
67 | 96 | "husky": { |
68 | 97 | "hooks": { |
|
0 commit comments