forked from boxyhq/jackson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 7.06 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
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": "jackson",
"version": "1.26.8",
"private": true,
"description": "SAML 2.0 service",
"keywords": [
"SAML 2.0"
],
"repository": {
"type": "git",
"url": "https://github.com/boxyhq/jackson.git"
},
"license": "Apache-2.0",
"scripts": {
"dev": "cross-env JACKSON_API_KEYS=secret IDP_ENABLED=true next dev -p 5225",
"dev-dbs": "docker-compose -f ./_dev/docker-compose.yml up -d",
"dev-dbs-destroy": "docker-compose -f ./_dev/docker-compose.yml down --volumes --remove-orphans",
"mongo": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=mongo DB_URL=mongodb://localhost:27017/jackson npm run dev",
"pre-loaded": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=mem PRE_LOADED_CONNECTION='./_dev/saml_config' npm run dev",
"pre-loaded-db": "cross-env JACKSON_API_KEYS=secret PRE_LOADED_CONNECTION='./_dev/saml_config' npm run dev",
"sort": "npx sort-package-json",
"postgres": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=sql DB_TYPE=postgres DB_URL=postgres://postgres:postgres@localhost:5432/postgres npm run dev",
"mysql": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=sql DB_TYPE=mysql DB_URL=mysql://root:mysql@localhost:3307/mysql npm run dev",
"planetscale": "cross-env JACKSON_API_KEYS=secret DB_SSL=true DB_ENGINE=planetscale DB_URL=${PLANETSCALE_URL} npm run dev",
"mariadb": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=sql DB_TYPE=mariadb DB_URL=mariadb://root@localhost:3306/mysql npm run dev",
"mssql": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=sql DB_TYPE=mssql DB_URL='sqlserver://localhost:1433;database=master;username=sa;password=123ABabc!' npm run dev",
"dynamodb": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=dynamodb DB_URL='http://localhost:8000' npm run dev",
"postgres:skaffold": "skaffold dev -f skaffold-postgres.yaml --status-check=false --force=true",
"mongo:skaffold": "skaffold dev -f skaffold-mongo.yaml --status-check=false --force=true",
"mysql:skaffold": "skaffold dev -f skaffold-mysql.yaml --status-check=false --force=true",
"mariadb:skaffold": "skaffold dev -f skaffold-mariadb.yaml --status-check=false --force=true",
"mssql:skaffold": "skaffold dev -f skaffold-mssql.yaml --status-check=false --force=true",
"dynamodb:skaffold": "skaffold dev -f skaffold-dynamodb.yaml --status-check=false --force=true",
"demo:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-demo.yaml --status-check=false",
"demo-services:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-demo-services.yaml --status-check=false",
"demo-mocksaml:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-demo-mocksaml.yaml --status-check=false",
"demo-mocksaml-services:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-demo-mocksaml-services.yaml --status-check=false",
"prod-eu:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-prod-eu.yaml --status-check=false",
"prod-eu-services:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-prod-eu-services.yaml --status-check=false",
"prod-eu-mocksaml:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-prod-eu-mocksaml.yaml --status-check=false",
"prod-eu-mocksaml-services:skaffold": "echo 'This is only meant for BoxyHQ internal use. Please use {dbname}:skaffold instead' && skaffold run -f skaffold-prod-eu-mocksaml-services.yaml --status-check=false",
"start": "cross-env PORT=5225 NODE_OPTIONS=--dns-result-order=ipv4first node .next/standalone/server.js",
"swagger-jsdoc": "swagger-jsdoc -d swagger/swagger-definition.js npm/src/**/*.ts npm/src/**/**/*.ts -o swagger/swagger.json",
"redis": "cross-env JACKSON_API_KEYS=secret DB_ENGINE=redis DB_TYPE=redis DB_URL=redis://localhost:6379/redis npm run dev",
"prepare": "npm run prepare:npm && npm run prepare:internal-ui && npm prune",
"prepare:npm": "cd npm && npm install --legacy-peer-deps",
"prepare:internal-ui": "cd internal-ui && npm install --legacy-peer-deps",
"pretest:e2e": "env-cmd -f .env.test.local ts-node --logError e2e/support/pretest.ts",
"test:e2e": "env-cmd -f .env.test.local playwright test",
"test": "cd npm && npm run test",
"postinstall": "npm run prebuild",
"prebuild": "ts-node --logError prebuild.ts",
"build": "next build",
"postbuild": "ts-node --logError postbuild.ts",
"release": "git checkout main && git pull && git checkout release && git merge origin/main && release-it && git checkout main && git merge origin/release && git push origin main",
"check-types": "tsc --pretty --noEmit",
"check-format": "prettier --check .",
"check-lint": "next lint && eslint -c .eslintrc.js --ext ts --ext tsx --ext js ./",
"check-unused": "npx knip",
"check-locale": "node check-locale.js",
"format": "prettier --write ."
},
"dependencies": {
"@boxyhq/internal-ui": "file:internal-ui",
"@boxyhq/metrics": "0.2.8",
"@boxyhq/react-ui": "3.3.43",
"@boxyhq/saml-jackson": "file:npm",
"@heroicons/react": "2.1.5",
"@retracedhq/logs-viewer": "2.7.4",
"@retracedhq/retraced": "0.7.13",
"@tailwindcss/typography": "0.5.13",
"axios": "1.7.2",
"blockly": "11.1.1",
"chroma-js": "2.4.2",
"classnames": "2.5.1",
"cors": "2.8.5",
"cross-env": "7.0.3",
"daisyui": "4.12.10",
"formik": "2.4.6",
"i18next": "23.11.5",
"medium-zoom": "1.1.0",
"micromatch": "4.0.7",
"next": "14.2.5",
"next-auth": "4.24.7",
"next-i18next": "15.3.0",
"next-mdx-remote": "5.0.0",
"nodemailer": "6.9.14",
"raw-body": "2.5.2",
"react": "18.3.1",
"react-daisyui": "5.0.0",
"react-dom": "18.3.1",
"react-i18next": "14.1.2",
"react-syntax-highlighter": "15.5.0",
"react-tagsinput": "3.20.3",
"remark-gfm": "4.0.0",
"sharp": "0.33.4",
"swr": "2.2.5"
},
"devDependencies": {
"@playwright/test": "1.45.1",
"@types/cors": "2.8.17",
"@types/micromatch": "4.0.9",
"@types/node": "20.12.12",
"@types/react": "18.3.2",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"autoprefixer": "10.4.19",
"env-cmd": "10.1.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.5",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-i18next": "6.0.7",
"jose": "5.3.0",
"postcss": "8.4.39",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.6.5",
"release-it": "17.5.0",
"swagger-jsdoc": "6.2.8",
"tailwindcss": "3.4.4",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.4.5"
},
"overrides": {
"typeorm": {
"mssql": "11.0.0"
}
},
"engines": {
"node": ">=18.14.2",
"npm": ">=10"
}
}