From 567ac743846b6a2a060cb7b561605668a439fde5 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Mon, 15 Feb 2016 09:12:11 +0300 Subject: [PATCH 1/2] Use files in package.json instead .npmignore --- .npmignore | 4 ---- package.json | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 74e4486..0000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -.gitignore -.travis.yml -jshint.json -test/ diff --git a/package.json b/package.json index 96839fc..4731cbc 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,9 @@ "type": "git", "url": "https://github.com/bitcoinjs/bitcoinjs-lib.git" }, + "files": [ + "src" + ], "config": { "blanket": { "pattern": [ From bed6ca0bb4e1d693d77a84f00bfdee026d5e0b05 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Mon, 15 Feb 2016 09:13:40 +0300 Subject: [PATCH 2/2] Travis: node versions as strings --- .travis.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddad1a7..d4d9528 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,19 @@ +sudo: false language: node_js before_install: - npm install npm -g node_js: - - 5 - - 4 - - io.js - - 0.12 - - 0.10 + - "0.10" + - "0.12" + - "io.js" + - "4" + - "5" matrix: include: - - node_js: 4 + - node_js: "4" env: TEST_SUITE=standard env: - TEST_SUITE=coverage - TEST_SUITE=integration - TEST_SUITE=unit script: npm run-script $TEST_SUITE -sudo: false