UnlyEd/iso3166-1

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@unly/iso3166-1",
  "version": "1.0.2",
  "reveal": true,
  "description": "Tiny, fast, modular ISO 3166-1 alpha-2/alpha-3 parser.",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/UnlyEd/iso3166-1.git"
  },
  "keywords": [
    "codes",
    "countries",
    "country",
    "countrycode",
    "countrycodes",
    "iso",
    "iso3166",
    "iso3166-1",
    "locale",
    "locale2"
  ],
  "author": "Michael Scott Hertzberg <mshertzberg@gmail.com> (https://hertzber.gs/)",
  "license": "MIT",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "bugs": {
    "url": "https://github.com/UnlyEd/iso3166-1/issues"
  },
  "homepage": "https://github.com/UnlyEd/iso3166-1",
  "standard": {
    "env": [
      "jest"
    ],
    "ignore": [
      "dist/**",
      "data/**"
    ]
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0",
    "@babel/core": "^7.2.2",
    "@babel/preset-env": "^7.0.0",
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^24.0.0",
    "babel-minify": "^0.5.0",
    "babel-plugin-static-fs": "^1.1.0",
    "browserify": "^16.2.3",
    "csv2": "^0.1.1",
    "dist-size": "^0.4.0",
    "event-stream": "^4.0.1",
    "file-size": "^1.0.0",
    "hyperquest": "^2.1.3",
    "jest": "^24.0.0",
    "jsonstream2": "^2.0.1",
    "mkdirp": "^0.5.1",
    "npm-run-all": "^4.1.3",
    "rimraf": "^2.6.2",
    "standard": "^12.0.1",
    "through2": "^3.0.0",
    "version-bump-prompt": "4.2.2"
  },
  "scripts": {
    "build": "npm-run-all -s clean mkdir compile minify build:* rmtmp size",
    "build:dist": "browserify dist/.tmp/iso3166-1.minified.js -s iso31661 -o dist/iso3166-1.js",
    "clean": "rimraf dist",
    "compile": "babel -o dist/.tmp/iso3166-1.compiled.js src/index.js",
    "generate": "bin/generate",
    "lint": "standard src",
    "mkdir": "mkdirp dist dist/.tmp",
    "minify": "minify dist/.tmp/iso3166-1.compiled.js -o dist/.tmp/iso3166-1.minified.js",
    "release": "yarn build && yarn bump --prompt --commit --tag",
    "releaseAndPublish": "yarn release && npm publish",
    "rmtmp": "rimraf dist/.tmp",
    "size": "dist-size -e js dist",
    "test": "jest",
    "test:coverage": "jest --coverage",
    "test:browser": "npx serve test-browser"
  },
  "jest": {
    "transform": {},
    "rootDir": "src",
    "testPathIgnorePatterns": [
      "node_modules"
    ]
  }
}