-
-
Notifications
You must be signed in to change notification settings - Fork 842
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 2.94 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 2.94 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "nanoid",
"version": "5.1.9",
"description": "A tiny (118 bytes), secure URL-friendly unique string ID generator",
"keywords": [
"id",
"random",
"url",
"uuid"
],
"license": "MIT",
"author": "Andrey Sitnik <andrey@sitnik.es>",
"repository": "ai/nanoid",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"bin": "./bin/nanoid.js",
"type": "module",
"sideEffects": false,
"browser": {
"./index.js": "./index.browser.js"
},
"types": "./index.d.ts",
"react-native": {
"./index.js": "./index.browser.js"
},
"exports": {
".": {
"types": "./index.d.ts",
"browser": "./index.browser.js",
"react-native": "./index.browser.js",
"default": "./index.js"
},
"./non-secure": {
"types": "./non-secure/index.d.ts",
"default": "./non-secure/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rm -rf coverage",
"start": "vite --host 0.0.0.0 test/demo/",
"test:coverage": "bnt --coverage 100 --coverage-exclude 'test/*'",
"test:lint": "oxlint",
"test:size": "pnpm clean && size-limit",
"test:versions": "node ./test/check-versions.js",
"test:prebuild": "node ./test/check-prebuild.js",
"test": "pnpm run /^test:/"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@logux/oxc-configs": "^0.2.2",
"@lukeed/uuid": "^2.0.1",
"@napi-rs/uuid": "^0.2.2",
"@size-limit/file": "^12.0.1",
"@size-limit/webpack": "^12.0.1",
"actions-up": "^1.13.0",
"better-node-test": "^0.8.4",
"clean-publish": "^6.0.5",
"eslint-plugin-prefer-let": "^4.2.2",
"oxlint": "^1.59.0",
"oxlint-tsgolint": "^0.20.0",
"rndm": "^1.2.0",
"secure-random-string": "^1.1.4",
"simple-git-hooks": "^2.13.1",
"size-limit": "^12.0.1",
"terser": "^5.46.1",
"tinybench": "^6.0.0",
"typescript": "^6.0.2",
"uid": "^2.0.2",
"uid-safe": "^2.1.5",
"uuid": "^13.0.0",
"vite": "^8.0.8"
},
"simple-git-hooks": {
"pre-commit": "./test/check-versions.js"
},
"size-limit": [
{
"name": "nanoid",
"import": "{ nanoid }",
"limit": "118 B"
},
{
"name": "customAlphabet",
"import": "{ customAlphabet }",
"limit": "207 B"
},
{
"name": "urlAlphabet",
"import": "{ urlAlphabet }",
"limit": "47 B"
},
{
"name": "non-secure nanoid",
"import": "{ nanoid }",
"path": "non-secure/index.js",
"limit": "90 B"
},
{
"name": "non-secure customAlphabet",
"import": "{ customAlphabet }",
"path": "non-secure/index.js",
"limit": "53 B"
}
],
"engines": {
"node": "^18 || >=20"
},
"pnpm": {
"ignoredBuiltDependencies": [
"esbuild",
"unrs-resolver"
],
"onlyBuiltDependencies": [
"simple-git-hooks"
]
},
"clean-publish": {
"cleanDocs": true,
"cleanComments": true
}
}