Skip to content

Commit f5f0a29

Browse files
committed
fix: publish
1 parent dbc15e0 commit f5f0a29

File tree

3 files changed

+3466
-3173
lines changed

3 files changed

+3466
-3173
lines changed

.fatherrc-next.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
export default {
3+
platform: 'node',
4+
formats: ['cjs'],
5+
}

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
},
99
"main": "lib/index.js",
1010
"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",
1414
"lint": "eslint --ext .js src",
1515
"coveralls": "cat ./coverage/lcov.info | coveralls",
1616
"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"
1818
},
1919
"husky": {
2020
"hooks": {
@@ -36,6 +36,7 @@
3636
"devDependencies": {
3737
"@babel/core": "^7.0.0",
3838
"@babel/preset-react": "^7.0.0",
39+
"@umijs/test": "^3.2.28",
3940
"babel-core": "^7.0.0-0",
4041
"babel-preset-umi": "^1.0.0",
4142
"coveralls": "^3.0.6",
@@ -44,13 +45,13 @@
4445
"eslint-config-prettier": "^6.11.0",
4546
"eslint-plugin-import": "^2.20.2",
4647
"eslint-plugin-prettier": "^3.1.3",
48+
"father-next": "^3.0.0-alpha.3",
4749
"husky": "^4.2.5",
4850
"lint-staged": "^10.2.8",
4951
"material-ui": "^0.20.2",
5052
"np": "^6.2.0",
5153
"prettier": "^2.0.5",
52-
"react-toolbox": "^1.2.5",
53-
"umi-tools": "^0.4.0"
54+
"react-toolbox": "^1.2.5"
5455
},
5556
"babel": {
5657
"presets": [

0 commit comments

Comments
 (0)