usb.ids 0.0.2 → 1.0.1756667319878

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "usb.ids",
3
3
  "type": "module",
4
- "version": "0.0.2",
5
- "packageManager": "pnpm@9.15.9",
4
+ "version": "1.0.1756667319878",
6
5
  "description": "A vite plugin to get USB IDs",
7
6
  "author": "Drswith",
8
7
  "license": "MIT",
@@ -30,28 +29,13 @@
30
29
  "module": "./dist/index.js",
31
30
  "types": "./dist/index.d.ts",
32
31
  "files": [
33
- "dist",
34
- "usb.ids.json"
32
+ "usb.ids",
33
+ "usb.ids.json",
34
+ "usb.ids.version.json"
35
35
  ],
36
36
  "engines": {
37
37
  "node": ">=16"
38
38
  },
39
- "scripts": {
40
- "preinstall": "npx only-allow pnpm",
41
- "build": "tsdown",
42
- "dev": "tsdown --watch",
43
- "lint": "eslint",
44
- "lint:fix": "eslint --fix",
45
- "fetch-usb-ids": "tsx scripts/fetch-usb-ids.ts",
46
- "release": "bumpp && pnpm publish",
47
- "start": "tsx src/index.ts",
48
- "test": "vitest run",
49
- "test:watch": "vitest",
50
- "typecheck": "tsc --noEmit",
51
- "prepare": "simple-git-hooks",
52
- "bumpp": "bumpp",
53
- "lint-staged": "lint-staged"
54
- },
55
39
  "devDependencies": {
56
40
  "@antfu/eslint-config": "^4.2.1",
57
41
  "@antfu/ni": "^24.1.0",
@@ -73,9 +57,26 @@
73
57
  "yaml": "^2.7.0"
74
58
  },
75
59
  "simple-git-hooks": {
76
- "pre-commit": "nr lint-staged"
60
+ "pre-commit": "npm run lint-staged"
77
61
  },
78
62
  "lint-staged": {
79
63
  "*": "eslint --fix"
64
+ },
65
+ "scripts": {
66
+ "preinstall": "npx only-allow pnpm",
67
+ "dev": "vite",
68
+ "build": "vite build",
69
+ "lint": "eslint",
70
+ "lint:fix": "eslint --fix",
71
+ "fetch-usb-ids": "tsx scripts/fetch-usb-ids.ts",
72
+ "version-info": "tsx scripts/version-info.ts",
73
+ "check-update": "tsx scripts/check-update.ts",
74
+ "release": "bumpp && pnpm publish",
75
+ "start": "tsx src/index.ts",
76
+ "test": "vitest run",
77
+ "test:watch": "vitest",
78
+ "typecheck": "tsc --noEmit",
79
+ "bumpp": "bumpp",
80
+ "lint-staged": "lint-staged"
80
81
  }
81
- }
82
+ }