Skip to content

Commit d152876

Browse files
committed
chore: np => rc-np
1 parent 315b6b2 commit d152876

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"start": "dumi dev",
3434
"build": "dumi build",
3535
"compile": "father build && lessc assets/index.less assets/index.css",
36-
"bakpublishOnly": "npm run compile && np --yolo --no-publish",
37-
"prepublishOnly": "npm run compile",
36+
"prepublishOnly": "npm run compile && rc-np",
3837
"lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
3938
"test": "rc-test",
4039
"coverage": "rc-test --coverage",
@@ -43,6 +42,7 @@
4342
"devDependencies": {
4443
"@ant-design/tools": "^18.0.2",
4544
"@rc-component/father-plugin": "^1.0.0",
45+
"@rc-component/np": "^1.0.0",
4646
"@testing-library/jest-dom": "^6.1.4",
4747
"@testing-library/react": "^16.0.0",
4848
"@types/classnames": "^2.2.10",
@@ -57,7 +57,6 @@
5757
"father": "^4.0.0",
5858
"jest-canvas-mock": "^2.5.2",
5959
"less": "^4.2.0",
60-
"np": "^10.0.5",
6160
"rc-test": "^7.0.13",
6261
"react": "^18.0.0",
6362
"react-dom": "^18.0.0",

0 commit comments

Comments
 (0)