Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.5 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
{
"name": "@stellar/js-xdr",
"version": "5.0.0",
"description": "Read/write XDR encoded data structures (RFC 4506)",
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10.0.0"
},
"packageManager": "pnpm@10.33.0",
"main": "./dist/js-xdr.cjs",
"module": "./dist/js-xdr.mjs",
"types": "./dist/js-xdr.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/js-xdr.d.mts",
"default": "./dist/js-xdr.mjs"
},
"require": {
"types": "./dist/js-xdr.d.ts",
"default": "./dist/js-xdr.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "pnpm run clean && rollup -c rollup.config.mjs",
"test": "vitest run",
"test:watch": "vitest",
"bench": "vitest bench --run",
"bench:baseline": "vitest bench --run --outputJson bench-baseline.json",
"bench:compare": "vitest bench --run --compare bench-baseline.json",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"check:package-types": "attw --pack .",
"test-generate": "bundle exec xdrgen -o generated -n test -l javascript examples/test.x",
"fixtures:generate-v4": "node test/fixtures/generate-v4-compat.cjs",
"fmt": "prettier --write '**/*.{js,ts,json}'",
"prepare": "husky",
"prepublishOnly": "pnpm build && pnpm typecheck && pnpm lint && pnpm test",
"clean": "rm -rf dist lib"
},
"repository": {
"type": "git",
"url": "https://github.com/stellar/js-xdr.git"
},
"keywords": [
"xdr",
"rfc4506",
"serialization",
"codec",
"binary",
"stellar"
],
"author": "Stellar Development Foundation <hello@stellar.org>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/stellar/js-xdr/issues"
},
"homepage": "https://github.com/stellar/js-xdr",
"lint-staged": {
"**/*.ts": [
"eslint --fix",
"prettier --write"
],
"**/*.{js,mjs,json}": [
"prettier --write"
]
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.4",
"@eslint/js": "^9.39.4",
"@types/node": "^22.0.0",
"esbuild": "^0.27.1",
"eslint": "^9.39.4",
"eslint-config-prettier": "^9.1.2",
"husky": "^9.1.7",
"js-xdr-v4": "npm:@stellar/js-xdr@4.0.0",
"lint-staged": "13.2.2",
"prettier": "^2.8.7",
"rollup": "^4.53.3",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-esbuild": "^6.2.1",
"typescript": "^5.6.0",
"typescript-eslint": "^8.60.0",
"vite": "^7.0.0",
"vitest": "^4.1.0"
}
}