-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
22 lines (22 loc) · 1.22 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
{
"name": "ubiq-poster-erc1155",
"version": "1.0.0",
"description": "Ubiq Poster ERC1155",
"main": "truffle-config.js",
"author": "Julian Yap",
"license": "MIT",
"private": false,
"dependencies": {
"@openzeppelin/contracts": "^3.4.2"
},
"devDependencies": {
"@openzeppelin/test-helpers": "^0.5.12",
"solc": "0.6.2",
"truffle-flattener": "^1.5.0"
},
"scripts": {
"dist:poster": "truffle-flattener ./contracts/Poster.sol > ./deployments/Poster.full.sol && solcjs --bin --abi --optimize ./deployments/Poster.full.sol -o ./deployments && mv ./deployments/__deployments_Poster_full_sol_Poster.abi ./deployments/Poster.abi && mv ./deployments/__deployments_Poster_full_sol_Poster.bin ./deployments/Poster.bin && rm ./deployments/*_sol_*",
"dist:postershop": "truffle-flattener ./contracts/PosterShop.sol > ./deployments/PosterShop.full.sol && solcjs --bin --abi --optimize ./deployments/PosterShop.full.sol -o ./deployments && mv ./deployments/__deployments_PosterShop_full_sol_PosterShop.abi ./deployments/PosterShop.abi && mv ./deployments/__deployments_PosterShop_full_sol_PosterShop.bin ./deployments/PosterShop.bin && rm ./deployments/*_sol_*",
"dist": "yarn dist:poster && yarn dist:postershop"
}
}