ncsbe-lib
Version:
JavaScript library for working with North Carolina State Board of Elections (NCSBE) historical election data
119 lines (118 loc) • 3.1 kB
JSON
{
"name": "ncsbe-lib",
"version": "1.3.1",
"main": "dist/bundle.cjs.js",
"module": "dist/bundle.esm.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/bundle.esm.js",
"require": "./dist/bundle.cjs.js"
},
"type": "module",
"directories": {
"lib": "lib"
},
"scripts": {
"build": "rollup --config",
"start": "node dist/index.js",
"dev": "rollup --config --watch",
"test": "jest",
"test:unit": "jest --selectProjects unit",
"test:integration": "jest --selectProjects integration",
"test:publish": "node tests/publish-test.mjs",
"test:coverage": "jest --coverage",
"test:badges": "npm run test:coverage && jest-coverage-badges",
"format": "prettier --write \"./**/*.{ts,js,json,md}\"",
"format:check": "prettier --check \"./**/*.{ts,js,json,md}\"",
"configure-husky": "npx husky install && npx husky add .husky/pre-commit \"npx --no-install lint-staged\"",
"prepare": "HUSKY_GIT_DIR=../.git husky install"
},
"keywords": [
"elections",
"nc-elections",
"north-carolina",
"ncsbe",
"election-results",
"vote-tracking",
"voting-data",
"tsv-parser",
"typescript",
"nodejs",
"election-data",
"candidates",
"contests",
"precincts",
"counties",
"government-data",
"data-parsing",
"open-data",
"json",
"npm-package",
"political-data",
"live-results"
],
"author": {
"name": "Leo Davidson",
"email": "ldavidson@unc.edu",
"url": "https://davidsonleo.com"
},
"contributers": [
{
"name": "Leo Davidson",
"email": "ldavidson@unc.edu",
"url": "https://davidsonleo.com"
},
{
"name": "Gregory Glasby",
"email": "trace.glasby@gmail.com",
"url": "https://traceglasby.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/The-Daily-Tar-Heel/ncsbe-lib"
},
"license": "MIT",
"description": "JavaScript library for working with North Carolina State Board of Elections (NCSBE) historical election data",
"dependencies": {
"adm-zip": "^0.5.16",
"csv-parser": "^3.2.0",
"pino": "^9.6.0"
},
"devDependencies": {
"@babel/core": "^7.26.8",
"@babel/preset-env": "^7.26.8",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/adm-zip": "^0.5.7",
"@types/axios": "^0.14.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.1",
"axios": "^1.7.9",
"eslint": "^9.20.1",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.4.3",
"prettier": "^3.5.0",
"rollup": "^4.34.6",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./**/*.{ts,js,json,md}": [
"eslint . --fix",
"prettier --write ."
]
}
}