2020-12-31 17:54:51 -08:00
|
|
|
{
|
2021-01-04 18:29:16 -08:00
|
|
|
"name": "@project-serum/anchor",
|
2021-11-13 18:58:10 -08:00
|
|
|
"version": "0.18.2",
|
2020-12-31 17:54:51 -08:00
|
|
|
"description": "Anchor client",
|
2021-11-28 08:02:58 -08:00
|
|
|
"module": "./dist/esm/index.js",
|
|
|
|
"main": "./dist/cjs/index.js",
|
2021-12-07 12:16:46 -08:00
|
|
|
"browser": "./dist/browser/index.js",
|
2021-01-04 18:29:16 -08:00
|
|
|
"license": "(MIT OR Apache-2.0)",
|
2021-09-16 13:42:11 -07:00
|
|
|
"types": "dist/cjs/index.d.ts",
|
2021-10-21 19:37:18 -07:00
|
|
|
"homepage": "https://github.com/project-serum/anchor#readme",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/project-serum/anchor/issues"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/project-serum/anchor.git"
|
|
|
|
},
|
2020-12-31 17:54:51 -08:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"engines": {
|
2021-06-09 08:34:45 -07:00
|
|
|
"node": ">=11"
|
2020-12-31 17:54:51 -08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-12-07 12:16:46 -08:00
|
|
|
"build": "rimraf dist/ && yarn build:node && yarn build:browser",
|
2020-12-31 17:54:51 -08:00
|
|
|
"build:node": "tsc && tsc -p tsconfig.cjs.json",
|
2021-12-07 12:16:46 -08:00
|
|
|
"build:browser": "rollup --config",
|
2021-07-17 17:56:42 -07:00
|
|
|
"lint:fix": "prettier src/** tests/** -w",
|
|
|
|
"lint": "prettier src/** tests/** --check",
|
2021-01-01 13:58:20 -08:00
|
|
|
"watch": "tsc -p tsconfig.cjs.json --watch",
|
2021-05-10 13:12:20 -07:00
|
|
|
"prepublishOnly": "yarn build",
|
2021-07-16 09:56:49 -07:00
|
|
|
"docs": "typedoc --excludePrivate --includeVersion --out ../docs/src/.vuepress/dist/ts/ --readme none src/index.ts",
|
|
|
|
"test": "jest tests --detectOpenHandles"
|
2020-12-31 17:54:51 -08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-05-15 15:21:16 -07:00
|
|
|
"@project-serum/borsh": "^0.2.2",
|
2021-06-09 13:02:50 -07:00
|
|
|
"@solana/web3.js": "^1.17.0",
|
2021-03-24 20:19:29 -07:00
|
|
|
"base64-js": "^1.5.1",
|
2020-12-31 17:54:51 -08:00
|
|
|
"bn.js": "^5.1.2",
|
2021-01-27 19:31:15 -08:00
|
|
|
"bs58": "^4.0.1",
|
2021-12-07 12:16:46 -08:00
|
|
|
"buffer-layout": "^1.2.2",
|
2021-01-02 22:40:17 -08:00
|
|
|
"camelcase": "^5.3.1",
|
2021-02-07 07:45:10 -08:00
|
|
|
"crypto-hash": "^1.3.0",
|
2021-01-27 19:31:15 -08:00
|
|
|
"eventemitter3": "^4.0.7",
|
2021-01-29 06:19:00 -08:00
|
|
|
"find": "^0.3.0",
|
2021-02-06 00:28:33 -08:00
|
|
|
"js-sha256": "^0.9.0",
|
|
|
|
"pako": "^2.0.3",
|
2021-05-23 13:57:55 -07:00
|
|
|
"snake-case": "^3.0.4",
|
|
|
|
"toml": "^3.0.0"
|
2020-12-31 17:54:51 -08:00
|
|
|
},
|
2021-01-01 13:58:20 -08:00
|
|
|
"devDependencies": {
|
2021-01-30 19:16:55 -08:00
|
|
|
"@commitlint/cli": "^11.0.0",
|
|
|
|
"@commitlint/config-conventional": "^11.0.0",
|
2021-12-07 12:16:46 -08:00
|
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
|
|
"@rollup/plugin-replace": "^3.0.0",
|
|
|
|
"@rollup/plugin-typescript": "^8.3.0",
|
2021-05-16 11:20:44 -07:00
|
|
|
"@types/bn.js": "^4.11.6",
|
|
|
|
"@types/bs58": "^4.0.1",
|
|
|
|
"@types/crypto-hash": "^1.1.2",
|
2021-11-28 08:02:58 -08:00
|
|
|
"@types/jest": "^27.0.3",
|
2021-05-16 11:20:44 -07:00
|
|
|
"@types/pako": "^1.0.1",
|
2020-12-31 17:54:51 -08:00
|
|
|
"@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",
|
2021-11-28 08:02:58 -08:00
|
|
|
"jest": "27.3.1",
|
|
|
|
"jest-config": "27.3.1",
|
2020-12-31 17:54:51 -08:00
|
|
|
"lint-staged": "^10.5.0",
|
|
|
|
"prettier": "^2.1.2",
|
2021-12-07 12:16:46 -08:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rollup": "^2.60.2",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-11-28 08:02:58 -08:00
|
|
|
"ts-jest": "^27.0.7",
|
|
|
|
"ts-jest-resolver": "^2.0.0",
|
2020-12-31 17:54:51 -08:00
|
|
|
"ts-node": "^9.0.0",
|
2021-12-07 12:16:46 -08:00
|
|
|
"tslib": "^2.3.1",
|
2021-11-28 08:02:58 -08:00
|
|
|
"typedoc": "^0.22.10",
|
|
|
|
"typescript": "^4.5.2"
|
2020-12-31 17:54:51 -08:00
|
|
|
}
|
|
|
|
}
|