-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
72 lines (72 loc) · 2.78 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
{
"private": true,
"name": "nodebox",
"version": "0.0.0",
"scripts": {
"build": "turbo run build --no-cache && pnpm build:consumer",
"build:runtime": "turbo run build --filter runtime --no-cache",
"build:api": "turbo run build --filter @codesandbox/nodebox --no-cache",
"build:consumer": "node -r esbuild-register ./internals/servers/consumer/build.ts",
"---": "---",
"watch:consumer": "onchange 'tests/**/**.example.js' -- pnpm build:consumer",
"----": "----",
"start:preview": "node -r esbuild-register ./internals/servers/preview-server.ts",
"start:runtime": "node -r esbuild-register ./internals/servers/main-server.ts",
"start:consumer": "node -r esbuild-register ./internals/servers/consumer/serve.ts",
"start:test-server": "node -r esbuild-register ./internals/servers/test/test-server.ts",
"-----": "-----",
"start": "concurrently \"pnpm start:runtime\" \"pnpm start:consumer\" \"pnpm start:preview\"",
"cert": "mkdir -p certificates && openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout certificates/cert.key -out certificates/cert.crt -config req.conf -extensions v3_req",
"cert:trust": "sudo security add-trusted-cert -d -r trustRoot -k \"/Library/Keychains/System.keychain\" ./certificates/cert.crt",
"test:unit": "turbo run test:unit",
"test:e2e": "pnpm playwright test",
"test:e2e:debug": "PWDEBUG=1 pnpm run test:e2e",
"------": "------",
"lint": "eslint packages/**/*.{ts,js}",
"format:check": "prettier --check packages/**/*.{ts,js}",
"format:write": "prettier --write packages/**/*.{ts,js}"
},
"dependencies": {
"@open-draft/deferred-promise": "^2.1.0",
"@swc/helpers": "^0.4.2",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"base-x": "^4.0.0",
"concurrently": "^7.5.0",
"cuid": "^2.1.8",
"dotenv": "^16.0.1",
"esbuild-plugin-alias": "^0.2.1",
"esbuild-register": "^3.4.1",
"eslint": "^8.28.0",
"node-fetch": "^2.6.7",
"vite": "^2.9.12"
},
"devDependencies": {
"@fastify/static": "^6.4.0",
"@msgpack/msgpack": "^2.7.2",
"@playwright/test": "^1.25.1",
"@swc/core": "^1.2.204",
"@swc/register": "^0.1.10",
"@types/fs-extra": "^9.0.13",
"@types/glob": "8.0.0",
"@types/jest": "^29.2.0",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.6.2",
"esbuild": "^0.14.46",
"fastify": "^4.1.0",
"fs-extra": "^10.1.0",
"glob": "8.0.3",
"glob-promise": "5.0.0",
"jest": "^29.2.1",
"onchange": "7.1.0",
"outvariant": "^1.4.0",
"playwright": "^1.25.1",
"playwright-testing-library": "^4.3.1",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"turbo": "^1.5.5",
"typescript": "^4.8.4",
"wait-for-expect": "^3.0.2"
}
}