summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 8a86313..19db3bc 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,8 @@
{
"name": "pikul",
"version": "0.0.0",
- "main": "pikul.js"
+ "main": "pikul.js",
+ "scripts": {
+ "build": "\"swig -javascript -node -c++ pikul.i\" \"node-gyp configure build\""
+ }
}