sbv2-solana/javascript/sbv2-lite/package.json

55 lines
1.4 KiB
JSON

{
"name": "@switchboard-xyz/sbv2-lite",
"version": "0.1.6",
"description": "",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/switchboard-xyz/sbv2-solana",
"directory": "javascript/sbv2-lite"
},
"homepage": "https://docs.switchboard.xyz",
"files": [
"lib",
"src"
],
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/cjs/index.d.ts",
"scripts": {
"docgen": "typedoc --entryPoints src/index.ts --out ../../website/static/api/ts-lite",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'",
"build": "shx rm -rf lib && tsc && tsc -p tsconfig.cjs.json",
"watch": "tsc -p tsconfig.cjs.json --watch",
"prepublishOnly": "yarn build && yarn test"
},
"author": "",
"license": "ISC",
"dependencies": {
"@project-serum/anchor": "^0.24.2",
"big.js": "^6.1.1"
},
"devDependencies": {
"@types/big.js": "^6.1.3",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.0",
"@types/node": "^18.7.18",
"assert": "^2.0.0",
"chai": "^4.3.6",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"ts-node": "^10.7.0",
"typedoc": "^0.23.8",
"typescript": "^4.6.3"
},
"pre-commit": [
"build"
]
}