@checkdigit/hash 5.0.0-PR.32-b512 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +66 -1
package/package.json CHANGED
@@ -1 +1,66 @@
1
- {"name":"@checkdigit/hash","version":"5.0.0-PR.32-b512","description":"Hash is a small function for Check Digit services to create a uuid derived from a hash generated from a given value.","homepage":"https://github.com/checkdigit/hash#readme","bugs":{"url":"https://github.com/checkdigit/hash/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/hash.git"},"license":"MIT","author":"Check Digit, LLC","sideEffects":false,"type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./dist-mjs/index.mjs"}},"files":["src","dist-types","dist-mjs","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"],"scripts":{"build:dist-mjs":"node -e \"require('node:fs').rmSync('dist-mjs', { recursive: true, force: true })\" && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"node -e \"require('node:fs').rmSync('dist-types', { recursive: true, force: true })\" && npx builder --type=types --outDir=dist-types","ci:compile":"tsc --noEmit","ci:coverage":"node -e \"const fs = require('node:fs'); fs.rmSync('coverage', { recursive: true, force: true }); fs.mkdirSync('coverage')\" && node --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"node --pending-deprecation --throw-deprecation --test-timeout 600000 --test \"src/**/*.spec.ts\"","coverage":"node --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","prepublishOnly":"npm run build:dist-types && npm run build:dist-mjs","prettier":"prettier . --check","prettier:fix":"prettier . --write","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style"},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/eslint-config":"^12.1.0","@checkdigit/prettier-config":"^8.1.1","@checkdigit/typescript-config":"^10.2.1","uuid":"^14.0.2"},"engines":{"node":">=24.18.0"},"allowScripts":{"esbuild@0.28.2":true,"unrs-resolver@1.12.2":true}}
1
+ {
2
+ "name": "@checkdigit/hash",
3
+ "version": "5.0.0",
4
+ "description": "Hash is a small function for Check Digit services to create a uuid derived from a hash generated from a given value.",
5
+ "homepage": "https://github.com/checkdigit/hash#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/checkdigit/hash/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/checkdigit/hash.git"
12
+ },
13
+ "license": "MIT",
14
+ "author": "Check Digit, LLC",
15
+ "sideEffects": false,
16
+ "type": "module",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist-types/index.d.ts",
20
+ "import": "./dist-mjs/index.mjs",
21
+ "default": "./dist-mjs/index.mjs"
22
+ }
23
+ },
24
+ "files": [
25
+ "src",
26
+ "dist-types",
27
+ "dist-mjs",
28
+ "!src/**/*.test.ts",
29
+ "!src/**/*.spec.ts",
30
+ "!dist-types/**/*.test.d.ts",
31
+ "!dist-types/**/*.spec.d.ts",
32
+ "!dist-mjs/**/*.test.mjs",
33
+ "!dist-mjs/**/*.spec.mjs",
34
+ "SECURITY.md"
35
+ ],
36
+ "scripts": {
37
+ "build:dist-mjs": "node -e \"require('node:fs').rmSync('dist-mjs', { recursive: true, force: true })\" && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
38
+ "build:dist-types": "node -e \"require('node:fs').rmSync('dist-types', { recursive: true, force: true })\" && npx builder --type=types --outDir=dist-types",
39
+ "ci:compile": "tsc --noEmit",
40
+ "ci:coverage": "node -e \"const fs = require('node:fs'); fs.rmSync('coverage', { recursive: true, force: true }); fs.mkdirSync('coverage')\" && node --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"",
41
+ "ci:lint": "npm run lint",
42
+ "ci:style": "npm run prettier",
43
+ "ci:test": "node --pending-deprecation --throw-deprecation --test-timeout 600000 --test \"src/**/*.spec.ts\"",
44
+ "coverage": "node --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"",
45
+ "lint": "eslint --max-warnings 0 .",
46
+ "lint:fix": "eslint . --fix",
47
+ "prepublishOnly": "npm run build:dist-types && npm run build:dist-mjs",
48
+ "prettier": "prettier . --check",
49
+ "prettier:fix": "prettier . --write",
50
+ "test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style"
51
+ },
52
+ "prettier": "@checkdigit/prettier-config",
53
+ "devDependencies": {
54
+ "@checkdigit/eslint-config": "^12.1.0",
55
+ "@checkdigit/prettier-config": "^8.1.1",
56
+ "@checkdigit/typescript-config": "^10.2.1",
57
+ "uuid": "^14.0.2"
58
+ },
59
+ "engines": {
60
+ "node": ">=24.18.0"
61
+ },
62
+ "allowScripts": {
63
+ "esbuild@0.28.2": true,
64
+ "unrs-resolver@1.12.2": true
65
+ }
66
+ }