-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
66 lines (66 loc) · 2.63 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
{
"name": "@hashgraph/hedera-cli",
"version": "0.1.2",
"description": "CLI tool to manage and setup developer environments for Hedera Hashgraph.",
"main": "hedera-cli.js",
"target": "esnext",
"module": "esnext",
"publishConfig": {
"access": "public"
},
"bin": {
"hedera-cli": "node ./dist/hedera-cli.js"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run format && rimraf --glob 'dist/' && tsc && npm run copy-state && npm run rename-base-state && npm run copy-input",
"clean": "rm -rf dist/ && rm -rf coverage/ && rm -rf junit.xml && rm -rf junit-e2e.xml",
"dev-build": "rm -rf dist/ && tsc && npm run copy-test-state && npm run copy-input && npm run rename-test-state && npm run watch",
"watch": "tsc --watch",
"copy-test-state": "copyfiles -u 2 src/state/test_state.json dist/state/",
"rename-base-state": "node -e \"require('fs').rename('dist/state/base_state.json', 'dist/state/state.json', function(err) { if (err) console.log(err); })\"",
"rename-test-state": "node -e \"require('fs').rename('dist/state/test_state.json', 'dist/state/state.json', function(err) { if (err) console.log(err); })\"",
"copy-state": "copyfiles -u 2 src/state/base_state.json dist/state/",
"copy-input": "copyfiles -u 2 src/input/*.json dist/input/",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet",
"format": "prettier --write 'src/**/*.{js,ts,tsx}'",
"unit-test": "JEST_SUITE_NAME='Unit Tests' JEST_JUNIT_OUTPUT_NAME='junit.xml' jest --maxWorkers=50% --coverage --coverageDirectory='coverage/unit' -- __tests__/commands/**/*.test.ts",
"e2e-test": "JEST_SUITE_NAME='E2E Tests' JEST_JUNIT_OUTPUT_NAME='junit-e2e.xml' jest --coverage --coverageDirectory='coverage/e2e' -- __tests__/e2e.test.ts --runInBand",
"test": "npm run unit-test && npm run e2e-test",
"single-test": "jest"
},
"keywords": [
"CLI",
"Hedera",
"Hashgraph",
"DLT"
],
"author": "Michiel Mulders",
"license": "Apache-2.0",
"dependencies": {
"@hashgraph/sdk": "^2.56.0",
"axios": "^1.7.9",
"commander": "^11.0.0",
"dotenv": "^16.4.7",
"enquirer": "^2.4.1"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"copyfiles": "^2.4.1",
"eslint": "^8.55.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.2",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.4.2",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.7.3"
}
}