52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "anchor",
|
||
|
"version": "0.0.0",
|
||
|
"description": "Anchor client",
|
||
|
"main": "dist/cjs/index.js",
|
||
|
"module": "dist/esm/index.js",
|
||
|
"types": "dist/index.d.ts",
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=10"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "yarn build:node",
|
||
|
"build:node": "tsc && tsc -p tsconfig.cjs.json",
|
||
|
"watch": "tsc --watch",
|
||
|
"test:unit": "jest test/unit",
|
||
|
"test:integration": "jest test/integration --detectOpenHandles",
|
||
|
"coverage": "jest --coverage test/unit",
|
||
|
"prepublishOnly": "yarn build"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@project-serum/borsh": "^0.0.1-beta.0",
|
||
|
"@project-serum/common": "^0.0.1-beta.0",
|
||
|
"@project-serum/lockup": "^0.0.1-beta.0",
|
||
|
"@solana/spl-token": "0.0.11",
|
||
|
"bn.js": "^5.1.2",
|
||
|
"buffer-layout": "^1.2.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@commitlint/cli": "^8.2.0",
|
||
|
"@commitlint/config-conventional": "^8.2.0",
|
||
|
"@types/jest": "^26.0.15",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.6.0",
|
||
|
"@typescript-eslint/parser": "^4.6.0",
|
||
|
"eslint": "^7.12.1",
|
||
|
"eslint-config-prettier": "^6.15.0",
|
||
|
"husky": "^4.3.0",
|
||
|
"jest": "26.6.0",
|
||
|
"jest-config": "26.6.0",
|
||
|
"lint-staged": "^10.5.0",
|
||
|
"prettier": "^2.1.2",
|
||
|
"ts-jest": "^26.4.3",
|
||
|
"ts-node": "^9.0.0",
|
||
|
"typescript": "^4.0.5"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"@solana/web3.js": "^0.86.1"
|
||
|
}
|
||
|
}
|