-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
148 lines (148 loc) · 5.06 KB
/
package.json
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
{
"name": "farm",
"version": "1.0.0",
"description": "Modern web application boilerplate with FAST Element, Fluent UI Web Components, and Fastify",
"type": "module",
"homepage": "https://falkicon.github.io/farm",
"documentation": "https://falkicon.github.io/farm",
"repository": {
"type": "git",
"url": "https://github.com/falkicon/farm.git"
},
"bugs": {
"url": "https://github.com/falkicon/farm/issues"
},
"keywords": [
"typescript",
"web-components",
"fast-element",
"fluent-ui",
"fastify",
"boilerplate",
"fullstack"
],
"scripts": {
"// Development": "-------------------- Development --------------------",
"dev": "concurrently -n \"frontend,backend\" -c \"blue,green\" \"npm run dev:frontend\" \"npm run dev:backend\"",
"dev:frontend": "vite --port 3000 --clearScreen false --open",
"dev:backend": "cross-env NODE_ENV=development node --trace-warnings --import tsx src/backend/index.ts",
"kill-ports": "node scripts/kill-ports.js",
"predev": "npm run kill-ports",
"// Production": "-------------------- Production --------------------",
"build": "npm run build:frontend && npm run build:backend",
"build:frontend": "vite build",
"build:backend": "tsc -p tsconfig.backend.json",
"start": "node dist/backend/index.js",
"preview": "vite preview",
"// Testing": "-------------------- Testing --------------------",
"test": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"// Documentation": "-------------------- Documentation --------------------",
"docs": "cross-env python -m mkdocs serve",
"docs:build": "cross-env python -m mkdocs build",
"docs:deploy": "cross-env python -m mkdocs gh-deploy",
"docs:api": "typedoc",
"docs:api:watch": "typedoc --watch",
"// Code Quality": "-------------------- Code Quality --------------------",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,css,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,css,md}\"",
"typecheck": "tsc --noEmit",
"// Utilities": "-------------------- Utilities --------------------",
"clean": "rimraf dist .vite coverage",
"clean:all": "rimraf dist node_modules .vite coverage"
},
"dependencies": {
"@fabric-msft/fabric-web": "2.0.0-beta.4",
"@fabric-msft/theme": "1.0.0-beta",
"@fastify/cors": "^10.0.2",
"@fastify/helmet": "^13.0.1",
"@fastify/multipart": "^9.0.1",
"@fluentui/web-components": "3.0.0-beta.76",
"@microsoft/fast-element": "2.0.1",
"@prisma/client": "^6.2.1",
"@sentry/browser": "^8.48.0",
"@types/systeminformation": "^3.54.1",
"chalk": "^5.4.1",
"dotenv": "^16.4.7",
"eslint-plugin-fluent-components": "file:scripts/eslint-plugin-fluent-components",
"fastify": "^5.2.1",
"jsonwebtoken": "^9.0.2",
"localforage": "^1.10.0",
"msw": "^2.7.0",
"systeminformation": "^5.25.10",
"universal-router": "^9.2.1",
"zod": "^3.24.1"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.1",
"@axe-core/playwright": "^4.10.1",
"@eslint/config-array": "^0.19.1",
"@eslint/object-schema": "^2.1.5",
"@fastify/type-provider-typebox": "^5.1.0",
"@playwright/test": "^1.49.1",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-interactions": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/web-components": "^8.4.7",
"@storybook/web-components-vite": "^8.4.7",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.10.5",
"@types/web": "^0.0.192",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.6",
"eslint": "^9.18.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-security": "^3.0.1",
"fs-extra": "^11.2.0",
"glob": "^11.0.1",
"happy-dom": "^16.5.3",
"kill-port": "^2.0.1",
"openapi-types": "^12.1.3",
"pino-pretty": "^13.0.0",
"prettier": "^3.4.2",
"prisma": "^6.2.1",
"rimraf": "^6.0.1",
"storybook": "^8.4.7",
"tsx": "^4.19.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.4.1",
"typedoc-plugin-mermaid": "^1.12.0",
"typescript": "~5.7.3",
"typescript-eslint": "^8.19.1",
"vite": "^6.0.7",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"overrides": {
"files": [
"**/*.test.ts",
"**/*.spec.ts"
],
"env": {
"vitest": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}
}