-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.75 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 4.75 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
{
"name": "@gcoredev/fastedge-test",
"version": "0.1.7",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/G-Core/fastedge-test.git"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/lib/index.d.ts",
"import": "./dist/lib/index.js",
"require": "./dist/lib/index.cjs"
},
"./server": "./dist/server.js",
"./test": {
"types": "./dist/lib/test-framework/index.d.ts",
"import": "./dist/lib/test-framework/index.js",
"require": "./dist/lib/test-framework/index.cjs"
},
"./schemas": "./schemas/"
},
"bin": {
"fastedge-debug": "./bin/fastedge-debug.js"
},
"files": [
"bin/",
"dist/lib/",
"dist/server.js",
"dist/frontend/",
"dist/fastedge-cli/",
"schemas/",
"docs/",
"llms.txt"
],
"scripts": {
"build": "npm-run-all -p build:debugger build:lib",
"build:ci-test": "npm-run-all -p build build:test-apps",
"build:debugger": "npm-run-all -p build:schemas build:backend build:frontend",
"build:lib": "node esbuild/bundle-lib.js",
"build:schemas": "ts-node --project tsconfig.scripts.json scripts/generate-schemas.ts",
"build:backend": "node esbuild/bundle-server.js",
"build:frontend": "cd frontend && pnpm exec vite build",
"build:test-apps": "npm-run-all -p build:cdn-test-apps build:http-test-apps",
"build:cdn-test-apps": "npm-run-all -p build:cdn-test-apps:as build:cdn-test-apps:rust",
"build:cdn-test-apps:as": "pnpm -r --filter './test-applications/cdn-apps/as/*' build",
"build:cdn-test-apps:rust": "./scripts/build-rust-wasm.sh test-applications/cdn-apps/rust wasm/cdn-apps/rust --strip-prefix cdn-",
"build:http-test-apps": "npm-run-all -p build:http-test-apps:js build:http-test-apps:rust",
"build:http-test-apps:js": "pnpm -r --filter './test-applications/http-apps/js' build",
"build:http-test-apps:rust": "npm-run-all -s build:http-test-apps:rust:basic build:http-test-apps:rust:wasi",
"build:http-test-apps:rust:basic": "./scripts/build-rust-wasm.sh test-applications/http-apps/rust/basic wasm/http-apps/rust/basic --flat",
"build:http-test-apps:rust:wasi": "./scripts/build-rust-wasm.sh test-applications/http-apps/rust/wasi wasm/http-apps/rust/wasi --flat",
"check-types": "tsc -p server/tsconfig.json --noEmit",
"dev": "npm-run-all -p dev:backend dev:frontend",
"dev:backend": "run-p dev:backend:esbuild dev:backend:server",
"dev:backend:esbuild": "node esbuild/watch-server.js",
"dev:backend:server": "sleep 2 && node --watch dist/server.js",
"dev:frontend": "cd frontend && pnpm exec vite",
"generate:docs": "./fastedge-plugin-source/generate-docs.sh",
"start": "node dist/server.js",
"test": "npm-run-all -s test:unit test:integration",
"test:unit": "npm-run-all -p test:backend test:frontend",
"test:backend": "vitest run",
"test:frontend": "cd frontend && vitest run",
"test:integration": "run-s test:integration:cdn test:integration:http",
"test:integration:cdn": "NODE_OPTIONS='--no-warnings' vitest run --config vitest.integration.cdn.config.ts",
"test:integration:http": "NODE_OPTIONS='--no-warnings' vitest run --config vitest.integration.http.config.ts",
"test:watch": "vitest",
"test:watch:backend": "vitest",
"test:watch:frontend": "cd frontend && vitest",
"test:ui": "vitest --ui",
"test:coverage": "npm-run-all -p test:coverage:backend test:coverage:frontend",
"test:coverage:backend": "vitest run --coverage",
"test:coverage:frontend": "cd frontend && vitest run --coverage"
},
"dependencies": {
"@assemblyscript/wasi-shim": "^0.1.0",
"@gcoredev/fastedge-sdk-js": "^2.2.2",
"@gcoredev/proxy-wasm-sdk-as": "^1.2.3",
"@types/ws": "^8.18.1",
"express": "^4.19.2",
"immer": "^11.1.3",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"undici": "^6.0.0",
"ws": "^8.19.0",
"zod": "^4.3.6",
"zod-to-json-schema": "^3.25.1",
"zustand": "^5.0.11",
"zustand-debounce": "^2.3.0"
},
"engines": {
"node": ">=22.12"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/express": "^4.17.21",
"@types/node": "^20.11.24",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"assemblyscript": "^0.28.9",
"cross-env": "^10.1.0",
"esbuild": "^0.27.3",
"happy-dom": "^20.5.0",
"jsdom": "^28.0.0",
"npm-run-all2": "^8.0.4",
"ts-json-schema-generator": "^2.5.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.4.5",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}