Skip to content

Commit 44aa156

Browse files
committed
Wallet: align package.json
1 parent 3bca312 commit 44aa156

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

packages/wallet/package.json

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
"name": "ethereumjs-wallet",
33
"version": "1.0.2",
44
"description": "Utilities for handling Ethereum keys",
5+
"keywords": [
6+
"ethereum",
7+
"wallets",
8+
"keys"
9+
],
10+
"homepage": "https://github.com/ethereumjs/ethereumjs-wallet",
11+
"bugs": {
12+
"url": "https://github.com/ethereumjs/ethereumjs-wallet/issues"
13+
},
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/ethereumjs/ethereumjs-monorepo.git"
17+
},
18+
"license": "MIT",
19+
"author": "Alex Beregszaszi <[email protected]>",
520
"main": "dist/index.js",
621
"types": "dist/index.d.ts",
722
"browser": "dist.browser/index.js",
@@ -10,7 +25,19 @@
1025
"dist",
1126
"dist.browser"
1227
],
13-
"homepage": "https://github.com/ethereumjs/ethereumjs-wallet",
28+
"scripts": {
29+
"postinstall": "npm run build",
30+
"build": "tsc -p tsconfig.prod.json",
31+
"prepublishOnly": "npm run lint && npm run build && npm run test",
32+
"docs:build": "typedoc --out docs --mode file --readme none --theme markdown --mdEngine github --excludeNotExported src",
33+
"coverage": "npm run build && nyc --reporter=lcov npm run test:unit",
34+
"tsc": "tsc -p tsconfig.prod.json --noEmit",
35+
"lint": "eslint --format codeframe --config ./.eslintrc.js . --ext .js,.jsx,.ts,.tsx",
36+
"lint:fix": "eslint --fix --format codeframe --config ./.eslintrc.js . --ext .js,.jsx,.ts,.tsx",
37+
"test": "npm run test:unit && npm run test:browser",
38+
"test:unit": "mocha --require ts-node/register ./test/**/*.spec.ts",
39+
"test:browser": "karma start karma.conf.js"
40+
},
1441
"dependencies": {
1542
"@ethereumjs/util": "^8.0.6",
1643
"@scure/base": "1.1.1",
@@ -34,36 +61,12 @@
3461
"mocha": "10.0.0",
3562
"nyc": "15.1.0"
3663
},
37-
"scripts": {
38-
"postinstall": "npm run build",
39-
"build": "tsc -p tsconfig.prod.json",
40-
"prepublishOnly": "npm run lint && npm run build && npm run test",
41-
"docs:build": "typedoc --out docs --mode file --readme none --theme markdown --mdEngine github --excludeNotExported src",
42-
"coverage": "npm run build && nyc --reporter=lcov npm run test:unit",
43-
"tsc": "tsc -p tsconfig.prod.json --noEmit",
44-
"lint": "eslint --format codeframe --config ./.eslintrc.js . --ext .js,.jsx,.ts,.tsx",
45-
"lint:fix": "eslint --fix --format codeframe --config ./.eslintrc.js . --ext .js,.jsx,.ts,.tsx",
46-
"test": "npm run test:unit && npm run test:browser",
47-
"test:unit": "mocha --require ts-node/register ./test/**/*.spec.ts",
48-
"test:browser": "karma start karma.conf.js"
49-
},
5064
"husky": {
5165
"hooks": {
5266
"pre-push": "npm run lint"
5367
}
5468
},
55-
"repository": {
56-
"type": "git",
57-
"url": "https://github.com/ethereumjs/ethereumjs-wallet.git"
58-
},
59-
"keywords": [
60-
"ethereum",
61-
"wallets",
62-
"keys"
63-
],
64-
"author": "Alex Beregszaszi <[email protected]>",
65-
"license": "MIT",
66-
"bugs": {
67-
"url": "https://github.com/ethereumjs/ethereumjs-wallet/issues"
69+
"engines": {
70+
"node": ">=16"
6871
}
6972
}

0 commit comments

Comments
 (0)