-
Notifications
You must be signed in to change notification settings - Fork 92
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.42 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 3.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
{
"name": "remote-torrent-adder",
"version": "2.0.6",
"type": "module",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prebuild": "npm test",
"prebuild:prod": "npm test",
"build": "npm run clean && npm run copy-assets && npm run rollup && npm run build:popup && npm run build:options && npm run build:notifications",
"build:popup": "vite build --config vite.popup.config.ts",
"build:options": "vite build --config vite.options.config.ts",
"build:notifications": "vite build --config vite.notifications.config.ts",
"dev:popup": "vite --config vite.popup.config.ts",
"dev:options": "vite --config vite.options.config.ts",
"build:popup:prod": "cross-env PROD=true vite build --config vite.popup.config.ts",
"build:options:prod": "cross-env PROD=true vite build --config vite.options.config.ts",
"build:notifications:prod": "cross-env PROD=true vite build --config vite.notifications.config.ts",
"build:prod": "npm run clean:prod && npm run copy-assets:prod && npm run rollup -- --configProd && npm run build:popup:prod && npm run build:options:prod && npm run build:notifications:prod",
"clean": "rimraf dist",
"clean:prod": "rimraf dist-prod",
"copy": "cpy 'src/**' dist --parents",
"copy:prod": "cpy 'src/**' dist-prod --parents",
"copy-assets": "cpy 'src/**/*.{json,html,css,png,svg,ogg}' dist --parents",
"copy-assets:prod": "cpy 'src/**/*.{json,html,css,png,svg,ogg}' dist-prod --parents",
"rollup": "rollup -c",
"compile": "tsc --noEmit false --outDir dist",
"watch": "npm run build && concurrently \"npm run watch:files\" \"npm run watch:ts\"",
"watch:files": "chokidar 'src/**/*.{json,html,css,js}' -c 'npm run copy'",
"watch:assets": "chokidar 'src/**/*.{json,html,css,png,svg,ogg}' -c 'npm run copy-assets'",
"watch:ts": "tsc --watch --noEmit false --outDir dist",
"watch:rollup": "rollup -c -w",
"dev": "npm run build && concurrently \"npm run watch:assets\" \"npm run watch:rollup\""
},
"devDependencies": {
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@tailwindcss/postcss": "^4.3.1",
"@types/bencode": "^2.0.4",
"@types/chrome": "^0.1.43",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "^4.1.9",
"chokidar-cli": "^3.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"concurrently": "^10.0.3",
"cpy-cli": "^7.0.0",
"cross-env": "^10.1.0",
"jsdom": "^29.1.1",
"lucide-react": "^1.21.0",
"postcss": "^8.5.15",
"rimraf": "^6.1.3",
"rollup": "^4.62.2",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.3.1",
"tailwindcss-animate": "^1.0.7",
"ts-loader": "^9.6.1",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vitest": "^4.1.9"
},
"dependencies": {
"@radix-ui/react-select": "^2.3.1",
"@radix-ui/react-slot": "^1.3.0",
"bencode": "^4.0.1",
"buffer": "^6.0.3",
"react": "^19.2.7",
"react-dom": "^19.2.7"
}
}