sbv2-solana/package.json

50 lines
2.2 KiB
JSON
Raw Normal View History

2022-05-17 09:42:04 -07:00
{
"name": "@switchboard-xyz/switchboard-v2-monorepo",
"description": "switchboard v2 repo containing type definitions, libraries, and examples",
"private": true,
"workspaces": [
"libraries/sbv2-lite",
"libraries/ts",
"libraries/sbv2-utils",
"cli",
"packages/*",
"programs/*",
"website"
],
"scripts": {
"start": "echo \"Error: no start script specified\" && exit 1",
"test:anchor": "yarn workspace anchor-feed-parser anchor:test && yarn workspace spl-feed-parser anchor:test && yarn workspace anchor-vrf-parser anchor:test",
"test:libraries:ts": "yarn workspace @switchboard-xyz/sbv2-lite test && yarn workspace @switchboard-xyz/switchboard-v2 test",
"test:libraries:py": "cd libraries/py && poetry run pytest",
"test:libraries:rs": "cd libraries/rs && cargo test",
"test:libraries": "yarn test:libraries:ts & yarn test:libraries:rs",
"docs": "yarn workspace website start",
"docs:build:py": "pip install poetry && cd libraries/py && poetry install && poetry run python -m pdoc switchboardpy -o ../../website/static/api/py",
"docs:build:ts": "yarn workspace @switchboard-xyz/switchboard-v2 docgen",
"docs:build:sbv2-lite": "yarn workspace @switchboard-xyz/sbv2-lite docgen",
"docs:build:cli": "./website/scripts/cli.sh",
"docs:build:site": "yarn workspace website build:site",
"docs:build:tasks": "protoc --proto_path=../switchboard-core/protos --doc_out=website/api --doc_opt=markdown,_tasks.md ../switchboard-core/protos/job_schemas.proto",
"docs:build": "run-s docs:build:ts docs:build:sbv2-lite docs:build:site",
"docs:deploy": "yarn workspace website deploy",
"gen:idl": "rawrtools gen:anchor SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f -o website/idl -p /idl",
"nuke": "shx rm -rf {./programs/*,./packages/*,./website,./libraries/*,.}/{node_modules,yarn*.log,build,dist,lib,.anchor,target,Cargo.lock,.docusaurus}"
},
"devDependencies": {
"@gallynaut/rawrtools": "^0.0.1",
"lerna": "^4.0.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4",
"ts-node": "^10.7.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.3"
},
"engines": {
"node": ">=16",
"npm": ">=8"
},
"dependencies": {
"dotenv": "^16.0.0"
}
}