-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.81 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.81 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
{
"name": "@prosopo/client-example-server",
"version": "2.7.151",
"description": "Backend for client-example",
"main": "dist/app.js",
"types": "dist/app.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.cjs",
"types": "./dist/app.d.ts"
}
},
"type": "module",
"engines": {
"node": "^24",
"npm": "^11"
},
"scripts": {
"dev": "NODE_ENV=${NODE_ENV:-development}; vite serve --mode=$NODE_ENV --config ./vite.config.ts --host",
"start": "NODE_ENV=${NODE_ENV:-development}; node ./dist/app.js",
"start:bundle": "node ./dist/bundle/prosopo_client_example_server.app.bundle.js",
"build": "npm run build:cross-env -- --mode ${NODE_ENV:-development}",
"build:cross-env": "vite build --config vite.esm.config.ts",
"build:tsc": "tsc --build --verbose",
"build:cjs": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
"docker-tag": "node ../../docker/docker-tag.mjs",
"build:docker": "docker buildx build --progress=plain --tag $(npm run --silent docker-tag) --platform linux/amd64 -f ./Dockerfile ../..",
"publish:docker": "docker push $(npm run --silent docker-tag)",
"typecheck": "tsc --project tsconfig.types.json",
"test": "NODE_ENV=${NODE_ENV:-test}; npx vitest run --config ./vite.test.config.ts",
"test:watch": "NODE_ENV=${NODE_ENV:-test}; npx vitest --config ./vite.test.config.ts",
"test:coverage": "NODE_ENV=${NODE_ENV:-test}; npx vitest run --coverage --config ./vite.test.config.ts",
"bundle": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.config.ts --mode $NODE_ENV"
},
"repository": {
"type": "git",
"url": "git+https://github.com/prosopo/captcha.git",
"directory": "demos/client-example-server"
},
"author": "PROSOPO LIMITED <info@prosopo.io>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/prosopo/client-example-server/issues"
},
"homepage": "https://github.com/prosopo/client-example-server#readme",
"dependencies": {
"@noble/hashes": "1.8.0",
"@polkadot/util": "13.5.7",
"@polkadot/util-crypto": "14.0.3",
"@prosopo/common": "3.1.52",
"@prosopo/database": "4.0.25",
"@prosopo/logger": "2.0.7",
"@prosopo/dotenv": "3.0.53",
"@prosopo/keyring": "2.9.82",
"@prosopo/server": "2.11.4",
"@prosopo/types": "5.5.2",
"@prosopo/util": "3.3.7",
"@typegoose/auto-increment": "4.13.0",
"cors": "2.8.6",
"express": "4.22.2",
"jsonwebtoken": "9.0.3",
"mongodb-memory-server": "10.3.0",
"mongoose": "8.24.1",
"zod": "3.23.8"
},
"devDependencies": {
"@prosopo/config": "3.3.12",
"@types/jsonwebtoken": "9.0.10",
"@types/node": "22.10.2",
"@vitest/coverage-v8": "4.1.10",
"concurrently": "9.0.1",
"del-cli": "6.0.0",
"npm-run-all": "4.1.5",
"tslib": "2.7.0",
"tsx": "4.20.3",
"typescript": "5.6.2",
"vite": "8.1.5",
"vitest": "4.1.10"
}
}