uom-types
Version:
Typesafe units with no runtime overhead.
156 lines (155 loc) • 5.39 kB
JSON
{
"name": "uom-types",
"version": "5.0.1",
"description": "Typesafe units with no runtime overhead.",
"keywords": [
"uom",
"units",
"measure",
"types"
],
"homepage": "https://github.com/RebeccaStevens/uom-types#readme",
"bugs": {
"url": "https://github.com/RebeccaStevens/uom-types/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/RebeccaStevens/uom-types"
},
"funding": [
{
"type": "ko-fi",
"url": "https://ko-fi.com/rebeccastevens"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/uom-types"
}
],
"license": "BSD-3-Clause",
"author": {
"name": "Rebecca Stevens",
"email": "rebecca.stevens@outlook.co.nz"
},
"sideEffects": false,
"type": "module",
"exports": {
"types": {
"import": "./dist/index.d.mts",
"require": "./dist/index.d.cts"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"files": [
"dist/",
"package.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "pnpm run build-pre && pnpm run build:js",
"build-pre": "pnpm run generate-files",
"build:js": "rimraf dist && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript --configImportAttributesKey with",
"cz": "git-cz",
"docs": "typedoc",
"docs:serve": "http-serve docs/generated",
"generate-files": "tsx ./scripts/generate-files.ts",
"lint": "eslint && pnpm run lint:md && pnpm run lint:spelling && pnpm run lint:knip && pnpm run lint:packages",
"lint-fix": "eslint --fix && pnpm run lint:md-fix && pnpm run lint:packages-fix",
"lint:js": "eslint \"**/*.?([cm])[jt]s?(x)\"",
"lint:js-fix": "eslint \"**/*.?([cm])[jt]s?(x)\" --fix",
"lint:knip": "pnpm run lint:knip:development && pnpm run lint:knip:production",
"lint:knip:development": "knip",
"lint:knip:production": "knip --production",
"lint:md": "markdownlint-cli2",
"lint:md-fix": "markdownlint-cli2 --fix",
"lint:md-full": "pnpm run lint:md && eslint \"**/*.md\"",
"lint:md-full-fix": "pnpm run lint:md-fix && eslint \"**/*.md\" --fix",
"lint:packages": "pnpm dedupe --check",
"lint:packages-fix": "pnpm dedupe",
"lint:spelling": "cspell lint --no-progress --show-suggestions --show-context --dot \"**\" \".github/**/*\"",
"lint:yaml": "eslint \"**/*.y?(a)ml\"",
"lint:yaml-fix": "eslint \"**/*.y?(a)ml\" --fix",
"prepare": "husky && pnpm run generate-files",
"release": "semantic-release",
"test": "pnpm run test:js-run && pnpm run test:types",
"test:js": "vitest --coverage",
"test:js-run": "vitest run --coverage",
"test:types": "pnpm run test:types-pre && tsd -t './dist/index.d.mts' -f 'src/**/*.test-d.ts'",
"test:types-pre": "pnpm run build",
"typecheck": "tsc -p src/tsconfig.json --noEmit"
},
"devDependencies": {
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@cspell/dict-cryptocurrencies": "5.0.3",
"@eslint/compat": "1.2.4",
"@rebeccastevens/eslint-config": "3.3.4",
"@rollup/plugin-typescript": "12.1.1",
"@sebbo2002/semantic-release-jsr": "2.0.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "11.0.1",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.1",
"@stylistic/eslint-plugin": "2.12.1",
"@types/node": "18.19.67",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"@vitest/coverage-v8": "2.1.8",
"@vitest/eslint-plugin": "1.1.16",
"commitizen": "4.3.1",
"cspell": "8.16.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-flat-config-utils": "0.4.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-merge-processors": "0.1.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-format": "0.1.3",
"eslint-plugin-functional": "7.1.0",
"eslint-plugin-import-x": "4.5.0",
"eslint-plugin-jsdoc": "50.6.1",
"eslint-plugin-jsonc": "2.18.2",
"eslint-plugin-markdown": "5.1.0",
"eslint-plugin-n": "17.15.0",
"eslint-plugin-no-only-tests": "3.3.0",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-promise": "7.2.1",
"eslint-plugin-regexp": "2.7.0",
"eslint-plugin-sonarjs": "3.0.1",
"eslint-plugin-unicorn": "56.0.1",
"eslint-plugin-yml": "1.16.0",
"http-serve": "1.0.1",
"husky": "9.1.7",
"jsonc-eslint-parser": "2.4.0",
"knip": "5.40.0",
"lint-staged": "15.2.11",
"markdownlint-cli2": "0.16.0",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"rollup": "4.28.1",
"rollup-plugin-deassert": "1.3.0",
"rollup-plugin-dts-bundle-generator-2": "2.0.0",
"semantic-release": "24.2.0",
"tsafe": "1.8.5",
"tsc-files": "1.1.4",
"tsd": "0.31.2",
"tsx": "4.19.2",
"typedoc": "0.27.4",
"typedoc-plugin-coverage": "3.4.0",
"typescript": "5.7.2",
"vite-tsconfig-paths": "5.1.4",
"vitest": "2.1.8",
"yaml-eslint-parser": "1.2.3"
},
"packageManager": "pnpm@9.15.0",
"engines": {
"node": ">=18.0.0"
}
}