{ "name": "@switchboard-xyz/sbv2-lite", "version": "0.1.1", "description": "", "private": false, "repository": { "type": "git", "url": "https://github.com/switchboard-xyz/switchboard-v2", "directory": "libraries/sbv2-lite" }, "files": [ "./lib", "./src" ], "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js" } }, "scripts": { "docgen": "yarn build && npx typedoc", "build": "shx rm -rf lib && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json", "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'", "prepublishOnly": "yarn build && yarn test", "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag sbv2-lite/v$PACKAGE_VERSION && git push --tags" }, "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" } }