[Chore] Format and cleanup package.json files (#502)
- Format all package.json files using `fixpack` to follow conventional ordering - Add useful missing fields - Make licenses consistently use Apache 2 - Hoist some common deps up to workspace root, more could be done for thispull/508/head
parent
ca3c7e797e
commit
42ec4ab66d
@ -1,22 +1,27 @@ |
||||
{ |
||||
"name": "@abacus-network/monorepo", |
||||
"scripts": { |
||||
"build": "yarn workspaces foreach --parallel --topological run build", |
||||
"prettier": "yarn workspaces foreach --parallel run prettier", |
||||
"postinstall": "husky install" |
||||
}, |
||||
"workspaces": [ |
||||
"solidity/*", |
||||
"typescript/*" |
||||
], |
||||
"private": true, |
||||
"description": "A yarn workspace of many core Abacus packages", |
||||
"version": "0.0.0", |
||||
"packageManager": "yarn@3.2.0", |
||||
"devDependencies": { |
||||
"@trivago/prettier-plugin-sort-imports": "^3.2.0", |
||||
"eslint": "^7.32.0", |
||||
"eslint-config-prettier": "^8.3.0", |
||||
"husky": "^8.0.0", |
||||
"lint-staged": "^12.4.2", |
||||
"prettier": "^2.2.1", |
||||
"prettier": "^2.4.1", |
||||
"prettier-plugin-solidity": "^1.0.0-beta.5", |
||||
"ts-node": "^10.1.0", |
||||
"typescript": "^4.3.5" |
||||
} |
||||
}, |
||||
"packageManager": "yarn@3.2.0", |
||||
"private": true, |
||||
"scripts": { |
||||
"build": "yarn workspaces foreach --parallel --topological run build", |
||||
"postinstall": "husky install", |
||||
"prettier": "yarn workspaces foreach --parallel run prettier" |
||||
}, |
||||
"workspaces": [ |
||||
"solidity/*", |
||||
"typescript/*" |
||||
] |
||||
} |
||||
|
@ -1,44 +1,47 @@ |
||||
{ |
||||
"name": "@abacus-network/core", |
||||
"description": "Core solidity contracts for Abacus", |
||||
"version": "0.1.1", |
||||
"dependencies": { |
||||
"@abacus-network/utils": "^0.1.1", |
||||
"@openzeppelin/contracts": "^4.6.0", |
||||
"@openzeppelin/contracts-upgradeable": "^4.6.0", |
||||
"@summa-tx/memview-sol": "^2.0.0" |
||||
}, |
||||
"devDependencies": { |
||||
"@nomiclabs/hardhat-ethers": "^2.0.1", |
||||
"@nomiclabs/hardhat-waffle": "^2.0.1", |
||||
"@typechain/ethers-v5": "~7.0.0", |
||||
"@typechain/hardhat": "^2.0.1", |
||||
"chai": "^4.3.0", |
||||
"eslint": "^7.20.0", |
||||
"ethereum-waffle": "^3.2.2", |
||||
"ethers": "^5.4.4", |
||||
"hardhat": "^2.8.3", |
||||
"hardhat-gas-reporter": "^1.0.7", |
||||
"prettier": "^2.2.1", |
||||
"prettier-plugin-solidity": "^1.0.0-beta.5", |
||||
"solhint": "^3.3.2", |
||||
"solhint-plugin-prettier": "^0.0.5", |
||||
"solidity-coverage": "^0.7.14", |
||||
"ts-generator": "^0.1.1", |
||||
"ts-node": "^10.1.0", |
||||
"typechain": "^5.0.0", |
||||
"typescript": "^4.3.5" |
||||
"typechain": "^5.0.0" |
||||
}, |
||||
"version": "0.1.1", |
||||
"main": "dist/index.js", |
||||
"types": "dist/index.d.ts", |
||||
"directories": { |
||||
"test": "test" |
||||
}, |
||||
"homepage": "https://www.useabacus.network", |
||||
"keywords": [ |
||||
"Abacus", |
||||
"Solidity" |
||||
], |
||||
"license": "Apache-2.0", |
||||
"main": "dist/index.js", |
||||
"repository": "https://github.com/abacus-network/abacus-monorepo", |
||||
"scripts": { |
||||
"prettier": "prettier --write ./contracts ./libs ./test", |
||||
"build": "hardhat compile && hardhat typechain && tsc && npm run copy-types", |
||||
"copy-types": "cp types/*.d.ts dist/", |
||||
"coverage": "hardhat coverage", |
||||
"prettier": "prettier --write ./contracts ./libs ./test", |
||||
"test": "hardhat test" |
||||
}, |
||||
"license": "MIT OR Apache-2.0", |
||||
"dependencies": { |
||||
"@abacus-network/utils": "^0.1.1", |
||||
"@openzeppelin/contracts": "^4.6.0", |
||||
"@openzeppelin/contracts-upgradeable": "^4.6.0", |
||||
"@summa-tx/memview-sol": "^2.0.0", |
||||
"ts-generator": "^0.1.1" |
||||
} |
||||
"types": "dist/index.d.ts" |
||||
} |
||||
|
@ -1,32 +1,36 @@ |
||||
{ |
||||
"name": "@abacus-network/deploy", |
||||
"description": "Deploy tools for the Abacus network", |
||||
"version": "0.1.1", |
||||
"dependencies": { |
||||
"@abacus-network/core": "^0.1.1", |
||||
"@abacus-network/sdk": "^0.1.1", |
||||
"@abacus-network/utils": "^0.1.1", |
||||
"axios": "^0.21.3", |
||||
"debug": "^4.3.4", |
||||
"yargs": "^17.4.1" |
||||
}, |
||||
"devDependencies": { |
||||
"@typechain/ethers-v5": "~7.0.0", |
||||
"@types/debug": "^4.1.7", |
||||
"ethers": "^5.4.7", |
||||
"prettier": "^2.3.1", |
||||
"ts-node": "^10.1.0", |
||||
"typescript": "^4.3.2" |
||||
"@types/node": "^16.9.1", |
||||
"@types/yargs": "^17.0.10", |
||||
"ethers": "^5.4.7" |
||||
}, |
||||
"prepublish": "npm run build", |
||||
"name": "@abacus-network/deploy", |
||||
"version": "0.1.1", |
||||
"description": "Abacus deploy tools", |
||||
"homepage": "https://www.useabacus.network", |
||||
"keywords": [ |
||||
"Abacus", |
||||
"Typescript", |
||||
"Deployment" |
||||
], |
||||
"license": "Apache-2.0", |
||||
"main": "dist/src/index.js", |
||||
"types": "dist/src/index.d.ts", |
||||
"prepublish": "yarn build", |
||||
"repository": "https://github.com/abacus-network/abacus-monorepo", |
||||
"scripts": { |
||||
"build": "tsc", |
||||
"check": "tsc --noEmit", |
||||
"prettier": "prettier --write ./src" |
||||
}, |
||||
"license": "MIT OR Apache-2.0", |
||||
"dependencies": { |
||||
"@abacus-network/core": "^0.1.1", |
||||
"@abacus-network/sdk": "^0.1.1", |
||||
"@abacus-network/utils": "^0.1.1", |
||||
"@types/node": "^16.9.1", |
||||
"@types/yargs": "^17.0.10", |
||||
"axios": "^0.21.3", |
||||
"debug": "^4.3.4", |
||||
"yargs": "^17.4.1" |
||||
} |
||||
"types": "dist/src/index.d.ts" |
||||
} |
||||
|
@ -1,22 +1,25 @@ |
||||
{ |
||||
"prepublish": "npm run build", |
||||
"name": "@abacus-network/utils", |
||||
"description": "General utilities for the Abacus network", |
||||
"version": "0.1.1", |
||||
"description": "Abacus utilities", |
||||
"dependencies": { |
||||
"chai": "^4.3.0", |
||||
"ethers": "^5.4.7" |
||||
}, |
||||
"homepage": "https://www.useabacus.network", |
||||
"keywords": [ |
||||
"Abacus", |
||||
"SDK", |
||||
"Typescript" |
||||
], |
||||
"license": "Apache-2.0", |
||||
"main": "dist/index.js", |
||||
"types": "dist/index.d.ts", |
||||
"prepublish": "yarn build", |
||||
"repository": "https://github.com/abacus-network/abacus-monorepo", |
||||
"scripts": { |
||||
"build": "tsc", |
||||
"check": "tsc --noEmit", |
||||
"prettier": "prettier --write ./src" |
||||
}, |
||||
"author": "Celo Labs Inc.", |
||||
"license": "MIT OR Apache-2.0", |
||||
"dependencies": { |
||||
"chai": "^4.3.0", |
||||
"ethers": "^5.4.7" |
||||
}, |
||||
"devDependencies": { |
||||
"prettier": "^2.2.1" |
||||
} |
||||
"types": "dist/index.d.ts" |
||||
} |
||||
|
Loading…
Reference in new issue