-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 4.56 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 4.56 KB
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "@hiero-ledger/hiero-cli",
"version": "1.2.0",
"description": "CLI tool to manage and setup developer environments for Hiero-Ledger.",
"main": "hiero-cli.js",
"target": "esnext",
"module": "esnext",
"types": "./dist/core/index.d.ts",
"exports": {
".": {
"types": "./dist/core/index.d.ts",
"default": "./dist/core/index.js"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"bin": {
"hcli": "./dist/hiero-cli.js"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run format && rimraf --glob 'dist/' && tsc && tsc-alias && npm run copy-contracts && chmod +x dist/hiero-cli.js",
"copy-contracts": "copyfiles -u 1 \"examples/contracts/**/*.sol\" dist",
"build-test": "tsc && tsc -p tsconfig.test.json && npm run test ",
"clean": "rm -rf dist/ && rm -rf coverage/ && rm -rf junit.xml && rm -rf junit-integration.xml",
"dev-build": "rm -rf dist/ && tsc && chmod +x dist/hiero-cli.js && npm run watch",
"watch": "tsc --watch",
"lint": "eslint . --quiet",
"lint:fix": "eslint . --fix",
"lint:staged": "lint-staged && eslint . --quiet",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc -p tsconfig.test.json --noEmit",
"test:unit": "npm run typecheck && cross-env JEST_SUITE_NAME=\"Unit Tests\" JEST_JUNIT_OUTPUT_NAME=\"junit.xml\" jest -c jest.unit.config.js --coverage --coverageDirectory=coverage/unit",
"test:unit:run": "cross-env JEST_SUITE_NAME=\"Unit Tests\" JEST_JUNIT_OUTPUT_NAME=\"junit.xml\" jest -c jest.unit.config.js --coverage --coverageDirectory=coverage/unit",
"test:integration": "cross-env JEST_SUITE_NAME=\"Integration Tests\" JEST_JUNIT_OUTPUT_NAME=\"junit-integration.xml\" jest -c jest.integration.config.js --coverage --coverageDirectory=coverage/integration --detectOpenHandles",
"test:e2e": "cross-env JEST_SUITE_NAME=\"E2E Tests\" JEST_JUNIT_OUTPUT_NAME=\"junit-e2e.xml\" jest -c jest.e2e.config.js --coverage --coverageDirectory=coverage/e2e --runInBand --passWithNoTests",
"test:all": "npm run typecheck && npm run test:unit:run && npm run test:integration",
"test:solo:install": "bash scripts/solo/install.sh",
"test:solo:deploy": "bash scripts/solo/deploy.sh",
"test:solo:check": "bash scripts/solo/check.sh",
"test:solo:destroy": "bash scripts/solo/destroy.sh",
"test:solo:up": "npm run test:solo:deploy && npm run test:solo:check",
"test:solo:down": "npm run test:solo:destroy",
"test": "npm run test:unit",
"single-test": "jest",
"dev": "ts-node src/hiero-cli.ts",
"dev:watch": "nodemon --exec ts-node src/hiero-cli.ts",
"start": "ts-node src/hiero-cli.ts",
"hcli": "ts-node src/hiero-cli.ts",
"debug": "ts-node --inspect src/hiero-cli.ts"
},
"keywords": [
"CLI",
"Hedera",
"Hashgraph",
"DLT",
"Hiero-Ledger"
],
"author": "Michiel Mulders",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/hiero-ledger/hiero-cli.git"
},
"dependencies": {
"@clack/prompts": "0.11.0",
"@x402/core": "2.17.0",
"@x402/hedera": "2.17.0",
"@hiero-ledger/sdk": "2.85.0",
"@openzeppelin/contracts": "5.6.1",
"ansi-escapes": "4.3.2",
"bignumber.js": "11.1.4",
"commander": "14.0.3",
"ethers": "6.17.0",
"handlebars": "4.7.9",
"jiti": "2.7.0",
"solc": "0.8.35",
"supports-hyperlinks": "3.2.0",
"zod": "4.4.3",
"zustand": "5.0.14"
},
"devDependencies": {
"@swc/core": "1.15.43",
"@swc/jest": "0.2.39",
"@types/jest": "30.0.0",
"@types/node": "25.9.1",
"@typescript-eslint/eslint-plugin": "8.62.1",
"@typescript-eslint/parser": "8.62.1",
"copyfiles": "2.4.1",
"cross-env": "10.1.0",
"dotenv": "17.4.2",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-no-relative-import-paths": "1.6.1",
"eslint-plugin-prettier": "5.5.6",
"eslint-plugin-simple-import-sort": "13.0.0",
"husky": "9.1.7",
"jest": "30.4.2",
"jest-junit": "17.0.0",
"lint-staged": "16.3.2",
"prettier": "3.8.3",
"rimraf": "6.1.3",
"tsc-alias": "1.8.17",
"tsconfig-paths": "4.2.0",
"typescript": "5.9.3"
},
"overrides": {
"protobufjs": "8.6.5",
"tmp": "0.2.7"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"**/*.{json,md,yml,yaml,css,scss,html}": [
"prettier --write"
]
}
}