diff --git a/package.json b/package.json index f2e1a66ac..43ee24495 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rc-component/table", - "version": "1.0.0", + "version": "1.0.2", "description": "table ui component for react", "engines": { "node": ">=8.x" @@ -42,7 +42,7 @@ "prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"", "test": "vitest --watch false", "coverage": "vitest run --coverage", - "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", + "prepublishOnly": "npm run compile && rc-np", "lint": "eslint src/ --ext .tsx,.ts", "tsc": "tsc -p tsconfig.json --noEmit", "now-build": "npm run docs:build", @@ -61,6 +61,7 @@ }, "devDependencies": { "@rc-component/father-plugin": "^2.0.1", + "@rc-component/np": "^1.0.3", "@testing-library/jest-dom": "^6.4.0", "@testing-library/react": "^12.1.5", "@types/enzyme": "^3.10.5", @@ -88,7 +89,6 @@ "jsdom": "^25.0.0", "less": "^4.1.3", "lint-staged": "^15.1.0", - "np": "^10.0.1", "prettier": "^3.1.0", "rc-animate": "^3.0.0", "rc-dropdown": "~4.0.1",