Skip to content

Commit 55f6571

Browse files
authored
Merge pull request #512 from react-component/fix/ci
fix: ci error
2 parents 6313fa6 + 8fb141c commit 55f6571

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"build": "dumi build",
3131
"compile": "father build && lessc assets/index.less assets/index.css",
3232
"gh-pages": "npm run build && father doc deploy",
33-
"prepublishOnly": "npm run compile && np --yolo --no-publish",
33+
"prepublishOnly": "npm run compile && np --yolo --no-publish --branch 2.x",
3434
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
3535
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
3636
"test": "father test",
@@ -56,8 +56,8 @@
5656
"@types/enzyme": "^3.10.3",
5757
"@types/jest": "^26.0.0",
5858
"@types/keyv": "3.1.4",
59-
"@types/react": "^17.0.11",
60-
"@types/react-dom": "^17.0.8",
59+
"@types/react": "^16.9.2",
60+
"@types/react-dom": "^16.9.0",
6161
"@types/shallowequal": "^1.1.1",
6262
"@umijs/fabric": "^2.0.8",
6363
"coveralls": "^3.0.6",

0 commit comments

Comments
 (0)