forked from ethereum/sourcify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.03 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
{
"name": "@ethereum-sourcify/bytecode-utils",
"version": "1.2.11",
"description": "Decode the CBOR encoded data at the end of an Ethereum contract's bytecode.",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/ethereum/sourcify",
"license": "MIT",
"keywords": [
"sourcify",
"ethereum",
"cbor",
"contract",
"smart-contract",
"metadata",
"solidity",
"ipfs"
],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"./**/*.ts\" --write",
"fix:lint": "eslint . --ext .ts --fix",
"check": "run-s check:*",
"check:eslint": "eslint . --ext .ts",
"check:prettier": "prettier \"./**/*.ts\" --check",
"test": "c8 --reporter=none mocha --exit test/**",
"watch:build": "tsc -p tsconfig.json -w",
"cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "c8 report --reporter=html",
"cov:lcov": "c8 report --reporter=lcov",
"cov:check": "c8 report && c8 check-coverage --lines 100 --functions 100 --branches 100"
},
"engines": {
"node": "22.5.1"
},
"dependencies": {
"@ethersproject/bytes": "5.7.0",
"base-x": "4.0.0",
"bs58": "5.0.0",
"cbor-x": "1.6.0"
},
"devDependencies": {
"@types/chai": "4.3.20",
"@types/mocha": "10.0.9",
"@types/node": "20.16.11",
"c8": "10.1.2",
"chai": "4.5.0",
"cz-conventional-changelog": "3.3.0",
"mocha": "10.7.3",
"npm-run-all2": "5.0.2"
},
"optionalDependencies": {
"fsevents": "2.3.3"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"LICENSE",
"README.md"
],
"prettier": {
"singleQuote": true
},
"c8": {
"exclude": [
"**/*.spec.js",
"**/*.spec.ts"
],
"reporter": [
"html",
"lcov",
"text",
"text-summary"
]
}
}