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

51 lines
1.4 KiB
JSON

{
"name": "@switchboard-xyz/sbv2-lite",
"version": "0.1.2",
"description": "",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/switchboard-xyz/switchboard-v2",
"directory": "libraries/sbv2-lite"
},
"homepage": "https://docs.switchboard.xyz",
"files": [
"./lib",
"./src"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
}
},
"scripts": {
"docgen": "yarn build && npx typedoc",
"build:cjs": "shx rm -rf lib/cjs && tsc -p tsconfig.cjs.json && shx echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"build:esm": "shx rm -rf lib/esm && tsc -p tsconfig.esm.json && shx echo '{\"type\": \"module\"}' > lib/esm/package.json",
"build": "shx rm -rf lib && yarn build:cjs && yarn build:esm",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'",
"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",
"assert": "^2.0.0",
"chai": "^4.3.6",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"ts-node": "^10.7.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.3"
}
}