forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.84 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
{
"name": "@nangohq/nango",
"type": "module",
"workspaces": [
"packages/cli",
"packages/frontend",
"packages/node-client",
"packages/server"
],
"scripts": {
"prettier-format": "prettier --config .prettierrc './**/*.ts' --write",
"prettier-watch": "onchange './**/*.ts' -- prettier --write {{changed}}",
"lint": "eslint . --ext .ts",
"install:all": "npm i && cd packages/webapp && npm i && cd ../..",
"ts-build": "./node_modules/typescript/bin/tsc -b --clean packages/server packages/cli && ./node_modules/typescript/bin/tsc -b tsconfig.build.json && ./packages/webapp/node_modules/typescript/bin/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 ../..",
"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",
"prepare": "husky install"
},
"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",
"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",
"typescript": "^4.7.4"
}
}