-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
130 lines (130 loc) · 3.87 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
128
129
130
{
"name": "options-protocol",
"version": "1.0.0",
"description": "Options smart contracts for any EVM compatible chain",
"devDependencies": {
"@openzeppelin/contracts": "2.4.0",
"@openzeppelin/test-helpers": "^0.5.4",
"@typechain/truffle-v5": "^2.0.2",
"@types/chai": "4.2.5",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"chai": "4.2.0",
"coveralls": "^3.0.11",
"date-fns": "^2.9.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"ganache-cli": "6.7.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"prettier-plugin-solidity": "^1.0.0-alpha.35",
"solhint": "^2.3.0",
"solhint-plugin-prettier": "0.0.3",
"solidity-coverage": "^0.7.9",
"solidoc": "^1.0.5",
"truffle": "5.1.1",
"truffle-assertions": "0.9.2",
"truffle-hdwallet-provider-privkey": "^0.3.0",
"truffle-typings": "^1.0.8",
"ts-node": "8.5.4",
"typechain": "^2.0.0",
"typescript": "3.7.2",
"web3": "^1.2.6",
"web3-core": "^1.2.6",
"web3-utils": "1.2.4"
},
"files": [
"build"
],
"scripts": {
"ganache:ci": "ganache-cli --allowUnlimitedContractSize --port 8545 > /dev/null &",
"ganache": "ganache-cli --allowUnlimitedContractSize --port 8545",
"compile:contracts": "truffle compile",
"compile:types": "typechain --target=truffle-v5 --outDir build/types/truffle-types \"build/contracts/*.json\"",
"build": "npm run compile:contracts && npm run compile:types",
"migrate": "truffle migrate",
"deploy:development": "npm run build && npm run migrate -- --network development",
"deploy:kovan": "npm run build && npm run migrate -- --network kovan",
"deploy:mainnet": "npm run build && npm run migrate -- --network mainnet",
"lint:contracts": "solhint 'contracts/**/*.sol'",
"lint:tests": "eslint 'test/**/*.ts'",
"lint:tests:fix": "npm run lint:tests -- --fix",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:sol:prettier:fix": "prettier --write \"contracts/**/*.sol\"",
"pretest": "npm run build",
"test": "truffle test",
"test:kovan": "truffle test --network kovan ./test/sell-and-buy.test.ts",
"test:ropsten": "truffle test --network ropsten ./test/sell-and-buy.test.ts",
"test:rinkeby": "truffle test --network rinkeby ./test/sell-and-buy.test.ts",
"sellOptions:mainnet": "truffle test --network mainnet ./test/sell-and-buy.test.ts",
"test:oyDai": "truffle test --network mainnet ./test/oyDai.test.ts",
"coverage": "truffle run coverage",
"docgen": "solidoc"
},
"prettier": {
"singleQuote": true,
"overrides": [
{
"files": "*.sol",
"options": {
"singleQuote": false
}
}
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.sol": [
"prettier --write",
"git add"
],
"test/**": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/aparnakr/OptionsProtocol.git"
},
"keywords": [
"options",
"ethereum",
"defi"
],
"author": "Opyn",
"license": "ISC",
"bugs": {
"url": "https://github.com/aparnakr/OptionsProtocol/issues"
},
"homepage": "https://github.com/aparnakr/OptionsProtocol#readme",
"dependencies": {
"bn.js-types": "^1.0.1",
"minimist": "^1.2.5",
"truffle-hdwallet-provider": "^1.0.17"
}
}