@solana/spl-name-service
Version:
SPL Name Service JavaScript API
75 lines (74 loc) • 2.51 kB
JSON
{
"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": "npm run pretty && eslint --max-warnings 0 'src/*.ts'",
"lint:fix": "npm run pretty:fix && eslint 'src/*.ts' --fix",
"pretty": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}'",
"pretty:fix": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
"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'"
},
"prettier": {
"singleQuote": true
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/bn.js": "^5.1.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^6.5.1",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"start-server-and-test": "^2.0.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"dependencies": {
"@solana/web3.js": "^1.91.6",
"bn.js": "^5.1.3",
"borsh": "^2.0.0"
}
}