-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
88 lines (88 loc) · 2.11 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
{
"name": "@rsksmart/rsk-utils",
"version": "2.0.1",
"description": "A collection of JS utility functions for Rootstock",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"require": {
"default": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts"
}
}
},
"scripts": {
"lint": "npx eslint src/*.ts --quiet",
"test:node": "npx c8 mocha 'test/**/*.ts'",
"test": "npm run test:node",
"doc": "node ./.doc/makeDoc.js > Documentation.md",
"build:esm": "tsc --project tsconfig.dist.esm.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc --project tsconfig.dist.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build": "npm run build:esm && npm run build:cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rsksmart/rsk-utils.git"
},
"keywords": [
"rsk",
"utils",
"rootstock"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rsksmart/rsk-utils/issues"
},
"homepage": "https://github.com/rsksmart/rsk-utils#readme",
"dependencies": {
"keccak": "^3.0.4"
},
"devDependencies": {
"@types/bn.js": "^5.1.6",
"@types/chai": "^5.0.1",
"@types/keccak": "^3.0.5",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.5",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"c8": "^10.1.3",
"chai": "^5.1.2",
"eslint": "^9.17.0",
"mocha": "^11.0.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*.ts"
],
"all": true,
"exclude": [
"test/**/*.ts",
"**/*.spec.ts",
"**/*.d.ts",
"node_modules",
"dist"
],
"reporter": [
"html",
"text"
],
"sourceMap": true,
"instrument": true
}
}