-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 4.42 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 4.42 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
{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build --stream --include-dependencies --skip-nx-cache",
"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/**\" publish",
"deploy:publish:dry-run": "DRY_RUN=true pnpm -r --filter \"./packages/**\" publish --dry-run --no-git-checks",
"deploy:pack": "DRY_RUN=true pnpm -r --filter \"./packages/**\" pack",
"dev": "concurrently \"pnpm run watch\" \"vite dev --open\"",
"dev:ssh": "pnpm run setup-dev-ssh && export SSH=true && pnpm run dev",
"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: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:*",
"@aws-sdk/client-s3": "^3.0.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@nx/workspace": "^21.2.1",
"@playwright/test": "1.55.0",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.14",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"axios": "^1.6.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.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",
"eslint-plugin-playwright": "^2.2.0",
"express": "^4.18.2",
"fake-indexeddb": "4.0.2",
"glob": "^10.3.10",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"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",
"rimraf": "^3.0.2",
"source-map": "^0.7.4",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"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@10.26.1+sha512.664074abc367d2c9324fdc18037097ce0a8f126034160f709928e9e9f95d98714347044e5c3164d65bd5da6c59c6be362b107546292a8eecb7999196e5ce58fa"
}