fix babel path : babel doesn't need to be installed globally after this

This commit is contained in:
Romain Beaumont 2015-09-29 01:05:29 +02:00
parent 36625a3671
commit f5e2b9aaa7

View file

@ -15,7 +15,7 @@
},
"scripts": {
"test": "mocha --reporter spec",
"postinstall": "babel -d node_modules/prismarine-world/dist/ node_modules/prismarine-world/src/ && babel -d node_modules/prismarine-chunk/dist/ node_modules/prismarine-chunk/src/ "
"postinstall": "node_modules/.bin/babel -d node_modules/prismarine-world/dist/ node_modules/prismarine-world/src/ && node_modules/.bin/babel -d node_modules/prismarine-chunk/dist/ node_modules/prismarine-chunk/src/ "
},
"keywords": [],
"licenses": {