Place1 / node-gir

Node bindings to libgirepository
http://live.gnome.org/GObjectIntrospection
MIT License
27 stars 6 forks source link

Run scripts locally #38

Closed clayrisser closed 6 years ago

ewnd9 commented 6 years ago

Is it not working for you (without full paths)? Shortcuts in npm scripts are available since a long time https://docs.npmjs.com/cli/run-script

or example, if there is a devDependency on tap in your package, you should write: "scripts": {"test": "tap test/*.js"} instead of "scripts": {"test": "node_modules/.bin/tap test/*.js"}

update: clarification

clayrisser commented 6 years ago

I knew that was the case with yarn, but didn't know it worked with npm.