-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 5.85 KB
/
package.json
File metadata and controls
146 lines (146 loc) · 5.85 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
{
"name": "@angeldeejay/magicmirror-module-sandbox",
"version": "3.0.0",
"description": "Single-module MagicMirror dev sandbox with a Fastify host, Preact shell, real node_helper wiring, and browser-based debugging",
"author": {
"name": "Andrés Vanegas Jiménez",
"url": "https://github.com/angeldeejay"
},
"repository": {
"type": "git",
"url": "https://github.com/angeldeejay/magicmirror-module-sandbox.git"
},
"homepage": "https://github.com/angeldeejay/magicmirror-module-sandbox#readme",
"bugs": {
"url": "https://github.com/angeldeejay/magicmirror-module-sandbox/issues"
},
"license": "MIT",
"bin": {
"magicmirror-module-sandbox": "./dist/bin/magicmirror-module-sandbox.js"
},
"files": [
"bin/install-guard.ts",
"docs",
"dist",
"README.md"
],
"scripts": {
"build": "run-s build:*",
"build:00-sync-mmcore-source": "tsx scripts/sync-mmcore-source.ts",
"build:01-sync-mm-assets": "tsx bin/sync-magicmirror-assets.ts",
"build:02-sync-analyzer": "tsx scripts/sync-module-analyzer.ts",
"build:10-client": "tsx scripts/build-client-assets.ts",
"build:20-node-compat": "tsx scripts/build-node-compat.ts",
"build:30-dist": "tsx scripts/build-dist.ts",
"client:shell": "tsx scripts/build-client-assets.ts --scope shell",
"client:runtime": "tsx scripts/build-client-assets.ts --scope runtime",
"client:styles": "tsx scripts/build-client-assets.ts --scope styles",
"client:shell:watch": "vite build --watch",
"client:styles:watch": "sass --watch --style=compressed --no-source-map client/scss/entrypoint.scss:client/styles/harness.css",
"prepare": "npm run build && husky",
"postinstall": "tsx bin/install-guard.ts",
"docs:screenshots": "tsx scripts/take-screenshots.ts",
"_server": "tsx bin/magicmirror-module-sandbox.ts",
"_server:preview": "tsx bin/magicmirror-module-sandbox.ts --preview",
"_server:watch": "tsx bin/magicmirror-module-sandbox.ts --watch",
"_server:watch-preview": "tsx bin/magicmirror-module-sandbox.ts --watch --preview",
"start": "run-s build:10-client _server",
"dev:start": "run-s build:10-client _server",
"dev:start-preview": "run-s build:10-client _server:preview",
"dev:watch": "npm-run-all build:10-client --parallel client:shell:watch client:styles:watch _server:watch",
"dev:watch-preview": "npm-run-all build:10-client --parallel client:shell:watch client:styles:watch _server:watch-preview",
"report": "run-p report:*",
"report:10-badges": "tsx scripts/generate-coverage-badges.ts",
"report:20-journey-badges": "tsx scripts/generate-journey-badges.ts",
"report:30-job-summary": "tsx scripts/generate-coverage-summary.ts",
"typecheck": "run-p typecheck:*",
"typecheck:client": "tsc -p client/tsconfig.json --noEmit",
"typecheck:client-runtime": "tsc -p client/tsconfig.runtime.json --noEmit",
"typecheck:node": "tsc -p tsconfig.node.json --noEmit",
"typecheck:tests": "tsc -p tests/tsconfig.json --noEmit",
"test": "run-s test:*",
"test:10-unit-coverage": "vitest run --config vitest.config.ts --project unit --coverage",
"test:20-integration": "vitest run --config vitest.config.ts --project integration",
"test:30-ui": "vitest run --config vitest.config.ts --project ui",
"test:40-e2e": "vitest run --config vitest.config.ts --project e2e",
"test-quick": "run-s test-quick:*",
"test-quick:unit": "vitest run --config vitest.config.ts --project unit",
"test-smoke": "run-s test-smoke:*",
"test-smoke:npx": "vitest run --config vitest.config.ts --project e2e tests/e2e/npx-smoke.e2e.test.ts",
"test-smoke:devdep": "vitest run --config vitest.config.ts --project e2e tests/e2e/devdep-smoke.e2e.test.ts",
"test-headed": "run-s test-headed:*",
"test-headed:integration": "node --env-file=.env.vitest-browser-headed ./node_modules/vitest/vitest.mjs run --config vitest.config.ts --project integration",
"test-headed:ui": "node --env-file=.env.vitest-browser-headed ./node_modules/vitest/vitest.mjs run --config vitest.config.ts --project ui",
"lint": "node node_modules/eslint/bin/eslint.js .",
"lint:fix": "node node_modules/eslint/bin/eslint.js . --fix",
"test-ci": "run-s test-ci:*",
"test-ci:act": "tsx scripts/run-pipeline-test.ts"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,cjs,json}": "node node_modules/eslint/bin/eslint.js --fix"
},
"engines": {
"node": ">=24"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"dependencies": {
"@fastify/middie": "^9.3.2",
"@fastify/rate-limit": "^10.3.0",
"@fastify/static": "^9.1.3",
"@fontsource/open-sans": "^5.2.7",
"animate.css": "^4.1.1",
"chokidar": "^5.0.0",
"eta": "^4.6.0",
"fastify": "^5.8.5",
"ignore": "^7.0.5",
"js-beautify": "^1.15.4",
"jsonc-parser": "^3.3.1",
"moment": "^2.30.1",
"moment-timezone": "^0.6.1",
"pathe": "^2.0.3",
"preact": "^10.29.1",
"semver": "^7.8.0",
"socket.io": "^4.8.3",
"tsx": "^4.19.4",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/compat": "^2.0.5",
"@eslint/js": "^10.0.1",
"@fortawesome/fontawesome-free": "^7.2.0",
"@hyperse/vitest-coverage-reporter": "^1.0.16",
"@preact/preset-vite": "^2.10.5",
"@testing-library/preact": "^3.2.4",
"@types/dockerode": "^4.0.1",
"@types/node": "^24.12.2",
"@types/semver": "^7.7.1",
"@vitest/browser-playwright": "^4.1.2",
"@vitest/coverage-v8": "^4.1.2",
"@vitest/ui": "^4.1.5",
"ace-builds": "^1.43.6",
"css-tree": "^3.2.1",
"dockerode": "^5.0.0",
"esbuild": "^0.27.7",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-simple-import-sort": "^13.0.0",
"globals": "^17.4.0",
"happy-dom": "^20.9.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.4.0",
"node-fetch": "^3.3.2",
"npm-run-all-next": "^1.4.0",
"playwright": "^1.58.2",
"preact-render-to-string": "^6.6.7",
"prettier": "^3.8.1",
"sass": "^1.99.0",
"typescript": "^6.0.3",
"vite": "^8.0.10",
"vitest": "^4.1.2"
}
}