diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..a0bec0a --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: cJtx8LBHpQIWN0pOr9YOlXsgfi9f74MU0 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ecffc9a..6f163ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1740,6 +1740,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.0.tgz", "integrity": "sha512-ZppXR9y5PraUOrf/DzHJY6gzNUhXYE3b9D43xEXs4QYZ7/Oe0Gy0CS+IPKWFfvQFXB3RG9QduaQUFehzSpGAFw==", + "dev": true, "requires": { "js-yaml": "3.10.0", "lcov-parse": "0.0.10", @@ -4557,7 +4558,8 @@ "lcov-parse": { "version": "0.0.10", "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz", - "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=" + "integrity": "sha1-GwuP+ayceIklBYK3C3ExXZ2m2aM=", + "dev": true }, "levn": { "version": "0.3.0", @@ -4682,7 +4684,8 @@ "log-driver": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", - "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==" + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", + "dev": true }, "loose-envify": { "version": "1.3.1", diff --git a/package.json b/package.json index ebf2e71..248b1d4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "build": "babel server -d server/dist --copy-files --ignore server/dist", "test": "nyc --reporter=html --reporter=text mocha ./server/test/**/*.js --exit --compilers js:babel-register", "postinstall": "npm run build", - "coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test" + "coverage": "nyc report --reporter=text-lcov | coveralls", + "report-coverage": "cat ./coverage/lcov.info | coveralls", + "coveralls": "nyc --reporter=lcov --reporter=text-lcov npm test" }, "author": "douglas", "license": "ISC", @@ -20,7 +22,6 @@ "body-parser": "^1.18.2", "chai": "^4.1.2", "chai-http": "^3.0.0", - "coveralls": "^3.0.0", "eslint": "^4.9.0", "express": "^4.16.2", "express-validator": "^5.0.3", @@ -33,6 +34,7 @@ "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-preset-es2015": "^6.24.1", + "coveralls": "^3.0.0", "eslint-config-airbnb": "^16.1.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.9.0", @@ -40,5 +42,13 @@ "eslint-plugin-react": "^7.7.0", "mocha": "^3.5.3", "nodemon": "^1.17.1" - } + }, + "repository":{ + "type":"git", + "url":"git+https://github.com/ddouglasz/WeConnect.git" + }, + "bugs":{ + "url":"https://github.com/ddouglasz/WeConnect/issues" + } } +