-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
93 lines (93 loc) · 2.93 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
{
"name": "eip-712",
"version": "1.0.0",
"description": "Tiny library with utility functions that can help with signing and verifying EIP-712 based messages",
"author": "Maarten Zuidhoorn <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/Mrtenz/eip-712.git"
},
"bugs": {
"url": "https://github.com/Mrtenz/eip-712/issues"
},
"keywords": [
"ethereum",
"eip712"
],
"license": "MIT",
"main": "lib/cjs/index.js",
"module": "lib/es/index.js",
"typings": "typings/index.d.ts",
"sideEffects": false,
"engines": {
"node": ">=10"
},
"files": [
"lib",
"src",
"typings"
],
"scripts": {
"clean": "rimraf lib",
"build": "yarn run clean && yarn run build:source && yarn run build:declarations",
"build:source": "yarn run build:source:cjs && yarn run build:source:es",
"build:source:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel src --extensions '.ts' --source-maps --out-dir lib/cjs",
"build:source:es": "cross-env NODE_ENV=production BABEL_ENV=es babel src --extensions '.ts' --source-maps --out-dir lib/es",
"build:declarations": "tsc -p tsconfig.build.json",
"test": "jest",
"lint": "yarn run lint:tsc && yarn run lint:eslint && yarn run lint:prettier && yarn run lint:lockfile",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint . --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx",
"lint:prettier": "prettier --check --ignore-path .gitignore '**/*.{ts,tsx,js,json}'",
"lint:lockfile": "lockfile-lint --type yarn --path yarn.lock --allowed-hosts yarn --validate-https --validate-checksum --validate-integrity",
"format": "prettier --write --ignore-path .gitignore '**/*.{ts,tsx,js,json}'",
"prepare": "yarn run build"
},
"dependencies": {
"@findeth/abi": "^0.3.0",
"@noble/hashes": "^1.0.0",
"superstruct": "^0.15.3"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@types/jest": "^26.0.10",
"@types/keccak": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"babel-jest": "^26.3.0",
"codecov": "^3.7.2",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"ethereumjs-util": "^7.0.4",
"ethers": "^5.0.9",
"husky": "^4.2.5",
"jest": "^27.5.1",
"lint-staged": "^10.2.13",
"lockfile-lint": "^4.3.7",
"prettier": "^2.1.1",
"rimraf": "^3.0.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{js,json}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}