-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "lifeloop",
"scripts": {
"build": "npm run build:css && npm run build:contract && npm run build:typechains && npm run build:vite",
"build:vite": "vite build",
"build:css": "npx tailwindcss -i ./src/index.css -o ./dist/output.css",
"build:contract": "npx hardhat compile && npx hardhat size-contracts",
"build:typechains": "npm run build:typechains-web3 && npm run build:typechains-ethers",
"build:typechains-web3": "npx hardhat typechain",
"build:typechains-ethers": "npx typechain --target=\"ethers-v5\" --out-dir typechain-types \"artifacts/contracts/**/*[!dbg].json\"",
"lint": "npm run lint:sol",
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"clean": "npm run clean:typechains-ethers && npm run clean:typechains-web3 && rm -rf ./artifacts ./cache ./coverage ./coverage.json",
"clean:typechains-ethers": "rm -rf typechains-ethers",
"clean:typechains-web3": "npx hardhat clean",
"dev": "vite",
"serve": "vite preview",
"deploy": "npx hardhat run --network alfajores scripts/deploy.ts",
"test": "npm run test:contract",
"test:contract": "npx hardhat test",
"test:integration": "npx hardhat test --network ganache",
"test:testnet": "npx hardhat test --network alfajores",
"all": "npm run clean && npm run lint && npm run build && npm run test",
"postinstall": "npm run build:contract && npm run build:typechains",
"ganache": "npx ganache --fork.url https://alfajores-forno.celo-testnet.org --chain.chainId 31337 --wallet.unlockedAccounts $(cat .accounts)"
},
"license": "MIT",
"dependencies": {
"@celo/contractkit": "2.1.0",
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@openzeppelin/contracts": "4.7.3",
"bignumber.js": "9.1.0",
"dotenv": "^16.0.3",
"hardhat-contract-sizer": "^2.6.1",
"node-polyglot": "^2.4.2",
"solid-js": "1.5.7"
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.3",
"@typechain/web3-v1": "^6.0.1",
"@types/node": "^18.11.4",
"@types/node-polyglot": "^2.4.2",
"@walletconnect/web3-provider": "^1.8.0",
"autoprefixer": "^10.4.13",
"ganache": "^7.4.4",
"hardhat": "2.12.1",
"hardhat-gas-reporter": "^1.0.9",
"postcss": "^8.4.18",
"rollup-plugin-polyfill-node": "^0.10.2",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"tailwindcss": "^3.1.8",
"ts-node": "10.9.1",
"typechain": "^8.1.0",
"typescript": "4.8.4",
"vite": "3.2.2",
"vite-plugin-solid": "2.3.10"
}
}