-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.21 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@justkd/uidmanager",
"author": "Cadence Holmes, @justkd",
"version": "1.2.1",
"license": "MIT",
"description": "Generate RFC4122 version 4 compliant unique identifiers and associate them with entities in a `map`. Guarantees the generated identifier is unique compared to all other previously stored keys. Export and restore the map entities to facilitate persistence. Validates external UIDs for compliance and uniqueness.",
"keywords": [
"id",
"uid",
"uuid",
"unique",
"identifier",
"manage",
"manager",
"storage",
"validator",
"validate",
"validation",
"generate",
"generator",
"map",
"mapper",
"mapped",
"npm"
],
"repository": {
"type": "git",
"url": "https://github.com/justkd/uidmanager"
},
"scripts": {
"test": "npx mocha --require mocha-dom",
"watch": "npx mocha -w --require mocha-dom",
"build": "npm run build:lib && npm run build:docs && npm run minify",
"build:lib": "rm ./publish/lib -d -r -f && npx tsc && cp README.md publish && cp LICENSE publish",
"build:docs": "rm ./docs -d -r && npx typedoc --out docs src/index.ts --cleanOutputDir",
"minify": "npx minify-all-js ./publish && npx minify-all-js ./docs",
"publish:private": "cd publish && npm run publish",
"publish:public": "cd publish && npm run publish:public"
},
"dependencies": {},
"devDependencies": {
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"@types/node": "20.8.5",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"chai": "4.3.7",
"eslint": "8.44.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-plugin-import": "2.27.5",
"jsdom": "17.0.0",
"lint-staged": "13.2.3",
"minify-all-js": "0.1.9",
"mocha": "10.2.0",
"mocha-dom": "1.0.0",
"ts-node": "10.9.1",
"typedoc": "0.24.8",
"typedoc-plugin-markdown": "3.15.3",
"typescript": "5.1.6"
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix"
]
},
"mocha": {
"extension": [
"ts"
],
"watch-files": [
"src/**/*.ts",
"test/**/*.ts"
],
"require": "ts-node/register"
}
}