Added a friendly message about the minimum node version.
This commit is contained in:
parent
d375771611
commit
bd9865739f
|
@ -0,0 +1,20 @@
|
|||
*.swp
|
||||
coverage
|
||||
node_modules
|
||||
browser/tests.js
|
||||
docs/api
|
||||
|
||||
CONTRIBUTING.html
|
||||
LICENSE.html
|
||||
README.html
|
||||
examples.html
|
||||
npm-debug.log
|
||||
|
||||
apiref
|
||||
bower_components
|
||||
report
|
||||
.DS_Store
|
||||
|
||||
build
|
||||
|
||||
tests.js
|
|
@ -10,7 +10,7 @@ Infrastructure to build Bitcoin and blockchain-based applications for the next g
|
|||
|
||||
## Getting Started
|
||||
|
||||
Before you begin you'll need to have Node.js v4 or v0.12 installed. There are several options for installation. One method is to use [nvm](https://github.com/creationix/nvm) to easily switch between different versions, or download directly from [Node.js](https://nodejs.org/).
|
||||
Before you begin you'll need to have Node.js v8 installed. There are several options for installation. One method is to use [nvm](https://github.com/creationix/nvm) to easily switch between different versions, or download directly from [Node.js](https://nodejs.org/).
|
||||
|
||||
```bash
|
||||
npm install -g bitcore
|
||||
|
@ -78,7 +78,6 @@ This will generate files named `bitcore.js` and `bitcore.min.js`.
|
|||
You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout a release commit (for example, https://github.com/bitpay/bitcore/commit/e33b6e3ba6a1e5830a079e02d949fce69ea33546 for v0.12.6).
|
||||
|
||||
To verify signatures, use the following PGP keys:
|
||||
- @braydonf: https://pgp.mit.edu/pks/lookup?op=get&search=0x9BBF07CAC07A276D `D909 EFE6 70B5 F6CC 89A3 607A 9BBF 07CA C07A 276D`
|
||||
- @gabegattis: https://pgp.mit.edu/pks/lookup?op=get&search=0x441430987182732C `F3EA 8E28 29B4 EC93 88CB B0AA 4414 3098 7182 732C`
|
||||
- @kleetus: https://pgp.mit.edu/pks/lookup?op=get&search=0x33195D27EF6BDB7F `F8B0 891C C459 C197 65C2 5043 3319 5D27 EF6B DB7F`
|
||||
- @matiu: https://pgp.mit.edu/pks/lookup?op=get&search=0x9EDE6DE4DE531FAC `25CE ED88 A1B1 0CD1 12CD 4121 9EDE 6DE4 DE53 1FAC`
|
||||
|
@ -87,4 +86,4 @@ To verify signatures, use the following PGP keys:
|
|||
|
||||
Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).
|
||||
|
||||
Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
|
||||
Copyright 2013-2017 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
if (parseInt(process.version.split('.')[0].slice(1)) < 8) {
|
||||
throw new Error('Bitcore requires Node version 8 or higher.');
|
||||
}
|
||||
|
||||
var bitcore = require('bitcore-node/lib/cli/bitcore');
|
||||
var path = require('path');
|
||||
var servicesPath = path.resolve(__dirname, '../');
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
if (parseInt(process.version.split('.')[0].slice(1)) < 8) {
|
||||
throw new Error('Bitcore requires Node version 8 or higher.');
|
||||
}
|
||||
|
||||
var path = require('path');
|
||||
var bitcored = require('bitcore-node/lib/cli/bitcored');
|
||||
var servicesPath = path.resolve(__dirname, '../');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bitcore",
|
||||
"version": "5.0.0-beta.3",
|
||||
"version": "5.0.0-beta.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
"name": "bitcore",
|
||||
"version": "5.0.0-beta.4",
|
||||
"description": "A platform to build bitcoin and blockchain-based applications.",
|
||||
"engines": {
|
||||
"node": ">=8.0.0"
|
||||
},
|
||||
"author": "BitPay <dev@bitpay.com>",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue