election-utils
Version:
This module provides various utility functions for dealing with AP election data.
57 lines (56 loc) • 1.9 kB
JSON
{
"name": "election-utils",
"version": "3.5.7",
"description": "This module provides various utility functions for dealing with AP election data.",
"main": "build/index.js",
"jsnext:main": "build/index.es6.js",
"scripts": {
"clean": "rimraf build && rimraf .tmp",
"build:cjs": "rollup -c -f cjs -i src/index.js -o build/index.js",
"build:es6": "rollup -c -i src/index.js -o build/index.es6.js",
"build": "npm run clean && npm run build:cjs && npm run build:es6",
"prepublish": "BABEL_ENV=rollup npm run build && npm run test",
"test": "node test/index.js | faucet",
"test:watch": "tape-watch test/index.js -p faucet",
"doc": "BABEL_ENV=doc babel src -d .tmp && documentation build .tmp/**/*.js -o doc.md -f md",
"doc:html": "BABEL_ENV=doc babel src -d .tmp && documentation build .tmp/**/*.js -o doc.html -f html"
},
"author": "Gabriel Florit",
"license": "MIT",
"dependencies": {
"dateformat": "^1.0.12",
"lodash.orderby": "^4.0.2",
"united-states": "^2.0.0"
},
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-plugin-syntax-object-rest-spread": "^6.5.0",
"babel-plugin-transform-object-rest-spread": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babel-preset-es2015-rollup": "^1.0.0",
"babel-preset-stage-1": "^6.5.0",
"documentation": "^4.0.0-beta",
"faucet": "0.0.1",
"rimraf": "^2.5.0",
"rollup": "^0.24.0",
"rollup-plugin-babel": "^2.3.8",
"tap-notify": "0.0.3",
"tape": "^4.4.0",
"tape-watch": "^1.3.0"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BostonGlobe/election-utils.git"
},
"keywords": [
"elections",
"AP"
],
"bugs": {
"url": "https://github.com/BostonGlobe/election-utils/issues"
},
"homepage": "https://github.com/BostonGlobe/election-utils#readme"
}