|
51 | 51 | "clean": "./scripts/clean.sh", |
52 | 52 | "copy": "./scripts/copy.sh", |
53 | 53 | "modify-dts": "replace-in-file --configFile=config.replace.js", |
54 | | - "build": "yarn clean && rollup --config rollup.config.js --bundleConfigAsCjs && yarn copy && yarn modify-dts", |
55 | | - "prepare": "yarn build", |
56 | | - "prepublishOnly": "npm run lint && npm run test", |
| 54 | + "build": "pnpm clean && rollup --config rollup.config.js --bundleConfigAsCjs && pnpm copy && pnpm modify-dts", |
| 55 | + "preinstall": "npx -y only-allow pnpm", |
| 56 | + "prepare": "pnpm build", |
| 57 | + "prepublishOnly": "pnpm lint && pnpm test", |
57 | 58 | "version": "git add .", |
58 | 59 | "postversion": "git push && git push --tags" |
59 | 60 | }, |
|
68 | 69 | }, |
69 | 70 | "devDependencies": { |
70 | 71 | "@rollup/plugin-json": "^6.1.0", |
| 72 | + "@rollup/plugin-terser": "^0.4.4", |
71 | 73 | "@types/eslint": "^8.56.6", |
72 | 74 | "@types/jest": "^29.5.12", |
73 | 75 | "@types/node": "^20.11.30", |
|
79 | 81 | "jest": "^29.7.0", |
80 | 82 | "postcss": "^8.4.26", |
81 | 83 | "replace-in-file": "^7.1.0", |
| 84 | + "rimraf": "^5.0.5", |
82 | 85 | "rollup": "^4.13.0", |
83 | | - "rollup-plugin-terser": "^7.0.2", |
84 | 86 | "rollup-plugin-ts": "^3.4.5", |
85 | 87 | "ts-jest": "^29.1.2", |
| 88 | + "tslib": "^2.6.2", |
86 | 89 | "typescript": "^5.4.3" |
87 | 90 | }, |
88 | 91 | "peerDependencies": { |
|
0 commit comments