healthone
Version:
Health One format library for JavaScript
378 lines (377 loc) • 8.96 kB
JSON
{
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72",
"name": "healthone",
"description": "Health One format library for JavaScript",
"version": "7.0.0",
"license": "AGPL-3.0",
"author": "make-github-pseudonymous-again",
"homepage": "https://infoderm.github.io/healthone",
"repository": {
"type": "git",
"url": "https://github.com/infoderm/healthone"
},
"bugs": {
"url": "https://github.com/infoderm/healthone/issues"
},
"keywords": [
"Health",
"One",
"format",
"parser"
],
"sideEffects": false,
"type": "module",
"source": "src/index.js",
"main": "dist/default/index.cjs",
"module": "dist/module/index.js",
"esmodule": "dist/module/index.js",
"exports": {
".": {
"browser": "./dist/browser/index.cjs",
"node": "./dist/node/index.cjs",
"default": "./dist/default/index.cjs"
},
"./*": {
"browser": "./dist/browser/*.cjs",
"node": "./dist/node/*.cjs",
"default": "./dist/default/*.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm-run-all --parallel build:*",
"build-cmd": "babel --delete-dir-on-start --source-maps --minified src",
"build-docs": "esdoc",
"build-gh-pages": "npm run build-docs",
"build:browser": "npm run build-cmd -- --env-name browser --out-dir dist/browser --out-file-extension .cjs",
"build:default": "npm run build-cmd -- --env-name production --out-dir dist/default --out-file-extension .cjs",
"build:module": "npm run build-cmd -- --env-name module --out-dir dist/module --out-file-extension .js",
"build:node": "npm run build-cmd -- --env-name node --out-dir dist/node --out-file-extension .cjs",
"ci:test": "npm run lint-config && npm run lint && npm run cover",
"commit-msg": "commitlint --edit",
"cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
"debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
"dev": "npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast",
"install-hooks": "husky install",
"lint": "xo",
"lint-and-fix": "npm run lint -- --fix",
"lint-config": "fixpack --dryRun",
"lint-config-and-fix": "fixpack || fixpack",
"_postinstall": "npm run install-hooks",
"postpublish": "pinst --enable",
"precommit": "lint-staged",
"prepare": "npm run build",
"prepublishOnly": "pinst --disable",
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
"test": "TZ=Europe/Brussels ava"
},
"dependencies": {
"@iterable-iterator/cardinality": "^4.0.0",
"@iterable-iterator/filter": "^1.0.1",
"@iterable-iterator/zip": "^1.0.1",
"date-fns": "^3.3.1",
"lodash.mergewith": "^4.6.2"
},
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.7",
"@babel/preset-env": "7.26.7",
"@babel/register": "7.25.9",
"@commitlint/cli": "19.2.1",
"@faker-js/faker": "^8.4.1",
"@js-library/commitlint-config": "0.0.4",
"ava": "6.2.0",
"babel-plugin-replace-import-extension": "1.1.4",
"babel-plugin-transform-remove-console": "6.9.4",
"babel-plugin-unassert": "3.2.0",
"babel-preset-minify": "0.5.2",
"babel-preset-power-assert": "3.0.0",
"c8": "10.1.3",
"chardet": "2.0.0",
"esdoc": "1.1.0",
"esdoc-ecmascript-proposal-plugin": "1.0.0",
"esdoc-inject-script-plugin": "1.0.0",
"esdoc-inject-style-plugin": "1.0.0",
"esdoc-standard-plugin": "1.0.0",
"fixpack": "4.0.0",
"husky": "9.1.7",
"iconv-lite": "0.6.3",
"lint-staged": "15.4.3",
"np": "10.2.0",
"npm-run-all2": "6.1.2",
"pinst": "3.0.0",
"power-assert": "1.6.1",
"regenerator-runtime": "0.14.1",
"xo": "0.58.0"
},
"ava": {
"files": [
"test/src/**/*"
],
"require": [
"regenerator-runtime/runtime.js",
"@babel/register"
],
"timeout": "1m"
},
"babel": {
"sourceMaps": true,
"presets": [
[
"@babel/preset-env",
{
"targets": "current node"
}
]
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
],
"env": {
"debug": {
"presets": [
"babel-preset-power-assert"
],
"plugins": [
[
"transform-remove-console",
{
"exclude": [
"debug",
"log",
"error",
"warn"
]
}
]
]
},
"test": {
"presets": [
"babel-preset-power-assert"
]
},
"cover": {
"sourceMaps": "both",
"presets": [
"babel-preset-power-assert"
]
},
"development": {
"presets": [
[
"@babel/preset-env",
{
"targets": [
"defaults",
"maintained node versions"
]
}
],
"babel-preset-power-assert"
]
},
"production": {
"presets": [
[
"@babel/preset-env",
{
"targets": [
"defaults",
"maintained node versions"
]
}
],
[
"minify",
{
"builtIns": false
}
]
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".cjs"
}
}
],
"babel-plugin-unassert"
]
},
"browser": {
"presets": [
[
"@babel/preset-env",
{
"targets": [
"defaults"
]
}
],
[
"minify",
{
"builtIns": false
}
]
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".cjs"
}
}
],
"babel-plugin-unassert",
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
},
"module": {
"presets": [
[
"@babel/preset-env",
{
"bugfixes": true,
"modules": false,
"targets": {
"esmodules": true
}
}
],
[
"minify",
{
"builtIns": false
}
]
],
"plugins": [
"babel-plugin-unassert",
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
},
"node": {
"presets": [
[
"@babel/preset-env",
{
"targets": [
"maintained node versions"
]
}
],
[
"minify",
{
"builtIns": false
}
]
],
"plugins": [
[
"replace-import-extension",
{
"extMapping": {
".js": ".cjs"
}
}
],
"babel-plugin-unassert",
[
"transform-remove-console",
{
"exclude": [
"log",
"error",
"warn"
]
}
]
]
}
}
},
"lint-staged": {
"*.?mjs": [
"npm run lint-and-fix"
],
"package.json": [
"npm run lint-config-and-fix"
]
},
"prettier": {
"trailingComma": "all"
},
"xo": {
"prettier": true,
"plugins": [
"unicorn"
],
"rules": {
"node/file-extension-in-import": "off",
"unicorn/filename-case": [
"error",
{
"case": "camelCase"
}
],
"unicorn/prevent-abbreviations": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"parent",
"sibling",
"index"
],
"newlines-between": "always",
"warnOnUnassignedImports": true
}
]
},
"overrides": [
{
"files": [
"doc/**"
],
"env": "browser"
}
]
}
}