forked from dOrgTech/dex-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 5.18 KB
/
package.json
File metadata and controls
159 lines (159 loc) · 5.18 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "@gnosis.pm/dex-react",
"version": "0.11.0-5",
"description": "",
"main": "src/index.js",
"sideEffects": false,
"scripts": {
"start": "NODE_ENV=development webpack-dev-server --mode development --hot",
"mock": "MOCK=true yarn start",
"build": "rimraf ./dist && NODE_ENV=production webpack --mode production",
"lint": "eslint src --ext .ts,.tsx,.js",
"lint:fix": "eslint src --fix . --ext .ts,.tsx,.js",
"stats": "rimraf ./dist && NODE_ENV=production webpack --mode production --env.stats --profile --json > stats.json && webpack-bundle-analyzer ./stats.json ./dist",
"test": "MOCK=true jest",
"test-coverage": "MOCK=true jest --coverage && cat ./coverage/lcov.info | coveralls",
"verify": "npm run lint && npm run test",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\""
},
"husky": {
"hooks": {
"pre-commit": "npm run verify"
}
},
"jest": {
"roots": [
"<rootDir>/test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setupEnzyme.ts"
],
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/mocks/fileMock.js",
"\\.(css|less)$": "<rootDir>/test/mocks/fileMock.js"
},
"globalSetup": "<rootDir>/test/globalSetup.ts"
},
"author": "",
"dependencies": {
"@amcharts/amcharts4": "^4.9.12",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-regular-svg-icons": "^5.12.0",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"@gnosis.pm/dapp-ui": "^0.5.3",
"@gnosis.pm/dex-js": "0.2.2",
"@hapi/joi": "^17.1.1",
"@hot-loader/react-dom": "^16.11.0",
"@popperjs/core": "^2.0.6",
"@types/react": "^16.9.19",
"@types/react-is": "^16.7.1",
"@types/react-select": "^3.0.10",
"@walletconnect/web3-provider": "^1.0.0-beta.46",
"bignumber.js": "^9.0.0",
"bn.js": "^4.11.8",
"combine-reducers": "^1.0.0",
"date-fns": "^2.9.0",
"detect-browser": "^4.8.0",
"modali": "^1.2.0",
"node-cache": "^5.1.0",
"qrcode.react": "^1.0.0",
"react": "^16.12.0",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "^16.12.0",
"react-hook-form": "^5.2.0",
"react-hot-loader": "^4.12.19",
"react-router-dom": "^5.1.2",
"react-select": "^3.0.8",
"react-toastify": "^5.5.0",
"styled-components": "^5.0.0",
"web3": "^1.2.5"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.3",
"@fortawesome/fontawesome-common-types": "^0.2.26",
"@types/bn.js": "^4.11.6",
"@types/combine-reducers": "^1.0.0",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/hapi__joi": "^16.0.12",
"@types/jest": "^25.1.1",
"@types/node": "^13.5.2",
"@types/qrcode.react": "^1.0.0",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.5",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@types/styled-components": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-styled-components": "^1.10.7",
"babel-plugin-transform-imports": "^2.0.0",
"console-feed": "^2.8.11",
"coveralls": "^3.0.9",
"css-loader": "^3.4.2",
"dotenv": "^8.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.3",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"eslint-utils": ">=2.0.0",
"favicons-webpack-plugin": "^3.0.1",
"file-loader": "^5.0.2",
"fork-ts-checker-webpack-plugin": "^4.0.3",
"frontmatter-markdown-loader": "^3.2.1",
"html-webpack-plugin": "^4.0.0-beta.11",
"husky": "^4.2.1",
"image-webpack-loader": "^6.0.0",
"jest": "^25.1.0",
"jest-enzyme": "^7.1.2",
"markdown-it-link-attributes": "^3.0.0",
"preload-webpack-plugin": "^3.0.0-beta.4",
"prettier": "^1.19.1",
"react-dev-utils": "^10.0.0",
"react-hook-form-devtools": "^1.1.3",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.1",
"style-loader": "^1.1.3",
"ts-jest": "^25.1.0",
"ts-loader": "^6.2.1",
"typescript": "^3.7.5",
"webpack": "^4.41.6",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
}
}