-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.77 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.77 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
{
"name": "msid",
"version": "0.6.2",
"description": "Minimal, monotonic, URL-safe, Client-first, reversible date-based IDs - just 7 chars for millisecond precision!",
"keywords": [
"date",
"encoder",
"decoder",
"base-n",
"reversible",
"milliseconds",
"seconds",
"day",
"monotonic"
],
"homepage": "https://github.com/nrjdalal/msid#readme",
"bugs": "https://github.com/nrjdalal/msid/issues",
"repository": "nrjdalal/msid",
"funding": "https://github.com/sponsors/nrjdalal",
"license": "MIT",
"author": {
"name": "Neeraj Dalal",
"email": "admin@nrjdalal.com",
"url": "https://nrjdalal.com"
},
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"bench": "sh test/bench.sh",
"build": "tsup",
"dev": "tsup --watch",
"prepare": "npx simple-git-hooks",
"test": "bun test/index.ts && node test/bench.js msid && node test/bench.js decode"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit $1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"package.json": "sort-package-json"
},
"prettier": {
"plugins": [
"@ianvs/prettier-plugin-sort-imports"
],
"semi": false
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@types/node": "^22.15.32",
"lint-staged": "^15.5.2",
"prettier": "^3.5.3",
"simple-git-hooks": "^2.13.0",
"sort-package-json": "^3.2.1",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"ulid": "^3.0.1"
}
}