-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.42 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.42 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
{
"name": "usb.ids",
"type": "module",
"version": "1.0.1766044584391",
"packageManager": "pnpm@9.15.9",
"description": "An automated USB ID's database project that provides a CLI tool and data files. It fetches the latest USB ID's data every 24 hours and publishes updated data files to npm.",
"author": "Drswith",
"license": "MIT",
"funding": "https://github.com/sponsors/Drswith",
"homepage": "https://github.com/Drswith/usb.ids#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Drswith/usb.ids.git"
},
"bugs": "https://github.com/Drswith/usb.ids/issues",
"keywords": [],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"usb-ids": "./dist/cli.js"
},
"files": [
"dist",
"usb.ids",
"usb.ids.json",
"usb.ids.version.json"
],
"engines": {
"node": ">=18"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "pnpm run fetch-usb-ids",
"dev:app": "vite --port 5173",
"build:app": "vite build",
"dev:lib": "tsdown --watch",
"build:lib": "tsdown --env.NODE_ENV=production",
"build": "run-s \"build:lib --outDir dist\" \"build:app --outDir dist/ui\"",
"lint": "eslint",
"lint:fix": "eslint --fix",
"fetch-usb-ids": "tsx src/cli.ts fetch",
"dev:ui": "tsx src/cli.ts ui",
"release": "bumpp && pnpm publish",
"start": "tsx src/index.ts",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks",
"tag": "bumpp",
"lint-staged": "lint-staged",
"diff-hash": "tsx scripts/diff-hash.ts"
},
"devDependencies": {
"@antfu/eslint-config": "^4.2.1",
"@antfu/ni": "^24.1.0",
"@antfu/utils": "^9.1.0",
"@types/node": "^22.13.10",
"bumpp": "^10.1.0",
"eslint": "9.23.0",
"eslint-plugin-format": "1.0.1",
"happy-dom": "^18.0.1",
"lint-staged": "^15.5.0",
"npm-run-all2": "^8.0.4",
"simple-git-hooks": "^2.11.1",
"tsdown": "^0.14.2",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vite": "^6.2.1",
"vitest": "^3.2.4"
},
"simple-git-hooks": {
"pre-commit": "npm run lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}