forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 3.59 KB
/
package.json
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
{
"name": "@nangohq/nango",
"type": "module",
"workspaces": [
"packages/cli",
"packages/shared",
"packages/frontend",
"packages/node-client",
"packages/server",
"packages/worker"
],
"scripts": {
"create:migration": "cd packages/shared/lib/db && knex migrate:make $1 --esm --knexfile ./knexfile.cjs",
"undo:migration": "cd packages/shared/lib/db && knex migrate:rollback --esm --knexfile ./knexfile.cjs",
"prettier-format": "prettier --config .prettierrc \"./**/*.ts\" --write",
"prettier-watch": "onchange './**/*.ts' -- prettier --write {{changed}}",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"install:all": "npm i && cd packages/webapp && npm i && cd ../..",
"ts-build": "tsc -b --clean packages/shared packages/server packages/worker packages/cli && tsc -b tsconfig.build.json && tsc -b packages/webapp/tsconfig.json",
"docker-build": "docker build -f packages/server/Dockerfile -t nango-server:latest .",
"webapp-build:hosted": "cd ./packages/webapp && npm run build:hosted && cd ../..",
"webapp-build:staging": "cd ./packages/webapp && npm run build:staging && cd ../..",
"webapp-build:prod": "cd ./packages/webapp && npm run build:prod && cd ../..",
"webapp-build:watch": "tsc -b -w packages/webapp/tsconfig.json",
"shared:build": "cd ./packages/shared && npm run build && cd ../..",
"shared:watch": "cd ./packages/shared && tsc -w",
"build:hosted": "npm run install:all && npm run ts-build && npm run webapp-build:hosted ",
"build:staging": "npm run install:all && npm run ts-build && npm run webapp-build:staging",
"build:prod": "npm run install:all && npm run ts-build && npm run webapp-build:prod",
"server:dev:watch": "cd ./packages/server && npm run dev",
"worker:dev:watch": "cd ./packages/worker && npm run dev",
"webapp:dev:watch": "cd ./packages/webapp && npm run start:hosted",
"cli:watch": "cd ./packages/cli && npm run dev",
"prepare": "husky install",
"build:watch": "tsc -b -w tsconfig.build.json",
"dev:watch": "concurrently --kill-others \"npm run build:watch\" \"npm run webapp-build:watch\" \"npm run prettier-watch\" \"npm run shared:watch\" \"npm run cli:watch\"",
"watch:dev": "npm run dev:watch",
"dev:watch:apps": "concurrently --kill-others \"npm run server:dev:watch\" \"npm run webapp:dev:watch\" \"npm run worker:dev:watch\" ",
"watch:dev:apps": "npm run dev:watch:apps",
"dw": "npm run dev:watch",
"dwa": "npm run dev:watch:apps",
"i": "npm run install:all",
"test": "concurrently --kill-others \"npm run test:unit\" \"npm run test:integration\"",
"test:unit": "vitest",
"test:integration": "vitest --config ./vite.integration.config.ts",
"docs": "cd ./docs-v2 && mintlify dev --port 3033"
},
"devDependencies": {
"@tsconfig/node18-strictest-esm": "^1.0.1",
"@types/node": "^18.7.6",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"concurrently": "^8.0.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"onchange": "^7.1.0",
"prettier": "^2.7.1",
"testcontainers": "^9.12.0",
"typescript": "^4.7.4",
"vitest": "^0.33.0"
},
"dependencies": {
"@babel/parser": "^7.22.5",
"@babel/traverse": "^7.22.5"
}
}