-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 5.54 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 5.54 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "@networkpro/web",
"private": false,
"version": "1.27.2",
"description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
"keywords": [
"advocacy",
"consulting",
"cybersecurity",
"education",
"networking",
"policy",
"privacy",
"pwa",
"security",
"svelte",
"sveltekit"
],
"homepage": "https://netwk.pro",
"bugs": {
"url": "https://github.com/netwk-pro/netwk-pro.github.io/issues/new/choose"
},
"repository": {
"type": "git",
"url": "git+https://github.com/netwk-pro/netwk-pro.github.io.git"
},
"license": "CC-BY-4.0 OR GPL-3.0-or-later",
"author": {
"name": "Scott Lopez",
"email": "github@sl.neteng.cc",
"url": "https://bio.netwk.pro"
},
"type": "module",
"engines": {
"node": ">=22.0.0 <25",
"npm": ">=10.0.0 <12"
},
"scripts": {
"dev": "vite dev",
"dev:audit": "vite --mode audit",
"start": "npm run dev",
"dev:vercel": "vercel dev",
"build": "vite build --mode production",
"build:audit": "vite build --mode audit",
"build:vercel": "vercel build",
"build:codex": "vite build --mode codex",
"dev:codex": "vite dev --mode codex",
"preview": "vite preview",
"css:bundle": "node scripts/bundleCss.js",
"prepare": "svelte-kit sync && npx simple-git-hooks || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"type-check": "svelte-check --tsconfig ./jsconfig.json",
"lint:types": "npm run type-check",
"check:env": "node scripts/checkEnv.js",
"check:node": "node scripts/checkNode.js",
"checkout": "npm-run-all check:node test:all lint:all check",
"verify": "npm run checkout",
"delete": "rm -rf .svelte-kit node_modules package-lock.json",
"clean": "npm run delete && npm cache clean --force && npm install",
"repair": "npm run delete && npx playwright uninstall && rm -rf %LOCALAPPDATA%/ms-playwright && npm install && npx playwright install",
"upgrade": "ncu -u --format group --color",
"check:updates": "ncu --format group --color",
"test": "npm run test:all",
"test:all": "npm run test:client -- --run && npm run test:server -- --run",
"test:client": "vitest --config vitest.config.client.js",
"test:server": "vitest --config vitest.config.server.js",
"test:watch": "vitest --config vitest.config.client.js --watch",
"test:coverage": "npm run test:client -- --run --coverage && npm run test:server -- --run --coverage",
"test:e2e": "npx playwright test --retries=1",
"coverage:client": "node scripts/openReport.js client",
"coverage:server": "node scripts/openReport.js server",
"coverage:open": "npm run coverage:client && npm run coverage:server",
"lint": "eslint . --ext .js,.cjs,.mjs,.svelte",
"lint:fix": "eslint . --ext .js,.cjs,.mjs,.svelte --fix",
"lint:jsdoc": "eslint . --ext .js,.cjs,.mjs,.svelte --max-warnings=0",
"lint:css": "stylelint \"**/*.{css,svelte}\" --ignore-path .stylelintignore",
"lint:md": "npx markdownlint-cli2",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint:all": "npm-run-all --parallel --print-label lint lint:md lint:css --sequential format",
"lhci": "lhci",
"lhci:run": "lhci autorun --config=.lighthouserc.cjs",
"audit:coverage": "vitest run tests/internal/auditCoverage.test.js",
"postinstall": "npm run check:node"
},
"simple-git-hooks": {
"pre-commit": "if [ \"$CI\" = \"true\" ]; then exit 0; else npm run lint:all; fi",
"pre-push": "bash scripts/hooks/pre-push.sh"
},
"dependencies": {
"dompurify": "^3.4.1",
"posthog-js": "^1.372.1",
"semver": "^7.7.4",
"svelte": "5.55.5"
},
"devDependencies": {
"@eslint/compat": "^2.0.5",
"@eslint/js": "10.0.1",
"@lhci/cli": "^0.15.1",
"@playwright/test": "^1.59.1",
"@sveltejs/adapter-netlify": "^6.0.4",
"@sveltejs/adapter-vercel": "^6.3.3",
"@sveltejs/kit": "2.58.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/svelte": "^5.3.1",
"@vitest/coverage-v8": "4.1.5",
"autoprefixer": "^10.5.0",
"browserslist": "^4.28.2",
"eslint": "10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^62.9.0",
"eslint-plugin-svelte": "^3.17.1",
"globals": "^17.5.0",
"globby": "^16.2.0",
"jsdom": "29.0.2",
"lightningcss": "^1.32.0",
"markdownlint-cli2": "0.22.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.59.1",
"postcss": "^8.5.10",
"prettier": "3.8.3",
"prettier-plugin-svelte": "^3.5.1",
"simple-git-hooks": "^2.13.1",
"stylelint": "^17.9.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-order": "^8.1.1",
"svelte-check": "^4.4.6",
"svelte-eslint-parser": "^1.6.0",
"svelte-preprocess": "^6.0.3",
"typescript": "5.9.3",
"vite": "^8.0.10",
"vite-plugin-devtools-json": "^1.0.0",
"vite-plugin-lightningcss": "^0.0.5",
"vitest": "4.1.5"
},
"overrides": {
"basic-ftp": "^5.2.1",
"cookie": "^1.1.1",
"glob": "^11.1.0",
"js-yaml": "^4.1.1",
"lodash": "^4.18.1",
"lodash-es": "^4.18.1",
"minimatch": "^10.2.1",
"picomatch": "^4.0.4",
"protobufjs": "^7.5.5",
"qs": "^6.14.1",
"tar": "^7.5.11",
"tmp": "^0.2.4",
"smol-toml": "^1.6.1",
"uuid": "^14.0.0",
"vite-plugin-devtools-json": {
"vite": "$vite"
}
}
}