generated from dfinity/icp-eth-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 2.3 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
{
"name": "@dfinity/ic-eth-starter",
"version": "0.1.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
"setup": "npm i && dfx canister create --all && dfx generate backend && dfx deploy",
"start": "run-p frontend backend",
"frontend": "vite --port 3000",
"backend": "mo-dev --generate --deploy -y",
"build": "vite build",
"preview": "vite preview",
"test": "run-s test:mo test:rs test:ts",
"test:mo": "mops test",
"test:rs": "cargo test",
"test:ts": "vitest run",
"format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss}\" \"canisters/**/*.mo\"",
"sources": "mops sources",
"prepare": "husky install",
"precommit": "lint-staged",
"postinstall": "mops install"
},
"dependencies": {
"@dfinity/agent": "^0.19.2",
"@dfinity/auth-client": "^0.19.2",
"@dfinity/candid": "^0.19.2",
"@dfinity/principal": "^0.19.2",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@tippyjs/react": "^4.2.6",
"alchemy-sdk": "^2.9.2",
"ethers": "^6.6.7",
"metamask-react": "^2.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-router-dom": "^6.14.2",
"react-toastify": "^9.1.3",
"styled-components": "^6.0.5",
"twin.macro": "^3.4.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@types/styled-components": "^5.1.26",
"@vitejs/plugin-react": "^4.0.4",
"autoprefixer": "^10.4.14",
"babel-plugin-twin": "^1.1.0",
"cross-env": "^7.0.3",
"cross-fetch": "^4.0.0",
"esbuild": "^0.18.17",
"eslint": "^8.46.0",
"eslint-config-react-app": "^7.0.1",
"husky": "^8.0.3",
"ic-mops": "^0.23.0",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.3",
"mo-dev": "^0.11.2",
"npm-run-all": "^4.1.5",
"prettier": "2",
"prettier-plugin-motoko": "^0.8.0",
"sass": "^1.64.2",
"tailwindcss": "^3.3.3",
"vite": "^4.4.8",
"vite-imagetools": "^4.0.19",
"vitest": "^0.34.1",
"web-vitals": "^3.4.0"
},
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx}": [
"eslint --max-warnings=0 --fix",
"prettier --write"
]
}
}