Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Corantin committed Jul 15, 2023
1 parent 188598f commit 1fefa1b
Show file tree
Hide file tree
Showing 5 changed files with 169 additions and 169 deletions.
36 changes: 18 additions & 18 deletions CommonDAO-DeedProtocol.code-workspace
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"folders": [
{
"name": "Frontend",
"path": "./packages/nextjs"
},
{
"name": "Hardhat",
"path": "./packages/hardhat"
},
{
"name": "Root",
"path": "."
},
],
"settings": {
"editor.tabSize": 2,
"prettier.tabWidth": 4
}
"folders": [
{
"name": "Frontend",
"path": "./packages/nextjs"
},
{
"name": "Hardhat",
"path": "./packages/hardhat"
},
{
"name": "Root",
"path": "."
},
],
"settings": {
"editor.tabSize": 2,
"prettier.tabWidth": 4
}
}
78 changes: 39 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "deed-protocol",
"version": "0.0.1",
"private": true,
"workspaces": {
"packages": [
"packages/hardhat",
"packages/nextjs"
]
},
"scripts": {
"account": "yarn workspace @deed-protocol/hardhat account",
"chain": "yarn workspace @deed-protocol/hardhat chain",
"fork": "yarn workspace @deed-protocol/hardhat fork",
"deploy": "yarn workspace @deed-protocol/hardhat deploy",
"verify": "yarn workspace @deed-protocol/hardhat verify",
"compile": "yarn workspace @deed-protocol/hardhat compile",
"generate": "yarn workspace @deed-protocol/hardhat generate",
"hardhat:lint": "yarn workspace @deed-protocol/hardhat lint",
"hardhat:lint-staged": "yarn workspace @deed-protocol/hardhat lint-staged",
"hardhat:test": "yarn workspace @deed-protocol/hardhat test",
"coverage": "yarn workspace @deed-protocol/hardhat coverage",
"start": "yarn workspace @deed-protocol/nextjs dev",
"next:lint": "yarn workspace @deed-protocol/nextjs lint",
"next:format": "yarn workspace @deed-protocol/nextjs format",
"next:check-types": "yarn workspace @deed-protocol/nextjs check-types",
"postinstall": "husky install",
"precommit": "lint-staged",
"vercel": "yarn workspace @deed-protocol/nextjs vercel",
"vercel:yolo": "yarn workspace @deed-protocol/nextjs vercel:yolo"
},
"packageManager": "[email protected]",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
},
"resolutions": {
"usehooks-ts@^2.7.2": "patch:usehooks-ts@npm:^2.7.2#./.yarn/patches/usehooks-ts-npm-2.7.2-fceffe0e43.patch"
}
}
"name": "deed-protocol",
"version": "0.0.1",
"private": true,
"workspaces": {
"packages": [
"packages/hardhat",
"packages/nextjs"
]
},
"scripts": {
"account": "yarn workspace @deed-protocol/hardhat account",
"chain": "yarn workspace @deed-protocol/hardhat chain",
"fork": "yarn workspace @deed-protocol/hardhat fork",
"deploy": "yarn workspace @deed-protocol/hardhat deploy",
"verify": "yarn workspace @deed-protocol/hardhat verify",
"compile": "yarn workspace @deed-protocol/hardhat compile",
"generate": "yarn workspace @deed-protocol/hardhat generate",
"hardhat:lint": "yarn workspace @deed-protocol/hardhat lint",
"hardhat:lint-staged": "yarn workspace @deed-protocol/hardhat lint-staged",
"hardhat:test": "yarn workspace @deed-protocol/hardhat test",
"coverage": "yarn workspace @deed-protocol/hardhat coverage",
"start": "yarn workspace @deed-protocol/nextjs dev",
"next:lint": "yarn workspace @deed-protocol/nextjs lint",
"next:format": "yarn workspace @deed-protocol/nextjs format",
"next:check-types": "yarn workspace @deed-protocol/nextjs check-types",
"postinstall": "husky install",
"precommit": "lint-staged",
"vercel": "yarn workspace @deed-protocol/nextjs vercel",
"vercel:yolo": "yarn workspace @deed-protocol/nextjs vercel:yolo"
},
"packageManager": "[email protected]",
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
},
"resolutions": {
"usehooks-ts@^2.7.2": "patch:usehooks-ts@npm:^2.7.2#./.yarn/patches/usehooks-ts-npm-2.7.2-fceffe0e43.patch"
}
}
6 changes: 3 additions & 3 deletions packages/hardhat/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"arrowParens": "avoid",
"printWidth": 120,
"trailingComma": "all"
"arrowParens": "avoid",
"printWidth": 120,
"trailingComma": "all"
}
110 changes: 55 additions & 55 deletions packages/hardhat/package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"name": "@deed-protocol/hardhat",
"version": "0.0.1",
"scripts": {
"account": "hardhat run scripts/listAccount.ts",
"chain": "hardhat node --network hardhat --no-deploy",
"compile": "hardhat compile",
"deploy": "hardhat deploy",
"coverage": "hardhat coverage --testfiles \"test/*.spec.ts\" --solcoverjs ./test/coverage.solcover.ts",
"fork": "MAINNET_FORKING_ENABLED=true hardhat node --network hardhat --no-deploy",
"generate": "hardhat run scripts/generateAccount.ts",
"lint": "eslint --config ./.eslintrc.json --ignore-path ./.eslintignore ./*.ts ./deploy/**/*.ts ./scripts/**/*.ts ./test/**/*.ts",
"lint-staged": "eslint --config ./.eslintrc.json --ignore-path ./.eslintignore",
"test": "REPORT_GAS=true hardhat test --network hardhat",
"verify": "hardhat etherscan-verify"
},
"devDependencies": {
"@eth-optimism/hardhat-ovm": "^0.2.4",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.1",
"@matterlabs/hardhat-zksync-solc": "^0.3.17",
"@matterlabs/hardhat-zksync-verify": "^0.1.8",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.3",
"@types/eslint": "^8",
"@types/mocha": "^9.1.1",
"@types/prettier": "^2",
"@types/qrcode": "^1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"chai": "^4.3.6",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.7.1",
"hardhat": "^2.11.2",
"hardhat-deploy": "^0.11.26",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.4",
"solidity-coverage": "^0.8.4",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@openzeppelin/contracts": "^4.8.1",
"dotenv": "^16.0.3",
"envfile": "^6.18.0",
"qrcode": "^1.5.1"
}
}
"name": "@deed-protocol/hardhat",
"version": "0.0.1",
"scripts": {
"account": "hardhat run scripts/listAccount.ts",
"chain": "hardhat node --network hardhat --no-deploy",
"compile": "hardhat compile",
"deploy": "hardhat deploy",
"coverage": "hardhat coverage --testfiles \"test/*.spec.ts\" --solcoverjs ./test/coverage.solcover.ts",
"fork": "MAINNET_FORKING_ENABLED=true hardhat node --network hardhat --no-deploy",
"generate": "hardhat run scripts/generateAccount.ts",
"lint": "eslint --config ./.eslintrc.json --ignore-path ./.eslintignore ./*.ts ./deploy/**/*.ts ./scripts/**/*.ts ./test/**/*.ts",
"lint-staged": "eslint --config ./.eslintrc.json --ignore-path ./.eslintignore",
"test": "REPORT_GAS=true hardhat test --network hardhat",
"verify": "hardhat etherscan-verify"
},
"devDependencies": {
"@eth-optimism/hardhat-ovm": "^0.2.4",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.1",
"@matterlabs/hardhat-zksync-solc": "^0.3.17",
"@matterlabs/hardhat-zksync-verify": "^0.1.8",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.3",
"@types/eslint": "^8",
"@types/mocha": "^9.1.1",
"@types/prettier": "^2",
"@types/qrcode": "^1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"chai": "^4.3.6",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.7.1",
"hardhat": "^2.11.2",
"hardhat-deploy": "^0.11.26",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.4",
"solidity-coverage": "^0.8.4",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@openzeppelin/contracts": "^4.8.1",
"dotenv": "^16.0.3",
"envfile": "^6.18.0",
"qrcode": "^1.5.1"
}
}
108 changes: 54 additions & 54 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
{
"name": "@deed-protocol/nextjs",
"private": true,
"version": "0.1.0",
"scripts": {
"dev": "next dev",
"start": "next dev",
"build": "next build",
"serve": "next start",
"lint": "next lint",
"format": "prettier --write . '!(node_module|.next|contracts)/**/*'",
"check-types": "tsc --noEmit --incremental",
"vercel": "vercel",
"vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true"
},
"dependencies": {
"@ethersproject/networks": "^5.7.1",
"@ethersproject/web": "^5.7.1",
"@heroicons/react": "^2.0.11",
"@rainbow-me/rainbowkit": "^0.11.0",
"@uniswap/sdk": "^3.0.3",
"daisyui": "^2.31.0",
"ethers": "^5.0.0",
"next": "^13.1.6",
"nextjs-progressbar": "^0.0.16",
"react": "^18.2.0",
"react-blockies": "^1.4.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.3.5",
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.7.2",
"wagmi": "^0.11.6",
"zustand": "^4.1.2"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-blockies": "^1.4.1",
"@types/react-copy-to-clipboard": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.15.0",
"eslint-config-next": "^13.1.6",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"postcss": "^8.4.16",
"prettier": "^2.8.4",
"tailwindcss": "^3.1.8",
"typescript": "^4.9.5",
"vercel": "^28.15.1"
}
}
"name": "@deed-protocol/nextjs",
"private": true,
"version": "0.1.0",
"scripts": {
"dev": "next dev",
"start": "next dev",
"build": "next build",
"serve": "next start",
"lint": "next lint",
"format": "prettier --write . '!(node_module|.next|contracts)/**/*'",
"check-types": "tsc --noEmit --incremental",
"vercel": "vercel",
"vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true"
},
"dependencies": {
"@ethersproject/networks": "^5.7.1",
"@ethersproject/web": "^5.7.1",
"@heroicons/react": "^2.0.11",
"@rainbow-me/rainbowkit": "^0.11.0",
"@uniswap/sdk": "^3.0.3",
"daisyui": "^2.31.0",
"ethers": "^5.0.0",
"next": "^13.1.6",
"nextjs-progressbar": "^0.0.16",
"react": "^18.2.0",
"react-blockies": "^1.4.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-fast-marquee": "^1.3.5",
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.7.2",
"wagmi": "^0.11.6",
"zustand": "^4.1.2"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-blockies": "^1.4.1",
"@types/react-copy-to-clipboard": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.15.0",
"eslint-config-next": "^13.1.6",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"postcss": "^8.4.16",
"prettier": "^2.8.4",
"tailwindcss": "^3.1.8",
"typescript": "^4.9.5",
"vercel": "^28.15.1"
}
}

0 comments on commit 1fefa1b

Please sign in to comment.