|
8 | 8 | }, |
9 | 9 | "main": "lib/index.js", |
10 | 10 | "scripts": { |
11 | | - "build": "umi-tools build", |
12 | | - "test": "umi-tools test --coverage", |
13 | | - "debug": "umi-tools test", |
| 11 | + "build": "father-next", |
| 12 | + "test": "umi-test --coverage", |
| 13 | + "debug": "umi-test", |
14 | 14 | "lint": "eslint --ext .js src", |
15 | 15 | "coveralls": "cat ./coverage/lcov.info | coveralls", |
16 | 16 | "prepack": "npm run build", |
17 | | - "prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish" |
| 17 | + "prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish --any-branch" |
18 | 18 | }, |
19 | 19 | "husky": { |
20 | 20 | "hooks": { |
|
36 | 36 | "devDependencies": { |
37 | 37 | "@babel/core": "^7.0.0", |
38 | 38 | "@babel/preset-react": "^7.0.0", |
| 39 | + "@umijs/test": "^3.2.28", |
39 | 40 | "babel-core": "^7.0.0-0", |
40 | 41 | "babel-preset-umi": "^1.0.0", |
41 | 42 | "coveralls": "^3.0.6", |
|
44 | 45 | "eslint-config-prettier": "^6.11.0", |
45 | 46 | "eslint-plugin-import": "^2.20.2", |
46 | 47 | "eslint-plugin-prettier": "^3.1.3", |
| 48 | + "father-next": "^3.0.0-alpha.3", |
47 | 49 | "husky": "^4.2.5", |
48 | 50 | "lint-staged": "^10.2.8", |
49 | 51 | "material-ui": "^0.20.2", |
50 | 52 | "np": "^6.2.0", |
51 | 53 | "prettier": "^2.0.5", |
52 | | - "react-toolbox": "^1.2.5", |
53 | | - "umi-tools": "^0.4.0" |
| 54 | + "react-toolbox": "^1.2.5" |
54 | 55 | }, |
55 | 56 | "babel": { |
56 | 57 | "presets": [ |
|
0 commit comments