-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 5.87 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 5.87 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "desktoppet",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "node ./node_modules/vite/bin/vite.js",
"dev:lean": "bash ./scripts/lean-dev.sh",
"typecheck": "node ./node_modules/typescript/bin/tsc --noEmit",
"lint": "node ./node_modules/prettier/bin/prettier.cjs --check .",
"build": "npm run typecheck && node ./node_modules/vite/bin/vite.js build",
"clean:heavy": "bash ./scripts/clean-heavy.sh",
"clean:all": "bash ./scripts/clean-all.sh",
"check:performance-budget": "node ./scripts/check_performance_budget.mjs",
"test:pack-qa": "node ./scripts/pack_qa.mjs",
"test": "node ./node_modules/vitest/vitest.mjs run",
"test:watch": "node ./node_modules/vitest/vitest.mjs",
"test:ui": "node ./node_modules/vitest/vitest.mjs --ui",
"test:coverage": "node ./node_modules/vitest/vitest.mjs run --coverage",
"test:rust": "./scripts/tauri-rust-test.sh",
"test:rust:release": "./scripts/tauri-rust-test.sh --release",
"test:all": "npm test && npm run test:rust",
"test:smoke:frontend": "npm test -- src/components/panel/__tests__/CustomizationPanel.smoke.test.tsx src/components/panel/__tests__/PetPanel.smoke.test.tsx src/lib/__tests__/photoBooth.test.ts",
"test:smoke": "./scripts/tauri-smoke.sh",
"tauri": "node ./node_modules/@tauri-apps/cli/tauri.js",
"tauri:build:checked": "bash ./scripts/tauri-build-checked.sh",
"release:macos:preflight": "bash ./scripts/release/macos-signing-preflight.sh",
"release:artifacts:validate": "bash ./scripts/release/validate-tauri-artifacts.sh",
"release:updater:package": "bash ./scripts/release/package-updater-assets.sh",
"security:scan": "bash ./scripts/security/run-security-scans.sh",
"test:tauri-preflight": "./scripts/tauri-preflight.sh",
"verify:required:frontend": "npm run typecheck && npm test && npm run test:smoke:frontend && npm run test:pack-qa && npm run build && npm run check:performance-budget && npm run perf:build:gate && npm run perf:bundle:gate && npm run perf:assets && npm run perf:memory && npm run perf:summary && npm run security:scan",
"verify:required:tauri": "npm run test:tauri-preflight && npm run test:rust && npm run tauri:build:checked",
"verify:required:tauri:strict:temp": "bash ./scripts/verify-tauri-strict-temp.sh",
"verify:required": "npm run verify:required:frontend && npm run verify:required:tauri",
"prepare": "bash ./scripts/prepare-husky.sh",
"commit": "cz",
"commitlint": "commitlint",
"git:guard:branch": "bash scripts/git/guard-branch.sh",
"git:guard:no-main-push": "bash scripts/git/guard-no-main-push.sh",
"git:guard:atomic": "bash scripts/git/guard-atomic.sh",
"git:guard:generated": "bash scripts/git/guard-generated.sh",
"git:guard:large-files": "bash scripts/git/guard-large-files.sh",
"git:guard:secrets": "bash scripts/git/guard-secrets.sh",
"git:guard:all": "npm run git:guard:branch && npm run git:guard:atomic && npm run git:guard:generated && npm run git:guard:large-files && npm run git:guard:secrets",
"git:commit:propose": "node scripts/git/propose-commit-message.mjs",
"git:session:save": "bash scripts/git/session-save.sh",
"git:session:resume": "bash scripts/git/session-resume.sh",
"pr:notes": "bash scripts/git/generate-pr-notes.sh",
"perf:bundle": "node scripts/perf/bundle-report.mjs",
"perf:build": "node scripts/perf/measure-build-time.mjs",
"perf:build:gate": "npm run perf:build && if [ \"${DESKTOP_PET_STRICT_PERF:-0}\" = \"1\" ] && [ \"${DESKTOP_PET_ENFORCE_BUILD_DELTA:-0}\" = \"1\" ]; then node scripts/perf/compare-metric.mjs .perf-baselines/build-time.json .perf-results/build-time.json buildMs 0.50; else echo \"Skipping strict build-time perf compare (set DESKTOP_PET_STRICT_PERF=1 and DESKTOP_PET_ENFORCE_BUILD_DELTA=1 to enforce).\"; fi",
"perf:bundle:gate": "npm run perf:bundle && if [ \"${DESKTOP_PET_STRICT_PERF:-0}\" = \"1\" ]; then node scripts/perf/compare-metric.mjs .perf-baselines/bundle.json .perf-results/bundle.json totalBytes 0.08; else echo \"Skipping strict perf regression compare (set DESKTOP_PET_STRICT_PERF=1 to enforce).\"; fi",
"perf:baseline:update": "bash ./scripts/perf/update-baselines.sh",
"perf:assets": "bash scripts/perf/check-assets.sh",
"perf:memory": "node --expose-gc scripts/perf/memory-smoke.mjs",
"perf:lhci": "bash ./scripts/perf/lhci.sh",
"perf:lhci:prod": "LHCI_PROFILE=production bash ./scripts/perf/lhci.sh",
"perf:summary": "node scripts/perf/summarize.mjs",
"lint-staged": "lint-staged"
},
"dependencies": {
"@tauri-apps/api": "2.11.1",
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
"@tauri-apps/plugin-store": "^2.2.0",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@commitlint/cli": "^21.2.0",
"@commitlint/config-conventional": "^21.2.0",
"@commitlint/cz-commitlint": "^21.2.0",
"@lhci/cli": "^0.15.1",
"@tailwindcss/vite": "^4.3.2",
"@tauri-apps/cli": "^2.9.6",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"commitizen": "^4.3.1",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"lint-staged": "^17.0.8",
"prettier": "^3.9.5",
"tailwindcss": "^4.2.2",
"typescript": "^7.0.2",
"vite": "^8.1.4",
"vitest": "^4.1.9"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"overrides": {
"@babel/core": "7.29.7",
"basic-ftp": "5.3.1",
"fast-uri": "3.1.2",
"ip-address": "10.2.0",
"js-yaml": "4.3.0",
"lodash": "4.18.1",
"postcss": "8.5.15",
"qs": "6.15.3",
"tmp": "0.2.7",
"undici": "7.28.0",
"uuid": "11.1.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs,json,md,css,scss,yml,yaml}": [
"prettier --write"
]
}
}