-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
115 lines (115 loc) · 4.64 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
{
"name": "@swan-io/partner-frontend",
"description": "Swan front-end code",
"version": "1.23.13",
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=18.20.0",
"pnpm": "^9.13.0"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/swan-io/frontend"
},
"scripts": {
"postinstall": "pnpm graphql-codegen",
"configure": "tsx scripts/configure/configure.ts",
"graphql-update-schemas": "tsx -r dotenv/config scripts/graphql/downloadSchemas.ts",
"graphql-codegen": "graphql-codegen --config scripts/graphql/codegen.ts",
"format": "prettier '**/*' --ignore-unknown --write",
"link-local-lake": "sh scripts/lake/link-local-lake.sh",
"unlink-local-lake": "sh scripts/lake/unlink-local-lake.sh",
"dev": "tsx -r dotenv/config server/src/index.ts --dev",
"dev-swan": "tsx -r dotenv/config server/src/index.swan.ts --dev dotenv_config_path=.env.swan",
"build": "tsx -r dotenv/config scripts/build/index.ts",
"typecheck": "tsc --noEmit",
"license-report": "tsx scripts/license-crawler/crawlLicenses.ts --check --report",
"license-check": "tsx scripts/license-crawler/crawlLicenses.ts --check",
"lint": "eslint 'clients/*/src/**/*.{ts,tsx}'",
"test": "vitest run --passWithNoTests",
"lint-env-vars": "tsx scripts/env/lintEnvVariables.ts",
"type-env-vars": "tsx scripts/env/writeEnvInterface.ts",
"generate-cookie-key": "tsx scripts/cookie/generateCookieKey.ts",
"deploy-ci": "node scripts/deploy/deploy.js",
"ai-translate": "tsx -r dotenv/config scripts/locales/aiTranslate.ts",
"format-locales": "tsx scripts/locales/sort.ts && prettier '**/locales/*.json' --write",
"pull-banking-locales": "localazy download banking -k localazy.keys.banking.json",
"pull-onboarding-locales": "localazy download onboarding -k localazy.keys.onboarding.json",
"pull-payment-locales": "localazy download payment -k localazy.keys.payment.json",
"pull-locales": "pnpm pull-banking-locales && pnpm pull-onboarding-locales && pnpm pull-payment-locales && pnpm format-locales",
"remove-unused-locales": "tsx scripts/locales/removeUnused.ts",
"release": "tsx scripts/release/createPullRequest.ts",
"dev-e2e": "tsx -r dotenv/config server/src/index.ts --dev dotenv_config_path=.env.e2e",
"read-e2e-sms": "tsx scripts/twilio/getLastMessages.ts",
"test-e2e": "playwright test",
"test-e2e-ui": "playwright test --ui",
"match-e2e-translations": "tsx scripts/tests/matchTranslations.ts",
"configure-hooks": "git config --local core.hooksPath .hooks",
"ci-get-changelog": "tsx scripts/changelog/getChangelog.ts",
"tggl-gen-type": "tggl typing -o types/tggl/index.d.ts -k $TGGL_SERVER_KEY && prettier 'types/tggl/*' --write"
},
"lint-staged": {
"clients/**/src/locales/*.json": "pnpm format-locales",
"*": "prettier --ignore-unknown --write",
"**/*.{js,ts,tsx}": "eslint --fix",
"clients/**/src/**/*.gql": "pnpm graphql-codegen"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"react-native"
]
}
},
"devDependencies": {
"@actions/core": "1.11.1",
"@actions/github": "6.0.0",
"@formatjs/icu-messageformat-parser": "2.8.0",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/typed-document-node": "5.0.10",
"@graphql-codegen/typescript": "4.1.0",
"@graphql-codegen/typescript-graphql-request": "6.2.0",
"@graphql-codegen/typescript-operations": "4.3.0",
"@graphql-eslint/eslint-plugin": "3.20.1",
"@localazy/cli": "1.7.14",
"@playwright/test": "1.48.1",
"@sentry/cli": "2.38.0",
"@swan-io/boxed": "3.1.1",
"@types/glob": "8.1.0",
"@types/prompts": "2.4.9",
"@types/semver": "7.5.8",
"@types/sodium-native": "2.3.9",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@typescript-eslint/parser": "8.11.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-react-native": "4.1.0",
"eslint-plugin-swan": "file:scripts/eslint",
"fast-glob": "3.3.2",
"graphql": "16.9.0",
"lint-staged": "15.2.10",
"openai": "4.68.2",
"ora": "8.1.0",
"pathe": "1.1.2",
"picocolors": "1.1.1",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.1.0",
"prompts": "2.4.2",
"semver": "7.6.3",
"slackify-markdown": "4.4.0",
"sodium-native": "4.2.2",
"tggl-cli": "1.4.0",
"tiktoken-node": "0.0.7",
"ts-prune": "0.10.3",
"tsx": "4.19.1",
"type-fest": "4.26.1",
"typescript": "5.6.3",
"valienv": "0.7.0",
"vite": "5.4.10",
"vitest": "2.1.3"
}
}