Skip to content

Commit e8017fb

Browse files
committed
Add the correct package.json's
1 parent 9eb4694 commit e8017fb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@nodeos/nodegit",
3-
"version": "0.20.4",
3+
"version": "0.20.5",
44
"description": "Generates a Nodegit module for NodeOS",
5-
"main": "dist/nodegit.js",
5+
"main": "index.js",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/luii/nodeos-nodegit.git"
@@ -14,7 +14,7 @@
1414
"native"
1515
],
1616
"scripts": {
17-
"install": "(prebuild-install https://github.com/luii/nodeos-nodegit/releases/download/v{version}/nodegit-v{version}-{runtime}-{abi}-{platform}-{arch}.tar.gz && cat ./resources/package.json > ./package.json) || npm run build",
17+
"install": "(prebuild-install https://github.com/luii/nodeos-nodegit/releases/download/v{version}/nodegit-v{version}-{runtime}-{abi}-{platform}-{arch}.tar.gz && cat ./resources/index.js > ./index.js) || npm run build",
1818
"build": "scripts/build",
1919
"unbuild": "scripts/unbuild",
2020
"prebuilds": "scripts/prebuilds"

resources/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodeos/nodegit",
3-
"version": "0.20.4",
3+
"version": "0.20.5",
44
"description": "Generates a Nodegit module for NodeOS",
55
"main": "dist/nodegit.js",
66
"repository": {
@@ -14,7 +14,7 @@
1414
"native"
1515
],
1616
"scripts": {
17-
"install": "(prebuild-install https://github.com/luii/nodeos-nodegit/releases/download/v{version}/nodegit-v{version}-{runtime}-{abi}-{platform}-{arch}.tar.gz && cat ./resources/index.js > ./index.js) || npm run build",
17+
"install": "(prebuild-install https://github.com/luii/nodeos-nodegit/releases/download/v{version}/nodegit-v{version}-{runtime}-{abi}-{platform}-{arch}.tar.gz && cat ./resources/package.json > ./package.json) || npm run build",
1818
"build": "scripts/build",
1919
"unbuild": "scripts/unbuild",
2020
"prebuilds": "scripts/prebuilds"

0 commit comments

Comments
 (0)