test(bin): update pre-and-postinstall-scripts-example

This commit is contained in:
zkochan
2017-01-26 22:00:36 +02:00
committed by Zoltan Kochan
parent ba09ee4546
commit 97df5548fa

View File

@@ -4,13 +4,16 @@
"description": "A package that creates files by pre- and postinstall scripts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"preinstall": "node create generated-by-preinstall",
"postinstall": "node create generated-by-postinstall"
"preinstall": "hello-world-js-bin && node create generated-by-preinstall",
"postinstall": "hello-world-js-bin && node create generated-by-postinstall"
},
"author": "Zoltan Kochan <zoltan.kochan@gmail.com> (http://kochan.io/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pnpm/pnpm/tree/master/test/packages/postinstall-example"
},
"dependencies": {
"hello-world-js-bin": "1.0.0"
}
}