anchor/ts/package.json

57 lines
1.5 KiB
JSON

{
"name": "@project-serum/anchor",
"version": "0.0.0-alpha.2",
"description": "Anchor client",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"license": "(MIT OR Apache-2.0)",
"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 -p tsconfig.cjs.json --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",
"@types/bn.js": "^4.11.6",
"bn.js": "^5.1.2",
"buffer-layout": "^1.2.0",
"camelcase": "^5.3.1",
"crypto-hash": "^1.3.0",
"find": "^0.3.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"
}
}