Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
feat: pkg binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Sep 8, 2017
1 parent 9679c7f commit 2deb64e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
test/repo-tests*
**/bundle.js

/ipfs
/ipfs.exe

# Logs
logs
*.log
Expand Down
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@
"jsipfs": "src/cli/bin.js"
},
"main": "src/core/index.js",
"pkg": {
"scripts": "src/cli/commands/**/*.js",
"assets": "natives/**"
},
"pkg-native": {
"scan": "all",
"mode": "bundle",
"modules": [
"node_modules/fs-ext",
"node_modules/sha3",
"node_modules/keccak/bindings.js"
]
},
"browser": {
"./src/core/components/init-assets.js": false,
"./src/core/runtime/config-nodejs.json": "./src/core/runtime/config-browser.json",
Expand All @@ -20,6 +33,7 @@
},
"scripts": {
"lint": "aegir-lint",
"pkg": "pkg-natives",
"coverage": "gulp coverage",
"test": "gulp test --dom",
"test:node": "npm run test:unit:node",
Expand Down Expand Up @@ -80,6 +94,7 @@
"mocha": "^3.5.0",
"ncp": "^2.0.0",
"nexpect": "^0.5.0",
"pkg-natives": "^0.1.0",
"pre-commit": "^1.2.2",
"pretty-bytes": "^4.0.2",
"qs": "^6.5.0",
Expand Down

0 comments on commit 2deb64e

Please sign in to comment.