forked from swan-io/swan-partner-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.44 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
{
"name": "@swan-io/partner-frontend",
"description": "Swan front-end code",
"version": "1.0.8",
"private": true,
"engines": {
"node": ">=18.0.0",
"yarn": "^1.22.0"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/swan-io/frontend"
},
"scripts": {
"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-locale-lake": "sh scripts/lake/link-locale-lake.sh",
"unlink-locale-lake": "sh scripts/lake/unlink-locale-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": "tsx scripts/deploy/deploy.ts",
"ai-translate": "tsx -r dotenv/config scripts/locales/ai-translate.ts",
"sort-locales": "tsx scripts/locales/sort.ts",
"remove-unused-locales": "tsx scripts/locales/remove-unused.ts",
"bump": "tsx scripts/version/version.ts"
},
"workspaces": {
"packages": [
"clients/*",
"server"
]
},
"lint-staged": {
"clients/**/src/locales/*.json": "yarn sort-locales",
"*": "prettier --ignore-unknown --write",
"**/*.{js,ts,tsx}": "eslint --fix",
"clients/**/src/**/*.gql": "yarn graphql-codegen"
},
"devDependencies": {
"@formatjs/icu-messageformat-parser": "2.5.0",
"@graphql-codegen/cli": "3.3.1",
"@graphql-codegen/introspection": "3.0.1",
"@graphql-codegen/typed-document-node": "4.0.1",
"@graphql-codegen/typescript": "3.0.4",
"@graphql-codegen/typescript-graphql-request": "4.5.9",
"@graphql-codegen/typescript-operations": "3.0.4",
"@graphql-codegen/typescript-urql-graphcache": "2.4.4",
"@localazy/cli": "1.7.2",
"@sentry/cli": "2.18.1",
"@swan-io/boxed": "1.0.2",
"@types/glob": "8.1.0",
"@types/prompts": "2.4.4",
"@types/sodium-native": "2.3.5",
"@typescript-eslint/eslint-plugin": "5.59.9",
"@typescript-eslint/parser": "5.59.9",
"@urql/introspection": "1.0.2",
"adm-zip": "0.5.10",
"chalk": "5.2.0",
"commander": "10.0.1",
"dotenv": "16.1.4",
"eslint": "8.42.0",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-native": "4.0.0",
"eslint-plugin-swan": "file:scripts/eslint",
"graphql": "16.6.0",
"lint-staged": "13.2.2",
"openai": "3.2.1",
"ora": "6.3.1",
"pathe": "1.1.1",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "3.2.2",
"prompts": "2.4.2",
"semver": "7.5.1",
"sodium-native": "^4.0.3",
"terser": "5.17.7",
"tiktoken-node": "0.0.6",
"ts-prune": "0.10.3",
"tsx": "3.12.7",
"type-fest": "3.11.1",
"typescript": "5.1.3",
"vite": "4.3.9",
"vitest": "0.31.4"
}
}