footageone/HATEOAS-link-resolver

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "hateoas-link-resolver",
  "version": "1.2.0",
  "description": "",
  "keywords": [
    "hateoas-link-resolver",
    "hateoas",
    "rest",
    "api",
    "restful"
  ],
  "homepage": "https://github.com/footageone/HATEOAS-link-resolver#readme",
  "bugs": {
    "url": "https://github.com/footageone/HATEOAS-link-resolver/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/footageone/HATEOAS-link-resolver.git"
  },
  "license": "MIT",
  "author": "daniel.schuba@footage.one",
  "sideEffects": false,
  "source": "src/index.ts",
  "main": "dist/cjs/index.cjs",
  "module": "dist/esm/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    "require": "./dist/cjs/index.cjs",
    "import": "./dist/esm/index.js"
  },
  "files": [
    "dist"
  ],
  "browserslist": [
    "last 2 Chrome versions",
    "node >= 14"
  ],
  "scripts": {
    "test": "jest",
    "test:ci": "jest --ci --coverage --reporters=\"default\" --reporters=\"github-actions\"",
    "clean": "rimraf lib",
    "declarations": "tsc -p tsconfig.json",
    "build:esm": "cross-env BABEL_ENV=esmUnbundled babel src --extensions '.ts' --out-dir 'dist/esm' --source-maps",
    "build:cjs": "cross-env BABEL_ENV=cjs babel src --extensions '.ts' --out-dir 'dist/cjs' --source-maps --out-file-extension .cjs",
    "build:bundles": "cross-env BABEL_ENV=esmBundled rollup -c",
    "build": "npm-run-all -l clean -p build:esm build:cjs build:bundles declarations"
  },
  "devDependencies": {
    "@babel/cli": "^7.18.10",
    "@babel/core": "^7.18.10",
    "@babel/plugin-proposal-optional-chaining": "^7.18.9",
    "@babel/preset-env": "^7.18.10",
    "@babel/preset-typescript": "^7.18.6",
    "@rollup/plugin-babel": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.0.0",
    "@testdeck/jest": "^0.3.0",
    "@types/chai": "^4.3.1",
    "@types/jest": "^29.0.0",
    "babel-plugin-add-import-extension": "^1.6.0",
    "chai": "^4.3.6",
    "cross-env": "^7.0.3",
    "jest": "^29.0.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.7.1",
    "rimraf": "^5.0.0",
    "rollup": "^2.77.2",
    "rollup-plugin-terser": "^7.0.2",
    "ts-jest": "^29.0.0",
    "ts-node": "^10.9.1",
    "typescript": "^4.7.4"
  }
}