-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.3 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 4.3 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
{
"name": "@blockchaincommons/dcbor-pattern",
"version": "1.0.0-beta.2",
"type": "module",
"sideEffects": false,
"description": "Pattern matching for dCBOR (Deterministic CBOR) 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-pattern-ts",
"repository": {
"type": "git",
"url": "git+https://github.com/BlockchainCommons/bc-dcbor-pattern-ts.git"
},
"bugs": {
"url": "https://github.com/BlockchainCommons/bc-dcbor-pattern-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"
},
"./format": {
"import": {
"types": "./dist/format.d.mts",
"default": "./dist/format.mjs"
},
"require": {
"types": "./dist/format.d.cts",
"default": "./dist/format.cjs"
},
"default": "./dist/format.mjs"
},
"./patterns": {
"import": {
"types": "./dist/patterns.d.mts",
"default": "./dist/patterns.mjs"
},
"require": {
"types": "./dist/patterns.d.cts",
"default": "./dist/patterns.cjs"
},
"default": "./dist/patterns.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",
"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')\"",
"vectors:generate": "bun scripts/generate-vectors.ts",
"test:golden": "vitest run tests/golden-vectors.test.ts",
"test:differential": "vitest run tests/differential.test.ts",
"baseline:build": "bun scripts/build-baseline.ts"
},
"keywords": [
"cbor",
"dcbor",
"pattern",
"matching",
"blockchain-commons",
"query",
"search"
],
"engines": {
"node": ">=22.12"
},
"dependencies": {
"@blockchaincommons/components": "^1.0.0-beta.4",
"@blockchaincommons/dcbor": "^1.0.0-beta.3",
"@blockchaincommons/dcbor-parse": "^1.0.0-beta.2",
"@blockchaincommons/known-values": "^1.0.0-beta.4",
"@blockchaincommons/tags": "^1.0.0-beta.3",
"@blockchaincommons/uniform-resources": "^1.0.0-beta.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@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",
"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"
}
}