-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.08 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 3.08 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
{
"name": "@hypercerts-org/lexicon",
"version": "0.12.0",
"description": "ATProto lexicon definitions and TypeScript types for the Hypercerts protocol",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/exports.d.ts",
"exports": {
".": {
"types": "./dist/exports.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./lexicons": {
"types": "./dist/lexicons.d.ts",
"import": "./dist/lexicons.mjs",
"require": "./dist/lexicons.cjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"lexicons",
"SCHEMAS.md",
"CHANGELOG.md"
],
"keywords": [
"hypercerts",
"atproto",
"lexicon",
"typescript"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hypercerts-org/hypercerts-lexicon.git"
},
"scripts": {
"list": "find ./lexicons -name '*.json'",
"check": "npm run gen-api && npm run lint && npm run typecheck && npm run build && npm run test",
"build": "rollup -c && npm run build:types",
"build:types": "tsc --project tsconfig.build.json",
"gen-api": "find ./lexicons -name '*.json' | xargs lex gen-api --yes ./generated && npm run gen-index",
"gen-md": "find ./lexicons -name '*.json' | xargs lex gen-md --yes ./lexicons.md",
"gen-schemas-md": "node ./scripts/generate-schemas.js",
"//gen-ts": "UNUSED - use gen-api instead",
"gen-ts": "find ./lexicons -name '*.json' | xargs lex gen-ts-obj > generated/DO-NOT-USE-lexicons.ts",
"gen-index": "node ./scripts/generate-exports.js",
"lex": "lex",
"test": "vitest run",
"test:watch": "vitest",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "npm run format:check && npm run eslint",
"eslint": "eslint .",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
"clean": "rm -rf dist generated",
"style:check": "node ./scripts/check-lexicon-style.js",
"prepublishOnly": "npm run check",
"changeset": "changeset",
"version-packages": "changeset version && npm install --package-lock-only",
"release": "npm run check && changeset publish",
"prepare": "husky && ./scripts/setup-merge-driver.sh"
},
"dependencies": {
"@atproto/lexicon": "^0.6.0",
"multiformats": "^13.3.6"
},
"devDependencies": {
"@atproto/lex-cli": "^0.9.5",
"@atproto/xrpc": "^0.7.5",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@eslint/js": "^9.39.2",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^20.19.39",
"eslint": "^9.39.2",
"globals": "^17.0.0",
"husky": "^9.1.7",
"prettier": "^3.2.5",
"rollup": "^4.53.3",
"string-width": "^8.1.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.51.0",
"viem": "^2.46.3",
"vitest": "^4.0.16"
},
"peerDependencies": {
"@atproto/xrpc": "*"
}
}