NatLibFi/melinda-marc-record-utils

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "@natlibfi/melinda-marc-record-utils",
    "description": "Utility functions for dealing with MARC records",
    "author": {
        "name": "The National Library of Finland"
    },
    "keywords": [],
    "homepage": "https://github.com/natlibfi/melinda-marc-record-utils",
    "bugs": {
        "url": "https://github.com/natlibfi/melinda-marc-record-utils/issues"
    },
    "repository": {
        "type": "git",
        "url": "git@github.com:natlibfi/melinda-marc-record-utils.git"
    },
    "license": "LGPL-3.0+",
    "version": "1.2.1",
    "main": "./dist/index.js",
    "engines": {
        "node": ">=8"
    },
    "scripts": {
        "prepublishOnly": "npm run build:transpile",
        "check-deps": "npm-check;exit 0",
        "lint": "eslint --fix src",
        "test:base": "cross-env NODE_ENV=test mocha --require @babel/register",
        "test": "npm run lint && npm run test:base -- test/*.spec.js",
        "build:transpile": "babel src --copy-files --source-maps --delete-dir-on-start --out-dir=dist",
        "build": "npm run build:transpile && npm run check-deps",
        "watch": "cross-env NODE_ENV=test chokidar src -c 'npm test'"
    },
    "dependencies": {
        "@babel/register": "^7.0.0",
        "csv-parse": "^4.3.4",
        "debug": "^4.1.1",
        "lodash": "^4.17.11",
        "marc-record-js": "^0.3.2"
    },
    "devDependencies": {
        "@babel/cli": "^7.2.0",
        "@babel/core": "^7.2.0",
        "@babel/preset-env": "^7.2.0",
        "babel-eslint": "^10.0.1",
        "babel-plugin-rewire": "^1.2.0",
        "chai": "^4.2.0",
        "chokidar-cli": "^1.2.0",
        "cross-env": "^5.1.1",
        "eslint": "^5.9.0",
        "eslint-config-xo": ">=0.25.1 <1.0.0",
        "eslint-plugin-import": "^2.16.0",
        "mocha": "^6.0.2",
        "nock": "^10.0.6",
        "npm-check": "^5.9.0"
    },
    "eslintConfig": {
        "parser": "babel-eslint",
        "plugins": [
            "import"
        ],
        "extends": [
            "xo",
            "plugin:import/errors"
        ],
        "rules": {
            "prefer-arrow-callback": [
                "error"
            ]
        },
        "env": {
            "mocha": true
        }
    },
    "babel": {
        "presets": [
            [
                "@babel/preset-env",
                {
                    "targets": {
                        "node": "8"
                    }
                }
            ]
        ],
        "env": {
            "test": {
                "plugins": [
                    "rewire"
                ]
            }
        }
    }
}