Skip to content

Commit 1cc8406

Browse files
author
nafees nazik
committed
fix: remove postinstall script
1 parent 553c01e commit 1cc8406

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@
1616
},
1717
"types": "./dist/index.d.ts",
1818
"scripts": {
19-
"postinstall": "patch-package",
19+
"patch": "patch-package",
2020
"build-fast": "tsup src/index.ts --format cjs,esm",
2121
"build": "pnpm run build-fast -- --dts-resolve ",
2222
"test": "vitest run",
23-
"prepublishOnly": "pnpm run build"
23+
"prepublishOnly": "pnpm run patch & pnpm run build"
2424
},
2525
"license": "MIT",
2626
"devDependencies": {
2727
"@egoist/prettier-config": "1.0.0",
2828
"@milahu/patch-package-with-pnpm-support": "^6.4.8",
2929
"@types/react": "^17.0.40",
30+
"class-variance-authority": "0.1.0",
3031
"prettier": "2.5.1",
3132
"react": "^17.0.2",
3233
"tsup": "5.12.1",
@@ -35,8 +36,5 @@
3536
},
3637
"peerDependencies": {
3738
"react": ">= 16.3.0"
38-
},
39-
"dependencies": {
40-
"class-variance-authority": "0.1.0"
4139
}
4240
}

pnpm-lock.yaml

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)