From bc60a8f9ae60d0edafd516b2d1feb730eb14924d Mon Sep 17 00:00:00 2001 From: Kai Moseley Date: Sat, 7 Apr 2018 15:43:19 +0100 Subject: [PATCH] Clean up package contents --- package-lock.json | 26 +++++++++++++------------- package.json | 5 ++++- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bbdb47..13a95a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1640,7 +1640,7 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "resolved": "https://npm.onfido.co.uk:443/assert-plus/-/assert-plus-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" } } @@ -2378,7 +2378,7 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "resolved": "https://npm.onfido.co.uk:443/assert-plus/-/assert-plus-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" } } @@ -3412,7 +3412,7 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "resolved": "https://npm.onfido.co.uk:443/assert-plus/-/assert-plus-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" } } @@ -4800,15 +4800,6 @@ "xtend": "4.0.1" } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "string-length": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz", @@ -4829,6 +4820,15 @@ "strip-ansi": "3.0.1" } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "stringstream": { "version": "0.0.5", "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", @@ -5123,7 +5123,7 @@ "dependencies": { "assert-plus": { "version": "1.0.0", - "resolved": "https://npm.onfido.co.uk:443/assert-plus/-/assert-plus-1.0.0.tgz", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" } } diff --git a/package.json b/package.json index 896810f..f9f025c 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,14 @@ "version": "1.3.0", "description": "Redux store chunk creator", "main": "./lib/index.js", + "files": [ + "lib" + ], "scripts": { "build": "babel -d lib/ src/", "test": "jest", "test:coverage": "jest --coverage", - "prepublish": "npm run build", + "prepublish": "npm run build && npm run test", "coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls" }, "author": "Kai Moseley",