-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.91 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.91 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
{
"name": "@blockchaincommons/dcbor-parse",
"version": "1.0.0-beta.3",
"type": "module",
"sideEffects": false,
"description": "dCBOR Diagnostic Parser and Composer for TypeScript",
"license": "BSD-2-Clause-Patent",
"author": {
"name": "Blockchain Commons",
"email": "info@blockchaincommons.com",
"url": "https://www.blockchaincommons.com"
},
"homepage": "https://github.com/BlockchainCommons/bc-dcbor-parse-ts",
"repository": {
"type": "git",
"url": "git+https://github.com/BlockchainCommons/bc-dcbor-parse-ts.git"
},
"bugs": {
"url": "https://github.com/BlockchainCommons/bc-dcbor-parse-ts/issues"
},
"publishConfig": {
"access": "public"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.mjs"
},
"./lexer": {
"import": {
"types": "./dist/lexer.d.mts",
"default": "./dist/lexer.mjs"
},
"require": {
"types": "./dist/lexer.d.cts",
"default": "./dist/lexer.cjs"
},
"default": "./dist/lexer.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src",
"README.md",
"MIGRATION.md"
],
"scripts": {
"build": "tsdown",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:golden": "vitest run tests/golden-vectors.test.ts",
"test:differential": "vitest run tests/differential.test.ts",
"vectors:generate": "bun scripts/generate-vectors.ts",
"lint": "eslint 'src/**/*.ts' 'tests/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' 'tests/**/*.ts' --fix",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
"typecheck": "tsc --noEmit && tsc --project scripts/tsconfig.json",
"size": "size-limit",
"api:snapshot": "bun scripts/api-snapshot.ts && bun scripts/api-report.ts --local",
"api:check": "bun scripts/api-snapshot.ts --check && bun scripts/api-report.ts",
"clean": "rm -rf dist",
"docs": "typedoc",
"prepare": "bun scripts/pin-lint-typescript.ts",
"prepublishOnly": "npm run build",
"lint:pkg": "publint && attw --pack . --profile node16",
"check:deps": "node -e \"const p=require('./package.json');for(const g of ['dependencies','devDependencies','peerDependencies','optionalDependencies'])for(const [n,r] of Object.entries(p[g]||{})){if(n.startsWith('@bcts/')||String(r).startsWith('workspace:')){console.error(g+': '+n+'@'+r+' is not publishable');process.exit(1)}}console.log('dependencies are publishable')\"",
"baseline:build": "bun scripts/build-baseline.ts"
},
"keywords": [
"cbor",
"dcbor",
"parser",
"diagnostic",
"blockchain-commons",
"serialization"
],
"engines": {
"node": ">=22.12"
},
"dependencies": {
"@blockchaincommons/dcbor": "^1.0.0-beta.3",
"@blockchaincommons/known-values": "^1.0.0-beta.4",
"@blockchaincommons/uniform-resources": "^1.0.0-beta.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@blockchaincommons/tags": "^1.0.0-beta.3",
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.59.1",
"@size-limit/preset-small-lib": "^14.0.0",
"@types/node": "^26.6.1",
"@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0",
"@vitest/coverage-v8": "^5.0.1",
"ajv": "^8.20.0",
"eslint": "^10.10.0",
"fast-check": "^4.10.1",
"prettier": "3.9.7",
"publint": "^0.3.24",
"size-limit": "^14.0.0",
"tsdown": "^0.23.0",
"typedoc": "^0.28.20",
"typescript": "^7.0.2",
"typescript6": "npm:typescript@^6.0.3",
"vitest": "^5.0.1"
}
}