Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.24 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.24 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
{
"name": "braintrust-sdk-js",
"version": "0.0.1",
"repository": "https://github.com/braintrustdata/braintrust-sdk-javascript",
"license": "MIT",
"private": true,
"scripts": {
"preinstall": "node -e \"const userAgent = process.env.npm_config_user_agent || ''; if (process.env.INIT_CWD === process.cwd() && !userAgent.includes('pnpm/')) { console.error('Use pnpm in this repo.'); process.exit(1); }\"",
"build": "vp run -r build",
"check:typings": "vp run -r check:typings",
"dev": "vp run -r dev",
"watch": "vp run -r watch",
"start": "vp run -r start",
"clean": "vp run -r clean",
"knip": "knip --config knip.jsonc --no-config-hints",
"test": "vp run --filter='*' --filter='@braintrust/*' --filter='!braintrust-sdk-js' --filter='!@braintrust/otel' test",
"test:e2e": "vp run --filter=@braintrust/js-e2e-tests test:e2e",
"test:e2e:update": "vp run --filter=@braintrust/js-e2e-tests test:e2e:update",
"test:e2e:record": "node e2e/scripts/run-record-tests.mjs --braintrust-build-deps",
"test:e2e:bump": "node e2e/scripts/run-e2e-bump-docker.mjs",
"dotagents:install": "dotagents install",
"dotagents:sync": "dotagents sync",
"changeset": "changeset",
"playground": "vp run --filter=braintrust playground",
"formatting": "vp fmt --check .",
"lint": "vp lint .",
"fix:formatting": "vp fmt --write .",
"fix:lint": "vp lint --fix .",
"yalc:publish": "vp run -r yalc:publish",
"pretest:e2e": "pnpm run build",
"pretest:e2e:update": "pnpm run build",
"pretest": "pnpm run build",
"precheck:typings": "pnpm run build",
"check": "vp check",
"test:e2e:cassettes": "pnpm run test:e2e -- --check-cassettes"
},
"engines": {
"pnpm": ">=10.27.0",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm"
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@changesets/get-github-info": "^0.8.0",
"@sentry/dotagents": "1.17.0",
"dotenv": "^17.2.3",
"husky": "^9.1.7",
"knip": "^5.85.0",
"lint-staged": "^16.2.7",
"vite": "catalog:",
"vite-plus": "catalog:",
"yalc": "1.0.0-pre.53"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,mjs,cjs,css,md,mdx,html,yaml,yml,json}": "vp fmt --write"
},
"packageManager": "pnpm@10.33.0"
}