-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 2.55 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
{
"name": "swap-interface-2",
"author": "Yanda.io",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ethersproject/abi": "5.7.0",
"@ethersproject/contracts": "5.7.0",
"@ethersproject/units": "^5.7.0",
"@metamask/jazzicon": "^2.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.3",
"@types/jwt-decode": "^3.1.0",
"@types/lodash": "^4.14.186",
"@types/node": "^18.7.4",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.0",
"@types/styled-components": "^5.1.26",
"@usedapp/core": "^1.2.2",
"axios": "1.2.0",
"buffer": "^6.0.3",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"dayjs": "^1.11.5",
"dependency-cruiser": "^12.1.0",
"ethers": "^5.6.9",
"jest-styled-components": "^7.1.0",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.1",
"react-scripts": "5.0.1",
"sass": "^1.54.4",
"styled-components": "^5.3.5"
},
"resolutions": {
"@ethersproject/abi": "5.2.0",
"@ethersproject/contracts": "5.2.0"
},
"scripts": {
"start": "react-scripts start",
"build": "yarn clean:app && yarn && yarn build:app",
"build:app": "react-scripts build",
"test": "yarn test:unit && yarn test:dependencies",
"test:unit": "react-scripts test",
"test:dependencies": "npx depcruise --config .dependency-cruiser.js src --exclude src/*/index.ts",
"coverage": "jest --converage",
"clean:app": "yarn clean:app:build && yarn clean:app:node_modules",
"clean:app:build": "rm -rf ./dist && rm -rf ./www",
"clean:app:node_modules": "rm -rf ./node_modules && rm -rf ./yarn-error.log",
"lint": "eslint .",
"lint:fix": "eslint --fix",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?!axios)"
]
},
"devDependencies": {
"typescript": "^4.4.2",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3"
}
}