-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.38 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 4.38 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
{
"name": "@open-captable-protocol/canton",
"version": "0.8.0",
"description": "A TypeScript SDK for interacting with the Open CapTable Protocol (OCP) Factory contract on Canton blockchain",
"repository": {
"type": "git",
"url": "https://github.com/Fairmint/ocp-canton-sdk.git"
},
"license": "Apache-2.0",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./replication": {
"types": "./dist/replication.d.ts",
"import": "./dist/replication.js",
"require": "./dist/replication.js",
"default": "./dist/replication.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"replication": [
"./dist/replication.d.ts"
]
}
},
"files": [
"dist",
"LICENSE",
"NOTICE"
],
"scripts": {
"build": "tsc && npm run copy-ocf-schemas",
"check:package-artifacts": "node scripts/check-package-artifacts.cjs",
"clean": "rm -rf dist",
"copy-ocf-schemas": "ts-node --project tsconfig.tests.json scripts/copy-ocf-schemas.ts",
"dev": "tsc --watch",
"fix": "npm run lint:fix && npm run format:fix",
"flatten-schemas": "ts-node --project tsconfig.tests.json scripts/flatten-ocf-schemas.ts",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix --max-warnings=0",
"localnet": "CANTON_LOCALNET_AUTH_MODE=shared-secret FAIRMINT_TEST_SHARED_SECRET=unsafe canton-dev-tools",
"localnet:diagnostics": "npm run -s localnet -- diagnostics",
"localnet:logs": "npm run -s localnet -- diagnostics",
"localnet:readiness": "npm run -s localnet -- readiness",
"localnet:smoke": "npm run -s localnet -- readiness",
"localnet:start": "npm run -s localnet -- start",
"localnet:status": "npm run -s localnet -- diagnostics",
"localnet:stop": "npm run -s localnet -- teardown",
"localnet:teardown": "npm run -s localnet -- teardown",
"localnet:test": "npm run test:integration:ci",
"localnet:verify": "npm run localnet:start && npm run localnet:readiness && npm run localnet:test",
"prepare-release": "canton-dev-tools prepare-release",
"script:authorize": "ts-node --project tsconfig.tests.json scripts/authorizeIssuer.ts",
"script:create-issuer": "ts-node --project tsconfig.tests.json scripts/createIssuer.ts",
"script:get-issuer-ocf": "ts-node --project tsconfig.tests.json scripts/getIssuerAsOcf.ts",
"test": "npm run -s typecheck && jest --passWithNoTests",
"test:ci": "npm run -s typecheck && jest --runInBand --coverage",
"test:coverage": "jest --coverage --passWithNoTests",
"test:declarations": "ts-node --project tsconfig.tests.json scripts/check-declarations.ts && tsc -p tsconfig.declaration-tests.json --noEmit",
"test:integration": "npm run -s typecheck && jest -c jest.integration.config.js --passWithNoTests",
"test:integration:ci": "npm run -s typecheck && jest -c jest.integration.config.js --runInBand",
"test:watch": "jest --watch",
"typecheck": "tsc -p tsconfig.tests.json --noEmit"
},
"dependencies": {
"@daml/ledger": "2.10.4",
"@daml/types": "3.5.2",
"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"zod": "4.4.3"
},
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "15.5.1",
"@eslint/eslintrc": "3.3.6",
"@fairmint/canton-dev-tools": "0.1.7",
"@fairmint/canton-node-sdk": "0.0.265",
"@fairmint/open-captable-protocol-daml-js": "0.3.42",
"@types/jest": "30.0.0",
"@types/node": "25.6.0",
"@typescript-eslint/eslint-plugin": "8.59.0",
"@typescript-eslint/parser": "8.59.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-unused-imports": "4.4.1",
"fast-check": "4.9.0",
"jest": "30.4.2",
"prettier": "3.9.6",
"prettier-plugin-organize-imports": "4.3.0",
"prettier-plugin-packagejson": "3.0.2",
"ts-jest": "29.4.12",
"ts-node": "10.9.2",
"typescript": "6.0.3"
},
"peerDependencies": {
"@fairmint/canton-node-sdk": ">=0.0.223 <0.1.0",
"@fairmint/open-captable-protocol-daml-js": ">=0.3.13 <0.4.0"
},
"publishConfig": {
"access": "public"
}
}