-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.12 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 2.12 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "typed-id",
"version": "1.2.5",
"description": "A lightweight, type-safe TypeScript library for generating prefixed IDs with customizable options",
"author": "Max Programming",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/max-programming/typed-id.git"
},
"bugs": {
"url": "https://github.com/max-programming/typed-id/issues"
},
"homepage": "https://github.com/max-programming/typed-id#readme",
"keywords": [
"id",
"uuid",
"nanoid",
"typescript",
"prefixed-ids",
"type-safe",
"id-generation",
"unique-id"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./validators/*": {
"types": "./dist/validators/*.d.ts",
"require": "./dist/validators/*.cjs",
"import": "./dist/validators/*.js"
}
},
"typesVersions": {
"*": {
"validators/*": [
"dist/validators/*.d.ts"
]
}
},
"type": "module",
"scripts": {
"build": "tsup",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"publish:dry": "bun publish --dry-run",
"release": "bun test:run && bun run build",
"release:patch": "bun run release && npm version patch && git push && git push --tags",
"release:minor": "bun run release && npm version minor && git push && git push --tags",
"release:major": "bun run release && npm version major && git push && git push --tags"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^24.3.0",
"@vitest/ui": "^3.2.4",
"tsup": "^8.5.0",
"valibot": "^1.1.0",
"vitest": "^3.2.4",
"zod": "^4.0.17"
},
"peerDependencies": {
"typescript": "^5",
"valibot": "^1.1.0",
"zod": "^4.0.17"
},
"dependencies": {
"nanoid": "^5.1.5"
},
"peerDependenciesMeta": {
"valibot": {
"optional": true
},
"zod": {
"optional": true
}
}
}