-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
95 lines (95 loc) · 3.11 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "folia-contracts",
"version": "1.0.0",
"description": "Folia.app Smart Contracts",
"main": "index.js",
"types": "./dist/index.d.ts",
"files": [
"./dist/**/*",
"./dist/*"
],
"scripts": {
"deploy": "ts-node scripts/deploy.ts",
"mint": "ts-node scripts/mint.ts",
"mediaInfo": "ts-node scripts/mediaInfo.ts",
"build": "yarn build:contracts && yarn build:package",
"prepublishOnly": "yarn build",
"test": "hardhat test",
"compile": "hardhat clean && hardhat compile",
"typechain": "rm -rf ./typechain && typechain --show-stack-traces --target ethers-v5 --outDir ./typechain 'artifacts/!(build-info)/**/!(*.dbg*)*.json'",
"build:contracts": "yarn compile && yarn typechain",
"build:package": "rm -rf ./dist && tsc && cp typechain/*.d.ts dist/typechain && cp -R addresses dist && cp -R artifacts/contracts dist/artifacts && cp -R contracts dist",
"chain": "ganache-cli --networkId 50 --accounts 20 -e 10000000000 -l 10000000 -m 'concert load couple harbor equip island argue ramp clarify fence smart topic'",
"watch": "ts-node scripts/watch.ts",
"networks-extract": "node extract_network_info.js",
"networks-inject": "node inject_network_info.js",
"networks-reset": "mkdir -p build/contracts && npx truffle networks --clean && npm run networks-inject",
"flatten": "./flatten.sh"
},
"directories": {
"test": "test"
},
"devDependencies": {
"@ethersproject/keccak256": "^5.0.6",
"@gnosis.pm/util-contracts": "^3.0.1",
"@nomiclabs/buidler-ethers": "^1.3.4",
"@nomiclabs/buidler-waffle": "^1.3.5",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@typechain/ethers-v5": "^2.0.0",
"@types/chai": "^4.2.14",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^8.0.3",
"@types/node": "^14.14.2",
"buidler-typechain": "^0.2.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chokidar": "^3.4.3",
"dotenv": "^5.0.1",
"eth-sig-util": "^2.5.3",
"ethereum-waffle": "^2.3.0",
"ethereumjs-util": "^7.0.7",
"ethers": "^5.0.19",
"fs-extra": "^9.0.1",
"ganache-cli": "^6.12.0",
"hardhat": "^2.3.0",
"hardhat-deploy": "^0.7.0-beta.25",
"hardhat-typechain": "^0.3.3",
"husky": ">=4",
"lint-staged": ">=10",
"minimist": "^1.2.5",
"prettier": "^2.1.2",
"prettier-plugin-solidity": "^1.0.0-alpha.60",
"system-commands": "^1.1.7",
"truffle-flattener": "^1.5.0",
"truffle-hdwallet-provider": "^1.0.0-web3one.3",
"ts-generator": "^0.1.1",
"ts-node": "^9.0.0",
"typechain": "^3.0.0",
"typechain-target-ethers": "^1.0.4",
"typescript": "^4.0.3"
},
"dependencies": {
"ethers": "^5.0.19",
"openzeppelin-solidity": "2.1.3"
},
"repository": {
"type": "git",
"url": "https://github.com/folia-app/folia-contracts.git"
},
"keywords": [
"truffle",
"ethereum",
"web3"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md,sol}": "prettier --write"
},
"author": "Billy Rennekamp <[email protected]>",
"license": "ISC"
}