-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.99 KB
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
{
"name": "assembly-contracts",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@babel/core": "^7.14.8",
"babel": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-register": "^6.26.0",
"ganache-cli": "^6.12.2",
"truffle-flattener": "^1.5.0"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@truffle/hdwallet-provider": "1.2.2",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.26.0",
"dotenv": "^6.0.0",
"solc": "^0.8.6",
"swagger-client": "^3.13.7",
"truffle": "5.2.6",
"web3": "1.2.8"
},
"scripts": {
"clean-linux": "rm -rf ./build",
"clean": "if exist build rmdir /q /s build",
"build": "npm run clean && npx truffle compile --config truffle-config.js",
"test-assembly": "npm run build && npx truffle test --config truffle-config.js ./test/AssemblyTest.js",
"test": "npm run build && npx truffle test --config truffle-config.js ./test/test.js",
"ganache": "npx ganache-cli -l 10000000 -d 'torch almost feed brother seat earth scorpion panther nuclear interest toy guide'",
"ganache-persist": "npx ganache-cli -l 10000000 -d 'torch almost feed brother seat earth scorpion panther nuclear interest toy guide' --db ${HOME}/tmp/ganache/db",
"migrate-goerli": "npx truffle migrate --reset --network goerli",
"migrate-teams": "npx truffle migrate --reset --network teams",
"migrate-local": "npx truffle migrate --reset --network development",
"flatten-assembly": "npx truffle-flattener contracts/Assembly.sol > contracts-flatten/AssemblyFlatten.sol",
"flatten-voting": "npx truffle-flattener contracts/Voting.sol > contracts-flatten/VotingFlatten.sol",
"flatten-shares": "npx truffle-flattener contracts/Shares.sol > contracts-flatten/SharesFlatten.sol",
"flatten-all": "npm run flatten-assembly && npm run flatten-voting && npm run flatten-shares"
}
}