-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 2.96 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
{
"name": "selection",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"source": "src/index.js",
"scripts": {
"build": "rm -rf .parcel-cache && rm -rf docs && yarn parcel build",
"chain": "hardhat node",
"deploy": "hardhat run scripts/deploy.cjs",
"dev": "rm -rf .parcel-cache && rm -rf docs && yarn parcel watch src/index.js",
"precommit": "echo 'husky is working : )' && lint-staged && yarn build && git add docs",
"prepare": "husky",
"serve": "rm -rf .parcel-cache && yarn parcel src/index.html --open",
"test": "hardhat test"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"prettier --write --ignore-unknown"
],
"*.{ts,tsx}": [
"prettier --write --ignore-unknown"
],
"**/*": "prettier --write --ignore-unknown"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
],
"eslintConfig": {
"env": {
"amd": true,
"browser": true,
"es2020": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"ecmaVersion": "latest",
"parser": "@babel/eslint-parser",
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"prettier"
],
"globals": {
"assert": "readonly",
"before": "readonly",
"describe": "readonly",
"it": "readonly"
},
"ignorePatterns": [
"/docs/index.js",
"**/*.min.js",
"**/*.worker.js",
"/docs/*"
],
"root": true
},
"dependencies": {
"ethers": "^5.7.0"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-env": "^7.24.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomicfoundation/hardhat-verify": "^2.0.8",
"@nomiclabs/hardhat-ethers": "*",
"@nomiclabs/hardhat-ganache": "*",
"@nomiclabs/hardhat-waffle": "*",
"@openzeppelin/contracts": "^4.6.0",
"@parcel/optimizer-data-url": "2.12.0",
"@parcel/transformer-inline": "^2.12.0",
"@parcel/transformer-inline-string": "2.12.0",
"base64-sol": "^1.1.0",
"chai": "4.3.6",
"dotenv": "^16.0.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"ethereum-waffle": "*",
"hardhat": "2.21.0",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^2.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"parcel": "^2.12.0",
"prettier": "3.2.5",
"puppeteer": "^23.3.0",
"solidity-coverage": "^0.8.6",
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0",
"viem": "^2.21.2",
"vm-browserify": "^1.1.2",
"xmldom": "^0.6.0"
},
"iframe": "docs/index.html",
"onchain": "docs/selection.js",
"targets": {
"iframe": {
"source": "src/index.html",
"optimize": true
},
"onchain": {
"source": "src/selection.js",
"optimize": true
}
}
}