Skip to content

Commit

Permalink
proper packing
Browse files Browse the repository at this point in the history
  • Loading branch information
angrymouse committed Nov 7, 2023
1 parent bcedeb4 commit 1aea4b5
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 8 deletions.
169 changes: 164 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Duktape bindings for node.js",
"main": "index.js",
"scripts": {
"install": "node script/prebuild.js install"
"install": "node scripts/prebuild.js install"
},
"repository": {
"type": "git",
Expand All @@ -19,6 +19,7 @@
"homepage": "https://github.com/rareweave/glomium#readme",
"dependencies": {
"nan": "^2.18.0",
"node-addon-api": "^7.0.0"
"node-addon-api": "^7.0.0",
"tar-fs": "^3.0.4"
}
}
2 changes: 1 addition & 1 deletion scripts/prebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require("fs");
const { createBrotliCompress, createBrotliDecompress } = require("zlib");
const { https } = require("follow-redirects");
const tar = require("tar-fs");
const packageJson = require("../../package.json");
const packageJson = require("../package.json");

const binary = "build/Release/duktape_bindings.node";

Expand Down

0 comments on commit 1aea4b5

Please sign in to comment.