NatLibFi/es6-polyfills

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@natlibfi/es6-polyfills",
  "description": "ES6 polyfills that use native implementation if available and do not pollute the global namespace",
  "author": {
    "name": "The National Library of Finland"
  },
  "keywords": [
    "es6",
    "polyfill",
    "shim",
    "ecmascript",
    "harmony",
    "object",
    "assign",
    "promise"
  ],
  "homepage": "https://github.com/NatLibFi/es6-polyfills",
  "bugs": {
    "url": "https://github.com/NatLibFi/es6-polyfills/issues"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:NatLibFi/es6-polyfills.git"
  },
  "license": " LGPL-3.0+",
  "version": "2.0.1",
  "scripts": {
    "lint": "jshint .",      
    "test-nodejs": "istanbul cover --dir coverage/nodejs _mocha -- test/*.spec.js",
    "test-browser": "npm run generate-requirejs-config && karma start",
    "test": "npm run test-nodejs && npm run test-browser",
    "cover-nodejs": "npm run test-nodejs && istanbul check-coverage coverage/nodejs/coverage.json",
    "cover-browser": "npm run test-browser && istanbul check-coverage coverage/browser/coverage-final.json",
    "cover": "npm run test && npm run combine-coverage && istanbul check-coverage coverage/combined/coverage-final.json",
    "combine-coverage": "istanbul-combine -d coverage/combined -r html -r lcov -r json coverage/nodejs/coverage.json coverage/browser/coverage-final.json",
    "check": "npm run lint && npm run cover",
    "travisci": "npm run check",
    "generate-requirejs-config": "requirejs-configurator --npm --include-dev-dependencies --exclude-peer-dependencies > test/browser-main.js",
    "publish-to-npm": "npm install && npm run check && npm publish --access=public"
  },
  "dependencies": {
    "es6-object-assign": "^1.0.3",
    "es6-promise-polyfill": "^1.2.0"
  },
  "devDependencies": {
    "chai": "^3.5.0",
    "jshint": "^2.9.3",
    "mocha": "^3.0.2",
    "istanbul": "^0.4.5",
    "istanbul-combine": "^0.3.0",
    "karma": "^1.2.0",
    "karma-mocha": "^1.1.1",
    "karma-coverage": "^1.1.1",
    "karma-requirejs": "^1.0.0",
    "karma-phantomjs-launcher": "^1.0.2",
    "karma-requirejs-preprocessor": "^0.0.2",
    "requirejs": "^2.3.3",
    "requirejs-configurator": "https://github.com/natlibfi-arlehiko/requirejs-configurator#peer-deps",
    "codeclimate-test-reporter": "^0.3.3"
  }
}