UNPKG

@natlibfi/marc-record

Version:

MARC record implementation in JavaScript

119 lines (118 loc) 2.65 kB
{ "name": "@natlibfi/marc-record", "description": "MARC record implementation in JavaScript", "contributors": [ { "name": "The National Library of Finland" }, { "name": "Pasi Tuominen", "email": "pasi.tuominen@gmail.com" } ], "keywords": [ "library", "libraries", "bibliography", "bibliographic" ], "homepage": "https://github.com/natlibfi/marc-record-js", "bugs": { "url": "https://github.com/natlibfi/marc-record-js/issues" }, "repository": { "type": "git", "url": "git@github.com:natlibfi/marc-record-js.git" }, "license": "MIT", "version": "9.1.5", "main": "./dist/index.js", "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "scripts": { "prepare": "npm run build", "lint": "eslint src", "lint:dev": "eslint --fix src", "test:base": "cross-env NODE_ENV=test mocha --require @babel/register --reporter-option maxDiffSize=15000 src/*.spec.js", "test": "npm run lint && npm run test:base", "test:dev": "clear && npm run lint:dev && npm run coverage", "coverage": "npm run coverage:unit && npm run coverage:report", "coverage:unit": "nyc --silent npm run test:base", "coverage:report": "nyc report --reporter=text", "build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist", "dev:test": "cross-env DEBUG=@natlibfi/* NODE_ENV=test nodemon -w src -w test-fixtures --exec 'npm run test:dev'" }, "dependencies": { "debug": "^4.4.0", "jsonschema": "^1.5.0" }, "devDependencies": { "@babel/cli": "^7.27.1", "@babel/core": "^7.27.1", "@babel/node": "^7.27.1", "@babel/plugin-transform-runtime": "^7.27.1", "@babel/preset-env": "^7.27.1", "@babel/register": "^7.27.1", "@babel/runtime": "^7.27.1", "@natlibfi/eslint-config-melinda-backend": "^3.0.5", "@natlibfi/fixugen": "^2.0.14", "@natlibfi/fixura": "^3.0.13", "babel-plugin-istanbul": "^7.0.0", "chai": "^4.5.0", "cross-env": "^7.0.3", "eslint": "^8.57.1", "mocha": "^11.2.2", "nodemon": "^3.1.10", "nyc": "^17.1.0" }, "eslintConfig": { "extends": "@natlibfi/melinda-backend" }, "babel": { "plugins": [ [ "@babel/transform-runtime" ] ], "presets": [ [ "@babel/preset-env", { "targets": [ "defaults", "maintained node versions" ] } ] ], "env": { "test": { "plugins": [ "istanbul" ] } } }, "nyc": { "exclude": [ "*/*.spec.js" ], "reporter": [ "lcov", "html" ], "require": [ "@babel/register" ], "sourceMap": false, "instrument": false, "lines": 100, "statements": 100, "functions": 100, "branches": 100 } }