-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.51 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
{
"name": "browser-agent",
"version": "3.0.1",
"description": "Get users browser & os information (Uses userAgent)",
"type": "module",
"repository": "[email protected]:TessavWalstijn/browser-agent.git",
"author": "TessavWalstijn <[email protected]>",
"license": "MIT",
"packageManager": "[email protected]",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"main": "./dist/index.cjs",
"scripts": {
"collection:update": "node ./build/collection",
"collection:build": "cd ./collection && tsup ../source/browsers/userAgents.ts --format esm,cjs,iife --dts",
"collection:publish": "cd ./collection && npm publish --access public",
"dev": "ts-node --project tsconfig.dev.json ./source/dev",
"build": "tsup source/index.ts --format esm,cjs,iife --dts",
"build:test": "vitest --config vitest.build.config.ts",
"build:tsc": "yarn build:esm && yarn build:cjs",
"build:esm": "npx tsc --build tsconfig.esm.json",
"build:cjs": "npx tsc --build tsconfig.cjs.json",
"test": "vitest"
},
"engines": {
"node": ">= 16"
},
"devDependencies": {
"@types/eslint": "^8",
"@types/node": "^20.11.15",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"commander": "^12.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.2.4",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^1.2.2"
}
}