Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postinstall #10

Open
bitdivine opened this issue Oct 22, 2014 · 1 comment
Open

postinstall #10

bitdivine opened this issue Oct 22, 2014 · 1 comment

Comments

@bitdivine
Copy link

I don't know whether you are aware but you can reduce your installation to the standard "npm install" by putting make in the postinstall script:

diff --git a/package.json b/package.json
index e800b31..a3ec89a 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
     "sqljs": "./bin/sqljs"
   },
   "scripts": {
+    "postinstall": "make",
     "test": "make test"
   },
   "dependencies": {
@langpavel
Copy link
Member

Correct way is to publish builded package on npm and gitignore files from build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants