1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/registry/npm/@denotest/node-lifecycle-scripts/1.0.0/package.json
Nathan Whitaker 7a990d9d42
feat(npm): support --allow-scripts on deno run (and deno add, deno test, etc) (#26075)
Fixes https://github.com/denoland/deno/issues/25533. Fixes
https://github.com/denoland/deno/issues/25396.

Previously we only supported it on `deno install` and `deno cache`,
which is annoying if you're using `nodeModulesDir: auto`.

Also changes from printing output of lifecycle scripts directly to
capturing the output and only printing it on error.
2024-10-12 12:14:32 -07:00

13 lines
No EOL
408 B
JSON

{
"name": "@denotest/node-lifecycle-scripts",
"version": "1.0.0",
"scripts": {
"preinstall": "echo preinstall && node preinstall.js && node --require ./helper.js preinstall.js",
"install": "echo install && cli-esm 'hello from install script'",
"postinstall": "echo postinstall && npx cowsay postinstall"
},
"exports": "./index.js",
"dependencies": {
"@denotest/bin": "1.0.0"
}
}