-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "@checkdigit/hash",
"version": "4.0.0",
"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": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
"build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types",
"ci:compile": "tsc --noEmit",
"ci:coverage": "rimraf coverage && mkdir coverage && node --experimental-strip-types --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 --disable-warning ExperimentalWarning --experimental-strip-types --test-timeout 600000 --test \"src/**/*.spec.ts\"",
"coverage": "node --disable-warning ExperimentalWarning --experimental-strip-types --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 --ignore-path .gitignore --list-different .",
"prettier:fix": "prettier --ignore-path .gitignore --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": "^11.0.5",
"@checkdigit/prettier-config": "^6.1.0",
"@checkdigit/typescript-config": "^9.0.0",
"rimraf": "^6.0.1",
"uuid": "^11.0.5"
},
"engines": {
"node": ">=22.11"
}
}