-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 5.18 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "incentivusNft",
"version": "1.0.0",
"description": "Incentivus NFT market place",
"directories": {
"test": "test"
},
"dependencies": {
"@openzeppelin/contracts": "^4.3.2",
"@openzeppelin/test-helpers": "^0.5.10",
"@remix-project/remixd": "^0.5.0",
"config": "^3.3.6",
"mermaid": "^8.10.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.3",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@tenderly/hardhat-tenderly": "^1.0.7",
"@typechain/ethers-v5": "^6.0.1",
"@types/chai": "^4.2.15",
"@types/config": "^0.0.39",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.31",
"chai": "^4.3.4",
"copyfiles": "^2.4.1",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.4.6",
"hardhat": "^2.6.4",
"hardhat-deploy": "^0.8.11",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-typechain": "^0.3.5",
"mocha": "^8.3.0",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"rimraf": "^3.0.2",
"solidity-coverage": "^0.7.15",
"truffle-plugin-verify": "^0.5.9",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^4.0.2",
"typescript": "^4.2.2"
},
"scripts": {
"build": "hardhat compile && tsc",
"clean": "rimraf artifacts && rimraf cache && rimraf deployments/localhost && rimraf src/types/*",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src",
"deploy": "run-s deploy:development",
"deploy:testnet": "run-s deploy:rinkeby deploy:kovan deploy:goerli deploy:matic_testnet deploy:bsc_testnet",
"deploy:development": "hardhat deploy --network localhost --export export/abi/ropsten.json",
"deploy:ropsten": "hardhat deploy --network ropsten --export export/abi/ropsten.json",
"deploy:rinkeby": "hardhat deploy --network rinkeby --export export/abi/rinkeby.json",
"deploy:kovan": "hardhat deploy --network kovan --export export/abi/kovan.json",
"deploy:goerli": "hardhat deploy --network goerli --export export/abi/goerli.json",
"deploy:mainnet": "hardhat deploy --network mainnet --export export/abi/mainnet.json",
"deploy:matic": "hardhat deploy --network matic --export export/abi/matic.json",
"deploy:matic_testnet": "hardhat deploy --network matic_testnet --export export/abi/matic_testnet.json",
"deploy:bsc": "hardhat deploy --network bsc --export export/abi/bsc.json",
"deploy:bsc_testnet": "hardhat deploy --network bsc_testnet --export export/abi/bsc_testnet.json",
"export": "hardhat export-artifacts export/artifacts",
"info": "npm-scripts-info",
"prepack": "run-s clean deploy:testnet",
"prepare": "run-s build copy-dts export",
"pretest": "run-s prepare",
"test": "hardhat test",
"start": "hardhat node",
"sketch": "run-s sketch:staking sketch:token sketch:vesting",
"sketch:staking": "sol2uml contracts/Staking/,contracts/Price,contracts/PancakeSwap,contracts/Distribution -a -p -s -o uml/staking.svg",
"sketch:token": "sol2uml contracts/,contracts/Staking/ -a -p -s -o uml/token.svg -d 0 -i StakingPool.sol,StakingPoolFactory.sol",
"sketch:vesting": "sol2uml contracts/TotemVesting/,contracts -a -p -s -o uml/vesting.svg -d 0 -i ILocker.sol,BasisPoints.sol"
},
"scripts-info": {
"build": "Build contracts and typescript code",
"copy-dts": "Copy TypeChain type definition files to typescript output dir",
"clean": "Clean build artifacts, including contracts deployment information",
"deploy": "Deploy contracts to local ganache. Requires ganache running on localhost:8545",
"deploy:testnet": "Deploy contracts to all supported testnets. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:development": "Deploy contracts to local ganache. Requires ganache running on localhost:8545",
"deploy:rinkeby": "Deploy contracts to rinkeby. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:kovan": "Deploy contracts to kovan. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:goerli": "Deploy contracts to goerli. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:mainnet": "Deploy contracts to mainnet.",
"deploy:matic_testnet": "Deploy contracts to matic_testnet.",
"deploy:bsc": "Deploy contracts to bsc.",
"deploy:bsc_testnet": "Deploy contracts to bsc_testnet.",
"export": "Export artifacts in a simpler format",
"info": "Displays information about the scripts.",
"test": "Run unit tests",
"sketch": "Generated UML Diagrams for all contracts",
"sketch:staking": "Generate UML Diagram for staking pool contracts",
"sketch:token": "Generate UML for token contracts",
"sketch:vesting": "Generate UML for vesting contracts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/incentivus/NFT.git"
},
"files": [
"contracts",
"deployments/*/*.json",
"deployments/*/.chainid",
"dist/src/types",
"export"
],
"main": "./dist/src/types/index.js",
"types": "./dist/src/types/index.d.ts",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/incentivus/NFT/issues"
},
"homepage": "It's not settled yet",
"optionalDependencies": {
"fsevents": "^2.3.2"
}
}