72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
{
|
|
"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/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": "^4.0.1",
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
"babel-eslint": "^10.1.0",
|
|
"chai": "^4.3.7",
|
|
"chai-as-promised": "^7.1.1",
|
|
"eslint": "^7.8.0",
|
|
"eslint-config-prettier": "^6.11.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": "^2.2.1",
|
|
"start-server-and-test": "^2.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"typedoc": "^0.22.11",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"dependencies": {
|
|
"@solana/web3.js": "^1.11.0",
|
|
"bn.js": "^5.1.3",
|
|
"borsh": "^0.4.0"
|
|
},
|
|
"mocha": {
|
|
"require": [
|
|
"ts-node/register"
|
|
],
|
|
"recursive": true,
|
|
"extension": "ts"
|
|
}
|
|
}
|