Add coveralls
Update dependencies
Add dependency status
MODIFY
.gitignore
.gitignore
node_modules
+package-lock.json
yarn.lock
yarn-error.log
.nyc_output

MODIFY
.travis.yml
.travis.yml
@@ -5,17 +5,25 @@ node_js:
- "8"
- "7"
- "6"
+
sudo: false
+install:
+ - npm install
+
script:
- - yarn shim:lint
- - yarn shim:build
- - yarn shim:test
+ - npm run shim:lint
+ - npm run shim:build
+ - npm run shim:test
+
+after_success:
+ - npm run shim:coverage && npm run shim:coveralls
branches:
only:
- master
matrix:
+ fast_finish: true
allow_failures:
- node_js: "6"
\ No newline at end of file

MODIFY
README.md
README.md
@@ -16,7 +16,12 @@ This proposal is at stage 2 of [the TC39 Process](https://tc39.github.io/process
You can view the spec rendered as [HTML](https://rawgit.com/tc39/proposal-realms/master/index.html).
-### Shim/Polyfill [![License][license-image]][license-url] [![Build Status][travis-svg]][travis-url]
+### Shim/Polyfill
+[![Build Status][travis-svg]][travis-url]
+[![Coverage Status][coveralls-svg]][coveralls-url]
+[![dependency status][deps-svg]][deps-url]
+[![dev dependency status][dev-deps-svg]][dev-deps-url]
+[![License][license-image]][license-url]
A shim implementation of the Realm API can be found under the [shim folder](shim/).
@@ -172,6 +177,11 @@ Alternative, you can use `npm run watch`.
[travis-svg]: https://travis-ci.com/tc39/proposal-realms.svg?branch=master
[travis-url]: https://travis-ci.com/tc39/proposal-realms
+[coveralls-svg]: https://coveralls.io/repos/github/tc39/proposal-realms/badge.svg?branch=master
+[coveralls-url]: https://coveralls.io/github/tc39/proposal-realms?branch=master
+[deps-svg]: https://david-dm.org/tc39/proposal-realms.svg
+[deps-url]: https://david-dm.org/tc39/proposal-realms
+[dev-deps-svg]: https://david-dm.org/tc39/proposal-realms/dev-status.svg
+[dev-deps-url]: https://david-dm.org/tc39/proposal-realms#info=devDependencies
[license-image]: https://img.shields.io/badge/License-Apache%202.0-blue.svg
[license-url]: shim/LICENSE
-

MODIFY
package.json
package.json
"shim:lint": "eslint ./shim/src/**/*.js ./shim/test/**/*.js",
"shim:prettier": "prettier --config ./shim/.prettierrc --write ./shim/src/**/*.js ./shim/test/**/*.js",
"shim:test": "tape -r esm ./shim/test/**/*.js",
- "shim:coverage": "nyc --require esm tape ./shim/test/**/*.js | tap-nyc"
+ "shim:coverage": "nyc --require esm tape ./shim/test/**/*.js | tap-nyc",
+ "shim:coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
"babel-eslint": "^6.1.2",
"babel-minify": "^0.4.3",
"babel-preset-es2016": "^6.24.1",
+ "coveralls": "^3.0.2",
"cross-env": "^3.2.4",
"ecmarkup": "latest",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
- "eslint-plugin-import": "^2.12.0",
- "eslint-plugin-prettier": "^2.6.0",
- "esm": "^3.0.37",
+ "eslint-plugin-import": "^2.13.0",
+ "eslint-plugin-prettier": "^2.6.2",
+ "esm": "^3.0.62",
"forever": "^0.15.2",
"nyc": "^12.0.2",
- "prettier": "^1.12.1",
+ "prettier": "^1.13.7",
"rollup": "^0.58.2",
"rollup-plugin-babel-minify": "^4.0.0",
"rollup-watch": "^3.2.2",
"tap-nyc": "^1.0.3",
- "tape": "^4.9.0"
+ "tape": "^4.9.1"
}
}

MODIFY
shim/README.md
shim/README.md
-# Realm Shim [![License][license-image]][license-url] [![Build Status][travis-svg]][travis-url]
+# Realm Shim
+[![Build Status][travis-svg]][travis-url]
+[![Coverage Status][coveralls-svg]][coveralls-url]
+[![dependency status][deps-svg]][deps-url]
+[![dev dependency status][dev-deps-svg]][dev-deps-url]
+[![License][license-image]][license-url]
+
This folder contains a shim implementation of the Realm API specified in this repo.
@@ -97,6 +103,12 @@ r.global.JSON === JSON; // true
[travis-svg]: https://travis-ci.com/tc39/proposal-realms.svg?branch=master
[travis-url]: https://travis-ci.com/tc39/proposal-realms
+[coveralls-svg]: https://coveralls.io/repos/github/tc39/proposal-realms/badge.svg?branch=master
+[coveralls-url]: https://coveralls.io/github/tc39/proposal-realms?branch=master
+[deps-svg]: https://david-dm.org/tc39/proposal-realms.svg
+[deps-url]: https://david-dm.org/tc39/proposal-realms
+[dev-deps-svg]: https://david-dm.org/tc39/proposal-realms/dev-status.svg
+[dev-deps-url]: https://david-dm.org/tc39/proposal-realms#info=devDependencies
[license-image]: https://img.shields.io/badge/License-Apache%202.0-blue.svg
[license-url]: LICENSE

Add coveralls
Update dependencies
Add dependency status