-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
120 lines (120 loc) · 3.37 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
{
"name": "black-scholes",
"version": "1.0.0",
"description": "Black Scholes Calculator",
"devDependencies": {
"@nomiclabs/buidler": "^1.3.5",
"@openzeppelin/cli": "^2.8.2",
"@openzeppelin/contracts": "^3.0.1",
"@openzeppelin/test-helpers": "^0.5.4",
"@types/chai": "4.2.5",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"chai": "4.2.0",
"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",
"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",
"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": "^1.0.5",
"typechain-target-truffle": "1.0.2",
"typescript": "3.7.2",
"web3-utils": "1.2.4"
},
"files": [
"build"
],
"scripts": {
"compile:contracts": "truffle compile",
"compile:types": "typechain --target=truffle --outDir build/types/truffle-types \"build/contracts/*.json\"",
"build": "npm run compile:contracts && npm run compile:types",
"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",
"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\"",
"migrate": "truffle migrate",
"deploy:kovan": "npm run build && npm run migrate -- --network kovan"
},
"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": {
"@truffle/contract": "^4.2.7",
"mocha": "^7.2.0",
"truffle-hdwallet-provider": "^1.0.17"
}
}