-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
166 lines (166 loc) · 5.3 KB
/
Copy pathpackage.json
File metadata and controls
166 lines (166 loc) · 5.3 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "@amplitude/wizard",
"version": "1.18.2",
"homepage": "https://github.com/amplitude/wizard",
"repository": "https://github.com/amplitude/wizard",
"description": "The Amplitude wizard helps you to configure your project",
"keywords": [
"amplitude",
"wizard",
"sdk",
"cli",
"project",
"setup",
"install",
"configure"
],
"bin": {
"amplitude-wizard": "dist/bin.js"
},
"publishConfig": {
"access": "public"
},
"man": [
"man/amplitude-wizard.1"
],
"files": [
"dist/bin.*",
"dist/src",
"man/",
"skills/",
".claude/skills/amplitude-setup/",
"package.json",
"README.md"
],
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"typescript": {
"definition": "dist/index.d.ts"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.102",
"@amplitude/ai": "^0.9.0",
"@amplitude/analytics-browser": "2.36.2",
"@amplitude/analytics-node": "1.5.51",
"@amplitude/experiment-node-server": "1.13.4",
"@anthropic-ai/claude-agent-sdk": "0.3.219",
"@inkjs/ui": "2.0.0",
"@inquirer/prompts": "8.3.0",
"@modelcontextprotocol/sdk": "1.29.0",
"@pavus/snake-game": "1.1.1",
"@sentry/node": "10.47.0",
"adm-zip": "~0.5.18",
"ai": "^6.0.235",
"axios": "1.16.0",
"chalk": "2.4.2",
"cli-highlight": "2.1.11",
"cross-spawn": "^7.0.6",
"diff": "^9.0.0",
"dotenv": "16.4.7",
"fast-glob": "3.3.3",
"gradient-string": "2.0.2",
"ink": "6.8.0",
"jsonc-parser": "3.3.1",
"marked": "12.0.2",
"marked-terminal": "6.3.0",
"nanostores": "1.1.1",
"opn": "5.5.0",
"react": "^19.2.8",
"read-env": "1.3.0",
"semver": "7.7.1",
"terminal-link": "2.1.1",
"uuid": "11.1.1",
"yargs": "16.2.0",
"zod": "4.3.6"
},
"devDependencies": {
"@anthropic-ai/sdk": "0.115.0",
"@cucumber/cucumber": "12.7.0",
"@eslint/js": "10.0.1",
"@types/adm-zip": "~0.5.8",
"@types/cross-spawn": "^6.0.6",
"@types/gradient-string": "1.1.6",
"@types/marked-terminal": "6.1.1",
"@types/node": "20.19.37",
"@types/opn": "5.1.0",
"@types/react": "^19.2.17",
"@types/semver": "7.5.8",
"@types/yargs": "16.0.9",
"@vitest/coverage-v8": "4.0.18",
"eslint": "9.39.4",
"eslint-config-prettier": "9.1.2",
"fast-check": "4.6.0",
"globals": "17.4.0",
"husky": "9.1.7",
"ink-testing-library": "^4.0.0",
"lint-staged": "15.5.1",
"msw": "2.10.4",
"node-pty": "^1.1.0",
"prettier": "2.8.8",
"ts-node": "10.9.2",
"tsx": "4.20.3",
"typescript": "5.7.3",
"typescript-eslint": "8.57.1",
"vitest": "4.0.18"
},
"engines": {
"node": ">=20",
"npm": ">=3.10.7"
},
"packageManager": "pnpm@10.23.0+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b",
"scripts": {
"prepublishOnly": "pnpm clean && pnpm build",
"clean": "rm -rf ./dist",
"prebuild": "node scripts/sync-version.mjs",
"build:watch": "pnpm tsc -w",
"build": "pnpm tsc",
"postbuild": "chmod +x ./dist/bin.js && pnpm test:smoke",
"test:smoke": "node ./dist/bin.js --help 2>&1 | head -5 | grep -q 'Amplitude' || (echo 'Smoke test failed: compiled binary crashed on load' && exit 1)",
"lint": "pnpm lint:prettier && pnpm lint:eslint",
"lint:prettier": "prettier --check \"src/**/*.ts\"",
"lint:eslint": "eslint . --cache --format stylish",
"fix": "pnpm fix:eslint && pnpm fix:prettier",
"fix:prettier": "prettier --write \"src/**/*.ts\"",
"fix:eslint": "eslint . --format stylish --fix",
"test": "vitest run",
"test:smoke:pty": "vitest run --config vitest.config.smoke.ts",
"test:e2e": "pnpm build && ./e2e-tests/run.sh",
"test:e2e-record": "export RECORD_FIXTURES=true && pnpm build && ./e2e-tests/run.sh",
"try": "NODE_ENV=development pnpm build && NODE_ENV=development AMPLITUDE_WIZARD_DEV=1 node dist/bin.js",
"try:prod": "WIZARD_LLM_PROXY_URL=https://core.amplitude.com/wizard pnpm try",
"try:prod:eu": "WIZARD_LLM_PROXY_URL=https://core.eu.amplitude.com/wizard pnpm try",
"dev": "NODE_ENV=development pnpm build && node -e \"require('fs').writeFileSync('dist/.dev-mode','')\" && pnpm link --global && NODE_ENV=development pnpm build:watch",
"test:watch": "vitest",
"prepare": "husky",
"flows": "node scripts/render-flows.mjs",
"test:bdd": "cucumber-js",
"test:bdd:watch": "cucumber-js --retry 0 2>&1 | npx nodemon --watch features --exec cucumber-js",
"test:proxy": "vitest run --config vitest.config.proxy.ts",
"test:proxy:smoke": "vitest run --config vitest.config.proxy.ts -t 'proxy:smoke'",
"skills:refresh": "bash scripts/refresh-skills.sh",
"skills:verify-pin": "node scripts/verify-context-hub-pin.mjs",
"evals:run": "tsx evals/bin/run-eval.ts",
"bench": "tsx benchmarks/index.ts",
"sync": "git fetch origin main && git rebase origin/main && git push --force-with-lease"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.{tsx,js,jsx}": "eslint --fix"
},
"author": "Amplitude",
"license": "MIT",
"volta": {
"node": "20.18.2",
"pnpm": "10.23.0"
}
}