mirror of
https://github.com/zhigang1992/npm.git
synced 2026-06-18 07:18:49 +08:00
It causes all npm commands to no longer run package.json scripts. Most notably, `npm install --ignore-scripts` will not run preinstall and prepublish scripts.
31 lines
761 B
JSON
31 lines
761 B
JSON
{
|
|
"author": "Milton the Aussie",
|
|
"name": "ignore-scripts",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"prepublish": "exit 123",
|
|
"publish": "exit 123",
|
|
"postpublish": "exit 123",
|
|
"preinstall": "exit 123",
|
|
"postinstall": "exit 123",
|
|
"preuninstall": "exit 123",
|
|
"uninstall": "exit 123",
|
|
"postuninstall": "exit 123",
|
|
"preupdate": "exit 123",
|
|
"update": "exit 123",
|
|
"postupdate": "exit 123",
|
|
"pretest": "exit 123",
|
|
"test": "exit 123",
|
|
"posttest": "exit 123",
|
|
"prestop": "exit 123",
|
|
"stop": "exit 123",
|
|
"poststop": "exit 123",
|
|
"prestart": "exit 123",
|
|
"start": "exit 123",
|
|
"poststart": "exit 123",
|
|
"prerestart": "exit 123",
|
|
"restart": "exit 123",
|
|
"postrestart": "exit 123"
|
|
}
|
|
}
|