-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 2.8 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
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
127
128
129
{
"name": "nanoid",
"version": "5.0.7",
"description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
"keywords": [
"uuid",
"random",
"id",
"url"
],
"scripts": {
"clean": "rm -rf coverage",
"start": "vite test/demo/ --open",
"test:coverage": "c8 bnt",
"test:lint": "eslint .",
"test:size": "pnpm clean && size-limit",
"test": "pnpm run /^test:/"
},
"type": "module",
"engines": {
"node": "^18 || >=20"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"author": "Andrey Sitnik <[email protected]>",
"license": "MIT",
"repository": "ai/nanoid",
"exports": {
".": {
"browser": "./index.browser.js",
"default": "./index.js"
},
"./non-secure": "./non-secure/index.js",
"./package.json": "./package.json"
},
"browser": {
"./index.js": "./index.browser.js"
},
"react-native": {
"./index.js": "./index.browser.js"
},
"bin": "./bin/nanoid.js",
"sideEffects": false,
"types": "./index.d.ts",
"devDependencies": {
"@babel/core": "^7.24.7",
"@logux/eslint-config": "^53.2.0",
"@lukeed/uuid": "^2.0.1",
"@napi-rs/uuid": "^0.2.2",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@size-limit/file": "^11.1.4",
"@size-limit/webpack": "^11.1.4",
"@types/node": "^20.14.8",
"better-node-test": "^0.5.1",
"c8": "^10.1.2",
"clean-publish": "^5.0.0",
"eslint": "^9.5.0",
"rndm": "^1.2.0",
"secure-random-string": "^1.1.3",
"shortid": "^2.2.16",
"size-limit": "^11.1.4",
"terser": "^5.31.1",
"tinybench": "^2.8.0",
"uid": "^2.0.2",
"uid-safe": "^2.1.5",
"uuid": "^10.0.0",
"vite": "^5.3.1"
},
"size-limit": [
{
"name": "nanoid",
"import": "{ nanoid }",
"limit": "116 B"
},
{
"name": "customAlphabet",
"import": "{ customAlphabet }",
"limit": "165 B"
},
{
"name": "urlAlphabet",
"import": "{ urlAlphabet }",
"limit": "47 B"
},
{
"name": "non-secure nanoid",
"import": "{ nanoid }",
"path": "non-secure/index.js",
"limit": "88 B"
},
{
"name": "non-secure customAlphabet",
"import": "{ customAlphabet }",
"path": "non-secure/index.js",
"limit": "53 B"
}
],
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"clean-publish": {
"cleanDocs": true,
"cleanComments": true
},
"c8": {
"exclude": [
"bin/nanoid.js",
"**/*.test.*",
"test/*"
],
"lines": 100,
"check-coverage": true,
"reporter": [
"text",
"lcov"
],
"skip-full": true,
"clean": true
}
}