-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.35 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
{
"name": "@odatano/daypass",
"version": "0.0.1",
"description": "DAYPASS is an EU Battery Regulation 2023/1542 Digital Product Passport consumer app on Cardano (CIP-25 NFT + anchor metadata). It consumes @odatano/core as a CAP plugin.",
"private": true,
"author": "ODATANO",
"repository": {
"type": "git",
"url": "https://github.com/ODATANO/DAYPASS"
},
"zkToolchain": {
"_comment": "ZK sidecar version surfaced as README badge (shields dynamic/json). Mirror of the @odatano/dayzero version in docker-compose.yml — keep in sync on bump.",
"dayzero": "^0.3.0"
},
"dependencies": {
"@noble/hashes": "^1.5.0",
"@odatano/core": "2.0.0-rc.4",
"@odatano/dpp-sdk": "^0.1.0",
"@sap/cds": "^10.0.6",
"express": "^4",
"qrcode": "^1.5.4"
},
"devDependencies": {
"@cap-js/cds-typer": "^0.40.2",
"@cap-js/cds-types": "^0.18.0",
"@cap-js/sqlite": "^3.0.2",
"@sap/cds-dk": "^10.0.7",
"@types/node": "^24.0.0",
"@types/qrcode": "^1.5.6",
"patch-package": "^8.0.1",
"tsx": "^4",
"typescript": "^5.9.3"
},
"scripts": {
"postinstall": "patch-package",
"start": "cds-tsx serve",
"deploy": "node -e \"const cds=require('@sap/cds');(async()=>{await cds.plugins;const m=await cds.load('*');await cds.deploy(m).to('db');console.log('deployed to db/daypass.db')})().catch(e=>{console.error(e);process.exit(1)})\"",
"typecheck": "tsc --noEmit",
"test": "node --import tsx --test \"test/unit/**/*.test.ts\"",
"test:ci": "node --import tsx --test-reporter=spec --test \"test/unit/**/*.test.ts\"",
"test:coverage": "node -e \"require('fs').mkdirSync('coverage',{recursive:true})\" && node --import tsx --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-reporter=spec --test-reporter-destination=stdout --test \"test/unit/**/*.test.ts\""
},
"cds": {
"requires": {
"db": {
"kind": "sqlite",
"credentials": {
"database": "db/daypass.db"
}
},
"odatano-core": {
"network": "preview",
"backends": [
"blockfrost"
],
"indexTtlMs": 60000
},
"auth": {
"kind": "custom",
"impl": "srv/auth.js"
}
},
"odata": {
"version": "v4"
}
},
"imports": {
"#cds-models/*": "./@cds-models/*/index.js"
}
}