-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
124 lines (124 loc) · 3.46 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
{
"name": "set.js",
"version": "0.6.0",
"description": "A javascript library for interacting with the Set Protocol v2",
"keywords": [
"set.js",
"SetProtocol",
"ethereum",
"tokens",
"basket",
"ERC20"
],
"main": "dist/src/index.js",
"typings": "dist/types/src/index.d.ts",
"bin": {},
"scripts": {
"prod": "yarn run build",
"chain": "bash scripts/init_chain_internal.sh",
"build": "yarn run clean && yarn run build-dist && yarn run tslint && tspath -f",
"build-ts": "tsc -p tsconfig.json",
"build-dist": "tsc -p tsconfig.dist.json",
"clean": "rm -rf dist",
"test": "jest --runInBand",
"test:verbose": "jest --runInBand --silent=false",
"test:watch": "jest --watch --runInBand",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"precommit": "lint-staged",
"prepack": "yarn build",
"docs": "bash scripts/docs/generate_docs.sh",
"prepublishOnly": "yarn build"
},
"config": {},
"repository": {
"type": "git",
"url": "https://github.com/SetProtocol/set.js"
},
"license": "Apache-2.0",
"engines": {
"node": ">=10.16.0"
},
"devDependencies": {
"@types/node": "^14.0.23",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-jest-mocks": "^1.2.4",
"ganache": "^7.0.2",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"ts-jest": "^26.1.3",
"tslint": "^6.1.2",
"tslint-eslint-rules": "^5.4.0",
"typedoc": "^0.17.8",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^4.4.2"
},
"dependencies": {
"@0x/utils": "^6.5.3",
"@0xproject/types": "^1.1.4",
"@0xproject/typescript-typings": "^3.0.2",
"@0xproject/utils": "^2.0.2",
"@setprotocol/set-protocol-v2": "^0.1.15",
"@setprotocol/set-v2-strategies": "^0.0.11",
"@types/chai-as-promised": "^7.1.3",
"@types/jest": "^26.0.5",
"@types/web3": "^1.2.2",
"abi-decoder": "^2.3.0",
"axios": "^0.21.1",
"bignumber.js": "^9.0.0",
"dotenv": "^8.2.0",
"ethereum-types": "^3.2.0",
"ethereumjs-util": "^7.0.3",
"ethers": "5.5.2",
"graph-results-pager": "^1.0.3",
"js-big-decimal": "^1.3.4",
"jsonschema": "^1.2.6",
"lodash": "^4.17.19",
"tspath": "^1.3.7",
"web3": "^1.5.2"
},
"files": [
"src",
"dist",
"scripts"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.ts": [
"yarn tslint --fix"
],
"test/**/*.ts": [
"yarn tslint --fix"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/dist/",
"/_versions/"
],
"testTimeout": 30000,
"testURL": "http://localhost/",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node",
"d.ts"
],
"moduleNameMapper": {
"^@src/(.*)": "<rootDir>/src/$1",
"^@test/(.*)": "<rootDir>/test/$1"
}
}
}