-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.19 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.19 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
{
"name": "express-useragent",
"description": "JS Library & ExpressJS user-agent middleware exposing",
"version": "2.1.0",
"homepage": "https://github.com/biggora/express-useragent/",
"repository": {
"type": "git",
"url": "git://github.com/biggora/express-useragent.git"
},
"license": "MIT",
"author": {
"name": "Aleksejs Gordejevs",
"email": "aleksej@gordejev.lv",
"url": "https://github.com/biggora"
},
"contributors": [
{
"name": "Kacper Glowacki",
"url": "https://github.com/kacperus"
},
{
"name": "elisee",
"url": "https://github.com/elisee"
},
{
"name": "Bitdeli Chef",
"url": "https://github.com/bitdeli-chef"
},
{
"name": "Nicolas Tobo",
"url": "https://github.com/nicolastobo"
},
{
"name": "Samy Pess�",
"url": "https://github.com/SamyPesse"
},
{
"name": "Artem Nezvigin",
"url": "https://github.com/artnez"
},
{
"name": "Josh Dickson",
"url": "https://github.com/joshdickson40"
},
{
"name": "Kewang",
"url": "https://github.com/kewang"
}
],
"keywords": [
"useragent",
"connect",
"express",
"trinte",
"browser",
"compound",
"middleware"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"test": "npm run test:vitest",
"test:vitest": "npm run build --silent && vitest run --config vitest.config.mjs",
"test:watch": "npm run build --silent && vitest watch --config vitest.config.mjs",
"express": "tsx examples/server.ts",
"http": "tsx examples/http.ts",
"simple": "tsx examples/simple.ts",
"build": "npm run clean && npm run build:ts",
"build:ts": "tsup --config tsup.config.ts",
"build:watch": "npm run build:ts -- --watch",
"clean": "rimraf dist",
"lint": "eslint \"{src,tests,examples}/**/*.{ts,tsx}\"",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write \"{src,tests,examples}/**/*.{ts,tsx,js,cjs,mjs,json,md}\"",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"directories": {
"tests": "tests/legacy"
},
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
},
"./browser": {
"types": "./dist/index.d.ts",
"default": "./dist/browser/express-useragent.global.js"
},
"./browser/min": {
"types": "./dist/index.d.ts",
"default": "./dist/browser/express-useragent.global.min.js"
},
"./package.json": "./package.json"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@types/express": "^5.0.5",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"express": "^5.1.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "^5.4.2",
"vitest": "^4.0.5"
}
}