-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.02 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.02 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
{
"name": "@solana/spl-record",
"description": "Record Program JS API",
"version": "0.1.0",
"repository": "https://github.com/solana-program/record",
"license": "Apache-2.0",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=16"
},
"files": [
"lib",
"src",
"LICENSE",
"README.md"
],
"publishConfig": {
"access": "public"
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"exports": {
"types": "./lib/types/index.d.ts",
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"scripts": {
"prepublishOnly": "pnpm build",
"build": "tsc --build --verbose tsconfig.all.json",
"postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"lint": "eslint --max-warnings 0 .",
"lint:fix": "eslint --fix .",
"format": "prettier --check src test",
"format:fix": "prettier --write src test",
"test": "mocha test/* && pnpm test:exports",
"test:exports": "node ./test/exports/module.mjs && node ./test/exports/commonjs.cjs"
},
"peerDependencies": {
"@solana/web3.js": "^1.95.5"
},
"dependencies": {
"@solana/codecs-numbers": "^2.0.0"
},
"devDependencies": {
"@solana/prettier-config-solana": "0.0.5",
"@eslint/js": "^9.19.0",
"@types/chai": "^5.0.1",
"@types/node": "^24.10.2",
"@types/mocha": "^10.0.10",
"chai": "^5.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-require-extensions": "^0.1.1",
"mocha": "^11.0.1",
"prettier": "^3.4.2",
"shx": "^0.3.4",
"typescript": "^5.7.2",
"start-server-and-test": "^2.0.8",
"ts-node": "^10.9.2",
"typescript-eslint": "^8.22.0"
},
"prettier": "@solana/prettier-config-solana"
}