-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.21 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
{
"name": "otterscan",
"version": "2.5.0",
"private": true,
"license": "MIT",
"type": "module",
"dependencies": {
"@fontsource/fira-code": "^5.0.18",
"@fontsource/roboto": "^5.0.13",
"@fontsource/roboto-mono": "^5.0.18",
"@fontsource/space-grotesk": "^5.0.18",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@headlessui/react": "^1.7.19",
"@otterscan/react-qr-reader": "^5.2.0",
"@storybook/test": "^8.0.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.4",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^18.16.8",
"@types/react": "^18.2.79",
"@types/react-blockies": "^1.4.4",
"@types/react-dom": "^18.2.25",
"@types/react-syntax-highlighter": "^15.5.11",
"@zilliqa-js/zilliqa": "^3.5.0",
"chart.js": "^4.4.2",
"ethers": "zilliqa/ethers.js#ethers-zq",
"highlightjs-solidity": "^2.0.6",
"prettier-plugin-organize-imports": "^3.2.4",
"react": "^18.2.0",
"react-blockies": "^1.4.1",
"react-chartjs-2": "^5.2.0",
"react-content-loader": "^7.0.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.13",
"react-helmet-async": "^2.0.4",
"react-image": "^4.1.0",
"react-intersection-observer": "^9.8.2",
"react-router-dom": "^6.23.0",
"react-syntax-highlighter": "^15.5.0",
"shiki": "^1.3.0",
"swr": "^2.2.2",
"use-keyboard-shortcut": "^1.1.6",
"web-vitals": "^3.5.2"
},
"scripts": {
"start": "./scripts/gen-version.sh autogen/version.ts && vite",
"build": "./scripts/gen-version.sh autogen/version.ts && tsc && vite build",
"preview": "./scripts/gen-version.sh autogen/version.ts && vite preview",
"test": "jest",
"source-map-explorer": "source-map-explorer build/static/js/*.js",
"assets-start": "docker run --rm -p 5175:80 --name otterscan-assets -d otterscan/otterscan-assets:v1.0.1",
"assets-stop": "docker stop otterscan-assets",
"docker-build": "docker buildx build -t otterscan .",
"docker-start": "docker run --rm -p 5273:80 --name otterscan -d otterscan",
"docker-stop": "docker stop otterscan",
"docker-hub-start": "docker run --rm -p 5273:80 --pull always --name otterscan -d otterscan/otterscan:develop",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build-parsers": "npx tspeg ./src/execution/address/contract/contract-input-grammar | npx prettier --stdin-filepath contractInput.ts > ./src/execution/address/contract/contractInputDataParser.ts",
"start-devnet": "VITE_CONFIG_JSON=$(cat cypress/support/devnet-config.json) vite",
"cy:run-mainnet": "npx cypress run --spec \"cypress/e2e/mainnet/**/*.cy.ts,cypress/e2e/*.cy.ts\"",
"cy:run-devnet": "npx cypress run --spec \"cypress/e2e/devnet/**/*.cy.ts,cypress/e2e/*.cy.ts\""
},
"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"
]
},
"devDependencies": {
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/react": "^8.0.9",
"@storybook/react-vite": "^8.0.9",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.19",
"cypress": "^13.8.0",
"jest": "^29.7.0",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"release-it": "^17.2.0",
"source-map-explorer": "^2.5.3",
"storybook": "^8.0.9",
"tailwindcss": "^3.4.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tspeg": "^3.3.1",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vite-imagetools": "^7.0.1",
"vite-plugin-compression": "^0.5.1",
"wrangler": "^3.51.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.16.4"
}
}