-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
64 lines (64 loc) · 1.65 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
{
"name": "xid-ts",
"type": "module",
"version": "1.1.4",
"author": "0xZensh <[email protected]>",
"description": "xid is a globally unique id generator thought for the web. A Typescript port of https://github.com/rs/xid.",
"license": "MIT",
"homepage": "https://github.com/yiwen-ai/xid-ts",
"repository": {
"type": "git",
"url": "git+https://github.com/yiwen-ai/xid-ts.git"
},
"files": [
"dist",
"package.json",
"LICENSE",
"README.md"
],
"unpkg": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"typings": "./dist/esm/index.d.ts",
"browser": {
"node:crypto": false
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"clean": "rm -rf dist",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss,svelte}\"",
"ncu": "npx npm-check-updates -u",
"test": "vitest src --coverage --run"
},
"devDependencies": {
"@types/node": "^22.5.1",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vitest/coverage-v8": "^2.0.5",
"cborg": "^4.2.3",
"eslint": "^9.9.1",
"eslint-plugin-import": "^2.29.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"dependencies": {},
"keywords": [
"xid",
"unique",
"uuid"
]
}