-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 5.28 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 5.28 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
{
"name": "opencom",
"version": "0.1.0",
"private": true,
"description": "Open-source Intercom alternative",
"license": "AGPL-3.0-only",
"scripts": {
"dev": "pnpm run --parallel --filter './apps/*' dev",
"dev:web": "pnpm --filter @opencom/web dev",
"dev:landing": "pnpm --filter @opencom/landing dev",
"dev:mobile": "pnpm --filter @opencom/mobile start",
"dev:widget": "pnpm --filter @opencom/widget dev",
"dev:convex": "pnpm --filter @opencom/convex dev",
"build": "pnpm run --filter './apps/*' build",
"build:web": "pnpm --filter @opencom/web build",
"build:widget": "bash scripts/build-widget-for-tests.sh",
"build:mobile:android": "cd apps/mobile && ANDROID_HOME=/Users/jack/Library/Android/sdk eas build --platform android --local",
"build:mobile:ios": "cd apps/mobile && eas build --platform ios --local",
"build:landing": "pnpm --filter @opencom/landing build",
"build:sdk-core": "pnpm --filter @opencom/sdk-core build",
"build:rn-sdk": "pnpm --filter @opencom/react-native-sdk build",
"deploy:mobile:dev": "pnpm --filter @opencom/mobile deploy:production",
"deploy:mobile:prev": "pnpm --filter @opencom/mobile deploy:production",
"deploy:mobile:prod": "pnpm --filter @opencom/mobile deploy:production",
"deploy:widget:cdn": "bash -lc 'set -a; source .env.local; set +a; bash scripts/deploy-widget-cdn.sh'",
"web:lint": "pnpm --filter @opencom/web lint",
"web:typecheck": "pnpm --filter @opencom/web typecheck",
"convex:lint": "pnpm --filter @opencom/convex lint",
"convex:typecheck": "pnpm --filter @opencom/convex typecheck",
"quality:lint": "pnpm web:lint && pnpm convex:lint",
"quality:typecheck": "pnpm web:typecheck && pnpm convex:typecheck",
"lint": "pnpm run -r lint",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",
"typecheck": "pnpm run -r typecheck",
"clean": "rm -rf node_modules apps/*/node_modules packages/*/node_modules",
"test:convex": "pnpm --filter @opencom/convex test",
"test": "pnpm run test:unit && pnpm run test:e2e",
"test:unit": "pnpm web:test:unit",
"test:e2e": "pnpm web:test:e2e",
"test:ci": "pnpm web:test:ci",
"test:compat:cross-surface": "pnpm --filter @opencom/sdk-core test && pnpm --filter @opencom/react-native-sdk test && pnpm --filter @opencom/mobile typecheck",
"web:test:unit": "vitest run",
"web:test:e2e": "set -a; source packages/convex/.env.local; set +a; pnpm playwright test",
"web:test:ci": "vitest run --coverage && playwright test",
"cleanup:e2e": "pnpm --filter @opencom/convex cleanup:e2e",
"security:convex-auth-guard": "node scripts/ci-convex-auth-guard.js",
"security:convex-any-args-gate": "node scripts/ci-convex-any-args-gate.js",
"security:secret-scan": "node scripts/ci-secret-scan.js",
"security:headers-check": "node scripts/ci-security-headers-check.js",
"security:audit-gate": "node scripts/ci-audit-gate.js",
"ci:check": "pnpm lint && pnpm typecheck && pnpm security:convex-auth-guard && pnpm security:convex-any-args-gate && pnpm security:secret-scan && pnpm security:headers-check && pnpm security:audit-gate && pnpm test:convex && pnpm --filter @opencom/web build",
"test:summary": "node scripts/test-summary.js",
"test:clear": "node scripts/test-summary.js clear",
"test:timeout": "node scripts/run-with-timeout.js",
"test:e2e:prod": "E2E_USE_PROD_BUILD=true pnpm web:test:e2e",
"seed:landing": "pnpm dlx dotenv-cli -e apps/landing/.env.local -- tsx scripts/seed-landing-demo.ts",
"seed:landing:cleanup": "pnpm dlx dotenv-cli -e apps/landing/.env.local -- tsx scripts/seed-landing-demo.ts --cleanup",
"export:landing:md": "tsx scripts/export-landing-content-to-md.ts"
},
"devDependencies": {
"@playwright/test": "^1.52.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vitest/coverage-v8": "^4.0.17",
"@vitest/ui": "^4.0.17",
"convex": "^1.33.0",
"eslint": "^8.55.0",
"eslint-plugin-react": "^7.37.0",
"eslint-plugin-react-hooks": "^5.0.0",
"prettier": "^3.1.0",
"tsx": "^4.7.0",
"typescript": "^5.3.0",
"vitest": "^4.0.17",
"wrangler": "^4.66.0"
},
"packageManager": "pnpm@9.0.0",
"engines": {
"node": ">=18.0.0"
},
"pnpm": {
"overrides": {
"@isaacs/brace-expansion": "5.0.1",
"esbuild": "^0.27.0",
"minimatch": "10.2.3",
"@expo/cli>minimatch": "10.2.3",
"@expo/fingerprint>minimatch": "10.2.3",
"@expo/metro-config>minimatch": "10.2.3",
"glob@13.0.0>minimatch": "10.2.3",
"glob@10.5.0>minimatch": "10.2.3",
"rollup": "4.59.0",
"tar": "7.5.11",
"@react-native-community/cli": "17.0.1",
"@react-native-community/cli-server-api": "17.0.1",
"@react-native-community/cli-tools": "17.0.1",
"@react-native-community/cli-types": "17.0.1",
"@react-native-community/cli-clean": "17.0.1",
"@react-native-community/cli-config": "17.0.1",
"@react-native-community/cli-doctor": "17.0.1",
"@react-native-community/cli-platform-android": "17.0.1",
"@react-native-community/cli-platform-ios": "17.0.1",
"@react-native-community/cli-platform-apple": "17.0.1"
}
}
}