mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 16:17:02 +00:00
feat(npm): add postuninstall script
- add scripts/postuninstall.js for npm uninstall cleanup - register in package.json scripts.postuninstall - runs ccs --uninstall on npm uninstall -g
This commit is contained in:
1 parent
c44a5c221f
commit
4f28de9c90
2 files changed
+61
No files matched your search
@@ -51,6 +51,7 @@
|
||||
"preferGlobal": true,
|
||||
"scripts": {
|
||||
"preinstall": "node scripts/preinstall.js",
|
||||
"postuninstall": "node scripts/postuninstall.js",
|
||||
"build": "tsc && node scripts/add-shebang.js",
|
||||
"build:watch": "tsc --watch",
|
||||
"build:server": "tsc && node scripts/add-shebang.js",
|
||||
|
||||
Reference in new issue
Block a user