-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.17 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.17 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
{
"name": "@solana/spl-name-service",
"version": "0.2.1",
"description": "SPL Name Service JavaScript API",
"license": "MIT",
"author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
"homepage": "https://solana.com/",
"type": "module",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/solana-labs/solana-program-library"
},
"bugs": {
"url": "https://github.com/solana-labs/solana-program-library/issues"
},
"publishConfig": {
"access": "public"
},
"files": [
"lib",
"src",
"LICENSE"
],
"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": {
"build": "tsc --build --verbose tsconfig.all.json",
"build:program": "cargo build-sbf --manifest-path=../program/Cargo.toml",
"prepublish": "tsc",
"lint": "eslint --max-warnings 0 'src/*.ts'",
"lint:fix": "eslint 'src/*.ts' --fix",
"doc": "npm run typedoc src/index.ts",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest test/unit",
"test:e2e": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" start-server-and-test 'solana-test-validator --bpf-program namesLPneVptA9Z5rqUDD9tMTWEJwofgaYwp8cawRkX ../../target/deploy/spl_name_service.so --reset --quiet' http://127.0.0.1:8899/health 'jest test/e2e'"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/bn.js": "^5.1.6",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^8.57.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^7.2.1",
"eslint-plugin-import": "^2.31.0",
"jest": "^29.7.0",
"start-server-and-test": "^2.0.9",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typescript": "^5.7.2"
},
"dependencies": {
"@solana/web3.js": "^1.95.5",
"bn.js": "^5.1.3",
"borsh": "^2.0.0"
}
}