mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 19:12:20 -05:00
7a990d9d42
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.
13 lines
No EOL
408 B
JSON
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"
|
|
}
|
|
} |