Skip to content
This repository was archived by the owner on Jan 7, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install:
- node --version
- npm --version
# also downloads the build for release version
- npm install
- NODE_ENV=dev npm install

script:
- npm run lint
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ safe_app nodejs library.

The external libraries will automatically be downloaded when you run `npm install`.

If you are working on a development environment, you can run `NODE_ENV=dev npm install` instead in order to get the `safe_client` libraries which use the `MockVault` file rather than connecting to the SAFE Network.

# License

Licensed under either of
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ install:
- ps: Install-Product node $env:nodejs_version $env:platform
- node --version
- npm --version
- npm install
- NODE_ENV=dev npm install

test_script:
- npm run lint
Expand Down
17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/maidsafe/safe_app_nodejs#readme",
"dependencies": {
"deps_downloader": "git+https://github.com/gnunicorn/deps_downloader.git",
"deps_downloader": "git+https://github.com/maidsafe/deps_downloader.git",
"enum": "^2.3.0",
"ffi": "^2.2.0",
"ref": "^1.3.3",
Expand Down Expand Up @@ -55,10 +55,21 @@
"mirror": "https://github.com/krishnaIndia/safe_core/releases/download/v",
"version": "0.1.0-pre37",
"targetDir": "src/native",
"filename": "safe_app-dev",
"filePattern": "^.*\\.(dll|so|dylib)$"
"filename": "safe_app",
"filePattern": "^.*\\.(dll|so|dylib)$",
"force": true
},
"ENV": {
"dev": {
"safe_app": {
"filename": "safe_app-dev"
}
},
"nightly": {
"safe_app": {
"filename": "safe_app-nightly"
}
},
"win32": {
"libwinpthread-1": {
"mirror": "https://github.com/gnunicorn/safe_core/releases/download/v",
Expand Down