-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
127 lines (127 loc) · 7.57 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
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@bosonprotocol/core",
"version": "1.1.0",
"description": "Repo for Boson Protocol prototype of the core exchange mechanism",
"types": "typechain/index.ts",
"directories": {
"test": "test"
},
"engines": {
"node": "12.20.x",
"npm": "7.15.x"
},
"files": [
"typechain",
"contracts/interfaces",
"abi/contracts/interfaces",
"contracts/libs",
"artifacts/contracts/BosonRouter.sol/BosonRouter.json",
"abi/contracts/BosonRouter.sol/BosonRouter.json",
"artifacts/contracts/Cashier.sol/Cashier.json",
"abi/contracts/Cashier.sol/Cashier.json",
"artifacts/contracts/DAITokenWrapper.sol/DAITokenWrapper.json",
"abi/contracts/DAITokenWrapper.sol/DAITokenWrapper.json",
"artifacts/contracts/VoucherSets.sol/VoucherSets.json",
"abi/contracts/VoucherSets.sol/VoucherSets.json",
"artifacts/contracts/Vouchers.sol/Vouchers.json",
"abi/contracts/Vouchers.sol/Vouchers.json",
"artifacts/contracts/ERC1155NonTransferable.sol/ERC1155NonTransferable.json",
"abi/contracts/ERC1155NonTransferable.sol/ERC1155NonTransferable.json",
"artifacts/contracts/Gate.sol/Gate.json",
"abi/contracts/Gate.sol/Gate.json",
"artifacts/contracts/MetaTransactionReceiver.sol/MetaTransactionReceiver.json",
"abi/contracts/MetaTransactionReceiver.sol/MetaTransactionReceiver.json",
"artifacts/contracts/TokenRegistry.sol/TokenRegistry.json",
"abi/contracts/TokenRegistry.sol/TokenRegistry.json",
"artifacts/contracts/VoucherKernel.sol/VoucherKernel.json",
"abi/contracts/VoucherKernel.sol/VoucherKernel.json",
"artifacts/contracts/interfaces/**/*.json",
"!artifacts/contracts/interfaces/**/*.dbg.json"
],
"scripts": {
"contracts:run": "npm run contracts:clean && npm run contracts:compile && hardhat deploy",
"contracts:compile": "hardhat compile --force",
"contracts:clean": "hardhat clean",
"contracts:lint": "solhint contracts/**/*.sol -w 0",
"contracts:lint-fix": "solhint contracts/**/*.sol -w 0 --fix",
"contracts:format": "prettier --list-different contracts/**/*.sol",
"contracts:format-fix": "prettier --write contracts/**/*.sol",
"contracts:migrate:testing:rinkeby": "npm run contracts:clean && npm run contracts:compile && hardhat deploy --network rinkeby --env testing",
"contracts:migrate:testing": "npm run contracts:clean && npm run contracts:compile && hardhat deploy --network ropsten --env testing",
"contracts:migrate:staging:rinkeby": "npm run contracts:clean && npm run contracts:compile && hardhat deploy --network rinkeby --env staging",
"contracts:migrate:staging": "npm run contracts:clean && npm run contracts:compile && hardhat deploy --network ropsten --env staging",
"contracts:migrate:production": "npm run contracts:clean && npm run contracts:compile && hardhat deploy --network mainnet --env production",
"contracts:migrate:gate:testing": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-gate --network ropsten --env testing",
"contracts:migrate:gate:staging": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-gate --network ropsten --env staging",
"contracts:migrate:gate:production": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-gate --network mainnet --env production",
"contracts:migrate:erc1155only:testing": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-erc1155-only --network ropsten --env testing",
"contracts:migrate:erc1155only:staging": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-erc1155-only --network ropsten --env staging",
"contracts:migrate:erc1155only:production": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-erc1155-only --network mainnet --env production",
"contracts:migrate:mocks": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-mocks --network ropsten --env testing",
"contracts:migrate:mocks:rinkeby": "npm run contracts:clean && npm run contracts:compile && hardhat deploy-mocks --network rinkeby --env testing",
"contracts:size": "hardhat size-contracts",
"contracts:verify:testing:rinkeby": "hardhat contracts-verify --network rinkeby --env testing",
"contracts:verify:testing": "hardhat contracts-verify --network ropsten --env testing",
"contracts:verify:staging:rinkeby": "hardhat contracts-verify --network rinkeby --env staging",
"contracts:verify:staging": "hardhat contracts-verify --network ropsten --env staging",
"contracts:verify:production": "hardhat contracts-verify --network mainnet --env production",
"contracts:verify:gate:testing": "hardhat verify-gate --network ropsten --env testing",
"contracts:verify:gate:staging": "hardhat verify-gate --network ropsten --env staging",
"contracts:verify:gate:production": "hardhat verify-gate --network mainnet --env production",
"contracts:verify:erc1155only:testing": "hardhat contracts-verify-erc1155 --network ropsten --env testing",
"contracts:verify:erc1155only:staging": "hardhat contracts-verify-erc1155 --network ropsten --env staging",
"contracts:verify:erc1155only:production": "hardhat contracts-verify-erc1155 --network mainnet --env production",
"tests:lint": "eslint test/**/*.ts testHelpers/**/*.ts",
"tests:lint-fix": "eslint --fix test/**/*.ts testHelpers/**/*.ts scripts/**/*.ts",
"tests:format": "prettier --list-different test/**/*.ts testHelpers/**/*.ts scripts/**/*.ts",
"tests:format-fix": "prettier --write test/**/*.ts testHelpers/**/*.ts scripts/**/*.ts",
"tests:unit": "hardhat test",
"tests:coverage": "hardhat coverage --solcoverjs ./.solcover.js",
"prepublishOnly": "npm run contracts:lint && npm run contracts:compile && npm run tests:unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bosonprotocol/bsn-core-prototype.git"
},
"author": "Boson Protocol Maintainers",
"license": "LGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/bosonprotocol/contracts/issues"
},
"homepage": "https://github.com/bosonprotocol/contracts#readme",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.1",
"@nomiclabs/hardhat-waffle": "2.0.1",
"@openzeppelin/contracts": "3.4.2-solc-0.7",
"@typechain/ethers-v5": "^7.0.0",
"@typechain/hardhat": "^2.0.1",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.9.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"chai": "^4.3.4",
"dotenv": "^8.6.0",
"elliptic": "^6.5.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.2.0",
"ethereum-waffle": "^3.3.0",
"ethereumjs-util": "^7.0.7",
"ethers": "5.4.7",
"hardhat": "^2.1.2",
"hardhat-abi-exporter": "^2.3.0",
"hardhat-contract-sizer": "^2.1.1",
"hardhat-gas-reporter": "^1.0.4",
"mocha": "^8.2.1",
"node-fetch": "^3.1.1",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.3",
"prompts": "^2.4.2",
"solhint": "^3.3.2",
"solidity-coverage": "^0.7.12",
"ts-node": "^10.0.0",
"typechain": "^5.0.0",
"typescript": "^4.3.2"
}
}