forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.24 KB
/
package.json
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
{
"name": "@solana/spl-name-service",
"version": "0.1.4",
"description": "SPL Name Service JavaScript API",
"license": "MIT",
"author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
"homepage": "https://solana.com/",
"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"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "tsc && node --trace-warnings dist/transfer.js",
"build": "tsc",
"prepublish": "tsc",
"lint": "yarn pretty && eslint --max-warnings 0 'src/*.ts'",
"lint:fix": "yarn pretty:fix && eslint 'src/*.ts' --fix",
"pretty": "prettier --check '{src/*.ts,test/*/*.ts}'",
"pretty:fix": "prettier --write '{src/*.ts,test/*/*.ts}'",
"doc": "yarn typedoc src/index.ts",
"test": "yarn test:unit && yarn test:e2e",
"test:unit": "mocha test/unit",
"test:e2e": "start-server-and-test 'solana-test-validator --bpf-program namesLPneVptA9Z5rqUDD9tMTWEJwofgaYwp8cawRkX ../../target/deploy/spl_name_service.so --reset --quiet' http://localhost:8899/health 'mocha test/e2e'"
},
"prettier": {
"singleQuote": true
},
"devDependencies": {
"@tsconfig/recommended": "^1.0.1",
"@types/bn.js": "^5.1.1",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"babel-eslint": "^10.1.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"eslint": "^7.8.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^3.0.2",
"eslint-plugin-import": "^2.22.0",
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"start-server-and-test": "^2.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24.7",
"typescript": "^5.0.4"
},
"dependencies": {
"@solana/web3.js": "^1.11.0",
"bn.js": "^5.1.3",
"borsh": "^0.7.0"
},
"mocha": {
"require": [
"ts-node/register"
],
"recursive": true,
"extension": "ts"
}
}