QuantumMechanics / NEM-sdk

NEM Developer Kit for Node.js and the browser
MIT License
137 stars 82 forks source link

implement postinstall script in package.json for automatic build upon install #3

Closed evias closed 7 years ago

evias commented 7 years ago

hello as discussed in private i have checked what was needed for an automatic build and it seems the postinstall script does exactly what we want.

When users now run "npm install nem-sdk" it will first install all dependencies (babel, etc.), then build the SDK into the build/ directory (which has also been force added to the repo)

Greets!

evias commented 7 years ago

postinstall script would not fix the problem, closing this pull request.

implementing will happen with "prepare" script instead, using build and browserify.