Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 2.15 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
{
"name": "@nsnanocat/preference-panes",
"version": "1.2.0",
"description": "Generic BoxJS settings frontend and persistence API for JavaScript proxy modules",
"author": "VirgilClyne <Virgil@nanocat.me>",
"homepage": "https://NSNanoCat.github.io/preference-panes",
"keywords": [
"loon",
"quantumult",
"surge",
"shadowrocket",
"stash",
"egern",
"settings"
],
"license": "Apache-2.0",
"bugs": "https://github.com/NSNanoCat/PreferencePanes/issues",
"type": "module",
"main": "src/index.mjs",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./src/index.mjs"
},
"./browser": {
"types": "./src/browser/index.d.ts",
"import": "./dist/preference-panes.mjs"
},
"./navigation": {
"types": "./src/browser/Navigation.d.mts",
"import": "./dist/navigation.mjs"
}
},
"types": "src/index.d.ts",
"scripts": {
"test": "node --test test/*.test.mjs",
"pretest": "npm run build",
"check": "npm run lint && npm run typecheck && npm test",
"lint": "biome check .",
"format": "biome check --write .",
"typecheck": "tsc --noEmit",
"build": "rollup -c",
"prebuild": "node --input-type=module -e \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\"",
"prepack": "npm run build",
"preview": "npm run build && node examples/preview.mjs",
"apifox:generate": "node apifox/generate.mjs",
"apifox:check": "node apifox/generate.mjs --check"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NSNanoCat/PreferencePanes.git"
},
"files": [
"src",
"dist",
"CHANGELOG.md"
],
"devDependencies": {
"@biomejs/biome": "2.1.4",
"@nsnanocat/url": "^1.2.6",
"@nsnanocat/util": "^2.7.4",
"@rollup/plugin-node-resolve": "^16.0.3",
"rollup": "^4.63.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
}
}