OpenHPS/openhps-csv

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@openhps/csv",
  "version": "0.1.0-alpha.61",
  "description": "Open Hybrid Positioning System - CSV Nodes",
  "author": "Maxim Van de Wynckel",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/OpenHPS/openhps-csv.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "main": "./dist/cjs/index.js",
  "type": "commonjs",
  "types": "./dist/cjs/index.d.ts",
  "module": "./dist/esm/index.js",
  "exports": {
    "require": "./dist/cjs/index.js",
    "import": "./dist/esm/index.js"
  },
  "files": [
    "dist/**/*",
    "src/**/*"
  ],
  "scripts": {
    "test": "mocha --experimental-worker",
    "test:jenkins": "jenkins-mocha --cobertura",
    "cover": "nyc mocha && nyc report --reporter=cobertura",
    "lint": "eslint src/**",
    "clean": "shx rm -rf ./dist && shx rm -rf ./docs/out",
    "build": "npm run clean && npm-run-all --parallel build:esm build:cjs build:typedoc && npm run build:webpack",
    "build:esm": "tsc --module es2015 --outDir dist/esm",
    "build:cjs": "tsc --module commonjs  --outDir dist/cjs",
    "build:webpack": "npm-run-all --parallel build:webpack:*",
    "build:webpack:prod": "webpack --env prod --progress --",
    "build:webpack:dev": "webpack --env dev --progress --",
    "build:typedoc": "typedoc --options docs/typedoc.json",
    "publish:development": "standard-version --prerelease alpha -m 'chore(alpha): %s' --author='ci <ci@openhps.org>' && npm publish --tag dev",
    "publish:beta": "standard-version --prerelease beta -m 'chore(beta): %s' --author='ci <ci@openhps.org>' && npm publish --tag beta",
    "publish:release": "standard-version -m 'chore(release): %s' --author='ci <ci@openhps.org>' && npm publish --tag latest"
  },
  "keywords": [
    "openhps",
    "csv"
  ],
  "dependencies": {
    "csv-parser": "^2.3.5",
    "csv-writer": "^1.6.0"
  },
  "peerDependencies": {
    "@openhps/core": ">=0.2.0-alpha.9",
    "reflect-metadata": ">=0.1.13"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
    "@openhps/core": ">=0.2.0-alpha.9",
    "@types/chai": "^4.2.14",
    "@types/mocha": "^5.2.7",
    "@types/node": "^12.19.9",
    "@typescript-eslint/eslint-plugin": ">=4.10.0",
    "@typescript-eslint/parser": ">=4.10.0",
    "buffer": "^6.0.3",
    "chai": "^4.2.0",
    "eslint": ">=7.15.0",
    "eslint-config-prettier": ">=7.0.0",
    "eslint-plugin-import": ">=2.22.1",
    "eslint-plugin-jsdoc": ">=30.7.8",
    "eslint-plugin-prettier": ">=3.3.0",
    "husky": "^4.3.6",
    "jenkins-mocha": "^8.0.0",
    "mocha": "^6.2.3",
    "npm-run-all": "^4.1.5",
    "nyc": "^14.1.1",
    "prettier": "^2.2.1",
    "reflect-metadata": ">=0.1.13",
    "shx": "^0.3.3",
    "standard-version": "^7.1.0",
    "stream-browserify": "^3.0.0",
    "ts-node": "^8.10.2",
    "typedoc": ">=0.20.4",
    "typescript": "^4.1.3",
    "webpack": "^5.11.1",
    "webpack-cli": "^4.3.0"
  },
  "nyc": {
    "branches": 0,
    "lines": 20,
    "functions": 17,
    "statements": 20,
    "include": [
      "src"
    ],
    "exclude": [
      "test"
    ],
    "extension": [
      ".ts"
    ],
    "reporter": [
      "lcov",
      "text-summary"
    ],
    "cache": true,
    "all": true,
    "check-coverage": true,
    "report-dir": "./coverage"
  },
  "engines": {
    "node": ">=12.0.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint",
      "pre-push": "npm run test",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}