sdk-monorepo/package.json
T-Hax 798598cfff 0.0.8-alpha
Signed-off-by: T-Hax <>
2023-05-11 18:52:05 +00:00

109 lines
4.2 KiB
JSON

{
"name": "@tornado/sdk-monorepo",
"author": "T-Hax",
"license": "ISC",
"description": "Tornado SDK monorepo.",
"repository": "https://development.tornadocash.community/T-Hax/sdk",
"homepage": "https://tornadocash.community",
"keywords": [
"ethereum",
"crypto",
"zk"
],
"version": "0.0.8-alpha",
"engines": {
"node": "^18"
},
"main": "./build/index.js",
"private": true,
"workspaces": [
"@tornado/*"
],
"devDependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@typechain/ethers-v5": "^10.2.0",
"@types/big-integer": "^0.0.31",
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.0",
"@types/pouchdb": "^6.4.0",
"@types/pouchdb-adapter-memory": "^6.1.3",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"@uniswap/default-token-list": "^9.3.0",
"chai": "^4.3.4",
"conventional-changelog-cli": "^2.1.1",
"copy": "^0.3.2",
"copyfiles": "^2.4.1",
"dotenv": "^16.0.3",
"eslint": "^8.35.0",
"eslint-plugin-prettier": "^4.2.1",
"ethereum-waffle": "^4.0.10",
"ethers": "^5",
"ganache": "^7.7.7",
"mocha": "^10.2.0",
"pouchdb": "^8.0.1",
"pouchdb-collate": "^8.0.1",
"prettier": "^2.3.0",
"rimraf": "^5.0.0",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typechain": "^8.1.1",
"typescript": "^5.0.4"
},
"scripts": {
"test": "yarn run ts-mocha",
"test:fresh": "yarn clean:cache && yarn refresh:cache && yarn test",
"format": "prettier test/*.ts -w",
"clean": "rimraf node_modules",
"clean:build": "rimraf -I build",
"clean:cache": "rimraf -I cache/*",
"refresh:cache": "cp -r references/* cache",
"format:all": "yarn workspaces foreach run format",
"format:sdk": "yarn workspace @tornado/sdk run format",
"format:core": "yarn workspace @tornado/sdk-core run format",
"format:web": "yarn workspace @tornado/sdk-web run format",
"format:data": "yarn workspace @tornado/sdk-data run format",
"format:crypto": "yarn workspace @tornado/sdk-crypto run format",
"format:chain": "yarn workspace @tornado/sdk-chain run format",
"format:utils": "yarn workspace @tornado/sdk-utils run format",
"docs": "yarn workspace @tornado/sdk run typedoc --out ../../docs/api src/index.ts",
"compile": "yarn workspaces foreach run tsc",
"compile:sdk": "yarn workspace @tornado/sdk tsc",
"compile:core": "yarn workspace @tornado/sdk-core tsc",
"compile:web": "yarn workspace @tornado/sdk-web tsc",
"compile:data": "yarn workspace @tornado/sdk-data tsc",
"compile:crypto": "yarn workspace @tornado/sdk-crypto tsc",
"compile:chain": "yarn workspace @tornado/sdk-chain tsc",
"compile:utils": "yarn workspace @tornado/sdk-utils tsc",
"prepare": "yarn workspaces foreach run format && yarn workspaces foreach run tsc",
"prepare:sdk": "yarn format:sdk && yarn compile:sdk",
"prepare:core": "yarn format:core && yarn compile:core",
"prepare:web": "yarn format:web && yarn compile:web",
"prepare:data": "yarn format:data && yarn compile:data",
"prepare:crypto": "yarn format:crypto && yarn compile:crypto",
"prepare:chain": "yarn format:chain && yarn compile:chain",
"prepare:utils": "yarn format:utils && yarn compile:utils",
"typechain": "yarn typechain:test && yarn typechain:core && yarn typechain:chain",
"typechain:test": "typechain --target \"ethers-v5\" --discriminate-types --glob \"./abis/*.json\" --out-dir=\"./test/deth\"",
"typechain:core": "typechain --target \"ethers-v5\" --discriminate-types --glob \"./abis/*.json\" --out-dir=\"./@tornado/sdk-core/src/deth\"",
"typechain:chain": "typechain --target \"ethers-v5\" --discriminate-types --glob \"./abis/*.json\" --out-dir=\"./@tornado/sdk-chain/src/deth\"",
"packall": "mkdir packages && yarn workspaces foreach --no-private pack --out \"../../packages/%s@%v.tgz\""
},
"files": [
"build/lib/**/*",
"build/index.*",
"build/types/**/*"
],
"publishConfig": {
"access": "public"
},
"dependenciesMeta": {
"tsconfig-paths@4.2.0": {
"unplugged": true
}
}
}