Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 6.64 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 6.64 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
{
"name": "@nangohq/nango",
"type": "module",
"version": "0.72.4",
"workspaces": [
"packages/*",
"scripts"
],
"scripts": {
"create:migration": "cd packages/database/lib && knex migrate:make $1 --esm --knexfile ./knexfile.cjs",
"undo:migration": "cd packages/database/lib && knex migrate:rollback --esm --knexfile ./knexfile.cjs",
"format": "prettier --config .prettierrc \"./**/*.{ts,tsx}\" --write",
"format:check": "prettier --config .prettierrc \"./**/*.{ts,tsx}\" --check",
"format:watch": "onchange './**/*.{ts,tsx}' -- prettier --write {{changed}}",
"lint": "oxlint -c .oxlintrc.json",
"lint:fix": "oxlint -c .oxlintrc.json --fix",
"ts-build": "tsc -b tsconfig.build.json",
"ts-build:docker": "tsc -b tsconfig.docker.json",
"ts-clean": "npx rimraf packages/*/tsconfig.tsbuildinfo packages/*/dist",
"webapp-build": "cd ./packages/webapp && npm run build && cd ../..",
"webapp-build:watch": "tsc -b -w packages/webapp/tsconfig.json",
"docker-build:unified": "./scripts/build_docker.sh",
"build:hosted": "npm ci && npm run ts-build && npm run webapp-build && npm run connect-ui:build",
"build:prod": "npm ci && npm run ts-build && npm run webapp-build",
"server:dev:watch": "cd ./packages/server && npm run dev",
"jobs:dev:watch": "npm run dev -w @nangohq/nango-jobs",
"persist:dev:watch": "npm run dev -w @nangohq/nango-persist",
"orchestrator:dev:watch": "npm run dev -w @nangohq/nango-orchestrator",
"metering:dev:watch": "npm run dev -w @nangohq/nango-metering",
"seed:clickhouse": "LOG_LEVEL=warn tsx -r dotenv/config scripts/seed-clickhouse.ts dotenv_config_path=.env",
"webapp:dev:watch": "cd ./packages/webapp && npm run dev",
"connect-ui:dev:watch": "cd ./packages/connect-ui && npm run dev",
"connect-ui:build": "npm run -w @nangohq/connect-ui build",
"prepare": "husky install",
"build:watch": "tsc -b -w --preserveWatchOutput tsconfig.build.json",
"dev:watch": "npm run -w nango copy:files && npm run build:watch",
"watch:dev": "npm run dev:watch",
"dev:watch:apps": "concurrently --names 'srv,web,job,prs,orc,met,con' --kill-others \"npm run server:dev:watch\" \"npm run webapp:dev:watch\" \"npm run jobs:dev:watch\" \"npm run persist:dev:watch\" \"npm run orchestrator:dev:watch\" \"npm run metering:dev:watch\" \"npm run connect-ui:dev:watch\"",
"dev:watch:headless": "concurrently --names 'srv,job,prs,orc,met' --kill-others \"npm run server:dev:watch\" \"npm run jobs:dev:watch\" \"npm run persist:dev:watch\" \"npm run orchestrator:dev:watch\" \"npm run metering:dev:watch\"",
"dev:watch:web": "concurrently --names 'srv,web' --kill-others \"npm run server:dev:watch\" \"npm run webapp:dev:watch\" \"npm run connect-ui:dev:watch\"",
"watch:dev:apps": "npm run dev:watch:apps",
"dw": "npm run dev:watch",
"dwa": "npm run dev:watch:apps",
"dwh": "npm run dev:watch:headless",
"test": "concurrently --kill-others \"npm run test:unit\" \"npm run test:integration\" \"npm run test:cli\"",
"test:unit": "vitest ${npm_config_dir:+--dir=$npm_config_dir}",
"test:integration": "vitest --config ./vite.integration.config.ts ${npm_config_dir:+--dir=$npm_config_dir}",
"test:cli": "vitest --config ./vite.cli.config.ts",
"test:cli:update-snapshots": "vitest --config ./vite.cli.config.ts --update",
"test:openapi": "npx @apidevtools/swagger-cli validate docs/spec.yaml && npx @redocly/cli lint docs/spec.yaml",
"update:providers:scopes:all": "npx tsx scripts/validation/providers/sync-scopes.ts --all --write --agent --force --session-timeout-minutes=0",
"update:providers:scopes:new": "npx tsx scripts/validation/providers/sync-scopes.ts --from-diff --write --agent --session-timeout-minutes=0",
"run:runner": "cd ./packages/runner && npm run dev",
"test:providers": "npx tsx scripts/validation/providers/validate.ts",
"docs": "tsx scripts/docs-gen-snippets.ts && tsx scripts/docs-generate-llms.ts && cd ./docs && npx mintlify dev --port 3033",
"docs:generate": "tsx scripts/docs-gen-snippets.ts && tsx scripts/docs-generate-llms.ts",
"docs:generate:llms": "tsx scripts/docs-generate-llms.ts",
"storybook": "npm --prefix packages/design-system run storybook",
"nango": "cd ./packages/server && npm run nango",
"dev:docker": "docker compose --file dev/docker-compose.dev.yaml up -d",
"internal-auth:key": "tsx scripts/generate-internal-auth-key.ts",
"changelog:providers": "tsx scripts/provider-changelog.ts",
"changelog:integrations": "tsx scripts/pre-built-integrations-changelog.ts"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "4.7.1",
"@testcontainers/elasticsearch": "12.0.2",
"@testcontainers/postgresql": "12.0.2",
"@types/node": "22.15.29",
"concurrently": "9.2.0",
"husky": "8.0.3",
"lint-staged": "15.5.1",
"onchange": "7.1.0",
"oxlint": "1.70.0",
"oxlint-tsgolint": "0.23.0",
"prettier": "3.6.2",
"@redocly/cli": "2.34.0",
"rimraf": "6.1.3",
"testcontainers": "12.2.0",
"tsx": "4.22.4",
"typescript": "5.8.3",
"vitest": "4.1.11"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs}": [
"oxlint -c .oxlintrc.json --fix",
"prettier --config .prettierrc --write"
],
"*.{html,css,json,yaml}": [
"prettier --write"
]
},
"engines": {
"node": ">=20.0.0"
},
"overrides": {
"@radix-ui/react-dismissable-layer": "1.1.11",
"postcss": "8.5.31",
"js-cookie": "3.0.8",
"tmp": "0.2.7",
"protobufjs": "7.6.5",
"qs": "6.17.1",
"esbuild": "0.28.1",
"js-yaml": "4.3.2",
"@apidevtools/swagger-cli": {
"js-yaml": "3.15.2"
},
"dd-trace": "5.134.0",
"@elastic/transport": {
"undici": "6.29.1"
},
"@ai-sdk/provider-utils": {
"undici": "7.30.1"
},
"jsdom": {
"undici": "8.12.3"
},
"testcontainers": {
"undici": "8.12.3"
},
"@tokens-studio/sd-transforms": {
"style-dictionary": "5.4.4"
},
"compression": "1.8.2",
"@xmldom/xmldom": "0.8.15",
"axios": "1.20.0",
"joi": "17.13.9",
"valibot": "1.5.0",
"follow-redirects": "1.16.2",
"vite": "8.3.5",
"zod": "4.6.7"
}
}