-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 7.56 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 7.56 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "lightning-tip-cards",
"version": "0.4.39",
"type": "module",
"scripts": {
"audit": "better-npm-audit audit",
"lint": "eslint . --max-warnings 0",
"typecheck": "npm run shared-typecheck && npm run backend-typecheck && npm run frontend-typecheck",
"test-units": "npm run shared-test-units && npm run backend-test-units && npm run frontend-tests",
"shared-build": "rm -rf ./dist/shared && tsc -p ./shared/tsconfig.json && tsc-alias -p ./shared/tsconfig.json",
"shared-typecheck": "tsc -p ./shared/tsconfig.json --noEmit",
"shared-test-units": "vitest run --config ./shared/vitest.config.ts ./shared/tests/units",
"frontend-dev": "vite --config ./frontend/vite.config.ts",
"frontend-preview": "vite preview --host 0.0.0.0 --port 5050 --config ./frontend/vite.config.ts",
"frontend-build": "vite build --config ./frontend/vite.config.ts",
"frontend-typecheck": "cd frontend && vue-tsc --build --force",
"frontend-test-unit": "vitest run --config ./frontend/vitest.config.ts",
"frontend-tests": "vitest run --config ./frontend/vitest.config.ts ./frontend/tests",
"backend-cli": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem tsx --tsconfig ./backend/tsconfig.json ./backend/cli.ts",
"backend-dev": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem tsx watch --tsconfig ./backend/tsconfig.json ./backend/index.ts",
"backend-dev-for-integration-tests": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem tsx watch --tsconfig ./backend/tsconfig.json ./backend/index.ts --envIntegrationTest",
"backend-debug": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem tsx --tsconfig ./backend/tsconfig.json ./backend/index.ts",
"backend-debug-for-integration-tests": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem tsx --tsconfig ./backend/tsconfig.json ./backend/index.ts --envIntegrationTest",
"backend-build": "npm run shared-build && rm -rf ./dist/backend && tsc -p ./backend/tsconfig.build.json && tsc -p ./backend/tsconfig.build.json && tsc-alias -p ./backend/tsconfig.build.json",
"backend-typecheck": "npm run shared-build && tsc -p ./backend/tsconfig.json --noEmit",
"backend-test-unit": "vitest run --config ./backend/vitest.config.ts",
"backend-test-units": "vitest run --config ./backend/vitest.config.ts ./backend/tests/units",
"backend-test-one-integration-route": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem vitest run --config ./backend/vitest.config.ts",
"backend-test-integration": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem vitest run --config ./backend/vitest.config.ts ./backend/tests/integration",
"e2e:cypress:ui": "cypress open -C ./e2e-cypress/cypress.config.ts",
"e2e:cypress:tests": "cypress run --e2e -C ./e2e-cypress/cypress.config.ts --spec 'e2e-cypress/tests/**/*.test.ts'",
"e2e:cypress:live-checks": "cypress run --e2e -C ./e2e-cypress/cypress.config.ts --spec 'e2e-cypress/live-checks/**/*.test.ts'",
"e2e:playwright:ui": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem playwright test --ui",
"e2e:playwright:tests": "NODE_EXTRA_CA_CERTS=./scripts/docker/nginx/certs/rootCA.pem playwright test",
"drizzle-update-schema": "tsx scripts/createSchemaFiles/script.ts",
"drizzle-create-migration-files": "npm run backend-build && drizzle-kit generate --config=./dist/backend/drizzle.config.js",
"drizzle-migrate": "tsx --tsconfig ./backend/tsconfig.json ./backend/drizzle.migrate.ts",
"changelog-print-current": "npx changelogen --from $(git describe --tags --abbrev=0) --to HEAD",
"bump-version": "./scripts/bump-version/bump-version.sh",
"docker:save-tipcards-database-to-sql": "docker exec -t tipcards-postgres pg_dumpall -U postgres > scripts/docker/postgres/docker-entrypoint-initdb.d/sql/init.sql",
"docker:save-lnbits-database-to-sql": "docker exec tipcards-lnbits-postgres pg_dumpall -U lnbits -p 5433 > scripts/docker/lnbits/docker-entrypoint-initdb.d/sql/init.sql",
"docker:delete-data": "./scripts/docker/delete-data.sh",
"docker:tools:up": "docker compose --profile tools up -d",
"docker:tools:down": "docker compose --profile tools down",
"docker:test:up": "docker compose --profile test up -d",
"docker:test:down": "docker compose --profile test down",
"docker:dev:up": "docker compose --profile dev up -d",
"docker:dev:down": "docker compose --profile dev down",
"docker:down": "docker compose --profile tools --profile dev --profile test down",
"dev": "docker compose --profile tools --profile dev up -d && echo '✅ Dev containers running. Call `npm run docker:down` to remove them.\n\nNow go to https://tipcards.localhost and start hacking!'"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"@trpc/client": "^11.5.0",
"@trpc/server": "^11.5.0",
"@vueuse/core": "^13.9.0",
"axios": "^1.11.0",
"bech32": "^2.0.0",
"body-parser": "^2.2.0",
"buffer": "^6.0.3",
"canvg": "^4.0.3",
"console-hooks": "^1.0.2",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dompurify": "^3.2.6",
"dotenv": "^17.2.2",
"drizzle-orm": "^0.44.5",
"eslint": "^9.34.0",
"express": "^4.21.2",
"express-http-proxy": "^2.1.1",
"file-saver": "^2.0.5",
"helmet": "^8.1.0",
"http-proxy": "^1.18.1",
"http-proxy-rules": "^1.1.3",
"jose": "^5.10.0",
"jszip": "^3.10.1",
"lnurl": "^0.27.0",
"lodash.debounce": "^4.0.8",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"luxon": "^3.7.1",
"node-cron": "^4.2.1",
"pinia": "^3.0.3",
"postgres": "^3.4.7",
"qrcode-svg": "^1.1.0",
"superjson": "^2.2.2",
"telegram-sender": "^1.1.0",
"tsx": "^4.20.5",
"vite-plugin-html": "^3.2.2",
"vue": "^3.5.21",
"vue-i18n": "^11.1.11",
"vue-router": "4.5.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^7.0.1",
"@dbml/core": "^3.13.9",
"@pinia/testing": "^1.0.2",
"@playwright/test": "^1.55.0",
"@rushstack/eslint-patch": "^1.12.0",
"@types/cookie-parser": "^1.4.9",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/express-http-proxy": "^1.6.7",
"@types/file-saver": "^2.0.7",
"@types/http-proxy": "^1.17.16",
"@types/jsdom": "^21.1.7",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.throttle": "^4.1.9",
"@types/luxon": "^3.7.1",
"@types/node": "^24.3.1",
"@types/node-cron": "^3.0.11",
"@types/qrcode-svg": "^1.1.5",
"@types/secp256k1": "^4.0.6",
"@vitejs/plugin-vue": "^6.0.1",
"@vitest/eslint-plugin": "^1.3.8",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.7.0",
"autoprefixer": "^10.4.21",
"bech32": "^2.0.0",
"better-npm-audit": "^3.11.0",
"bip32": "^4.0.0",
"bip39": "^3.1.0",
"changelogen": "^0.6.2",
"clipboardy": "^4.0.0",
"cypress": "^15.1.0",
"drizzle-kit": "^0.31.4",
"eslint": "^9.34.0",
"eslint-plugin-cypress": "^5.1.1",
"eslint-plugin-vue": "^10.4.0",
"jsdom": "^26.1.0",
"memfs": "^4.38.2",
"postcss": "^8.5.6",
"secp256k1": "^5.0.1",
"start-server-and-test": "^2.0.13",
"tailwindcss": "^3.4.17",
"tiny-secp256k1": "^2.2.4",
"ts-loader": "^9.5.4",
"tsc-alias": "^1.8.16",
"typescript": "~5.7.3",
"vite": "^7.1.4",
"vitest": "^3.2.4",
"vue-tsc": "^3.0.6"
},
"overrides": {
"lnurl": {
"express": "$express"
},
"secp256k1": "^5.0.1",
"esbuild": "^0.25.9"
}
}