Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 5.43 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 5.43 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build --stream --include-dependencies --skip-nx-cache",
"build:nx": "nx run-many --target=build --all",
"build:vite": "rm -rf ./test-server/dist/ && vite build",
"build:nx-affected": "nx affected --target=build",
"watch": "nx run-many --target=watch --all --parallel 9999 --output-style=stream --maxParallel=0",
"clean": "lerna run clean --stream && rimraf node_modules docs",
"deploy:version": "lerna version",
"deploy:version:dry-run": "DRY_RUN=true lerna version --no-push --no-git-tag-version --allow-branch \"$(git rev-parse --abbrev-ref HEAD)\" --conventional-prerelease --no-changelog --no-push --no-git-tag-version",
"deploy:publish": "pnpm -r --filter \"./packages/**\" --filter \"!@amplitude/plugin-custom-enrichment-browser\" publish --no-git-checks",
"deploy:publish:phase": "node ./scripts/publish/publish-phase.js",
"deploy:publish:check-packages": "node ./scripts/publish/check-npm-packages-published.js",
"deploy:publish:dry-run": "DRY_RUN=true pnpm -r --filter \"./packages/**\" --filter \"!@amplitude/plugin-custom-enrichment-browser\" publish --dry-run --no-git-checks",
"deploy:pack": "DRY_RUN=true pnpm -r --filter \"./packages/**\" pack",
"deploy:publish:bootstrap": "bash ./scripts/publish/bootstrap-npm-package.sh",
"dev": "concurrently \"pnpm run watch\" \"vite dev --open\"",
"dev:ssh": "pnpm run setup-dev-ssh && export SSH=true && pnpm run dev",
"dev:trc": "concurrently \"pnpm run watch\" \"vite --config test-server/session-replay-browser/trc-e2e/vite.config.mjs\"",
"dev:trc:npm": "SR_MODE=npm vite --config test-server/session-replay-browser/trc-e2e/vite.config.mjs --force",
"docs": "typedoc",
"docs:check": "typedoc --emit none",
"fix": "lerna run fix --stream",
"generate-signed-cert": "sh ./scripts/dev/generate-signed-cert.sh",
"setup-local-domain": "sh ./scripts/dev/setup-local-domain.sh",
"setup-dev-ssh": "sh ./scripts/dev/setup-dev-ssh.sh",
"lint": "lerna run lint --stream",
"lint:deps": "knip",
"lint:nx-cache": "nx run-many --target=lint --all",
"lint:nx-affected": "nx affected --target=lint",
"lint:staged": "lint-staged",
"postinstall": "husky install",
"proxy": "node example-proxy/amplitude-proxy-server.js",
"proxy:dev": "nodemon example-proxy/amplitude-proxy-server.js",
"start": "vite preview --clearScreen=false",
"test": "lerna run test --stream",
"test:nx-cache": "nx run-many --target=test --all",
"test:nx-affected": "nx affected --target=test",
"test:examples": "jest --env=jsdom --coverage=false examples --setupFiles ./jest.setup.examples.js",
"test:unit": "lerna run test --stream --ignore @amplitude/analytics-*-test",
"test:e2e": "lerna run test --stream --scope @amplitude/analytics-*-test",
"test:e2e:remote-config": "pnpm build:vite && concurrently --kill-others --success first \"sh packages/e2e-remote-config/remote-config-test.sh\" \"pnpm start -- --port 5173 --clearScreen=false\"",
"test:e2e:remote-config:staging": "pnpm build:vite && concurrently --kill-others --success first \"sh packages/e2e-remote-config/remote-config-test-staging.sh\" \"pnpm start -- --port 5173 --clearScreen=false\"",
"test:playwright": "lerna run test:playwright --stream",
"test:playwright:ui": "playwright test --ui",
"test:playwright:debug": "playwright test --debug",
"test:playwright:ci": "playwright test",
"graph": "nx graph",
"version": "git add -A"
},
"devDependencies": {
"@amplitude/analytics-browser": "workspace:*",
"@amplitude/analytics-browser-srnpm": "npm:@amplitude/analytics-browser@2.44.1",
"@amplitude/plugin-session-replay-browser": "workspace:*",
"@amplitude/plugin-session-replay-browser-srnpm": "npm:@amplitude/plugin-session-replay-browser@1.32.2-publish-sr-targeting.0",
"@aws-sdk/client-s3": "^3.0.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@playwright/test": "1.55.1",
"@size-limit/file": "^12.1.0",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.14",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@vitejs/plugin-react": "^4.7.0",
"axios": "^1.18.0",
"concurrently": "^9.1.2",
"cors": "^2.8.5",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^27.1.6",
"express": "^4.18.2",
"fake-indexeddb": "4.0.2",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"knip": "^6.27.0",
"lerna": "^9.0.0",
"lint-staged": "^15.2.0",
"morgan": "^1.10.0",
"nodemon": "^3.0.1",
"nx": "^21.2.1",
"prettier": "^2.8.1",
"prismjs": "^1.30.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.4",
"rimraf": "^3.0.2",
"size-limit": "^12.1.0",
"source-map": "^0.7.4",
"ts-jest": "^29.0.3",
"typedoc": "^0.23.22",
"typescript": "^4.9.4",
"vite": "^6.3.4",
"yargs": "^17.7.1"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"tslib": "^2.4.1"
},
"packageManager": "pnpm@11.28.5+sha512.484563d30b4c2ad27cb48aa94ff2b302dbcebc8ff6bf28816c2589886e146ce7f76f354f3bc1a438e6f5e9768c302aa0a6f7add8232903cd4cf81426cbc14d9e"
}