-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
72 lines (72 loc) · 2.36 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
{
"version": "1.7.0",
"description": "HSM Agent",
"name": "@fireblocks/hsm-agent",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://gitlab.com/fireblocks/shell/common/hsm-agent.git"
},
"scripts": {
"build": "npm run build:api && tsc && npm run copy:env",
"copy:env": "cp .env.${npm_config_env:-prod} ./dist",
"build:api": "openapi-typescript ./api/customer-server.api.yml -o ./api/customer-server.d.ts",
"start": "NODE_ENV=${npm_config_env:-prod} ts-node src/index.ts",
"start:debug": "NODE_ENV=dev9 node --inspect-brk -r ts-node/register src/index.ts",
"start:example-server": "cd ./examples/server && npm run start:docker",
"start:prod": "NODE_ENV=prod node dist/hsm-client.js",
"start:pm2": "NODE_ENV=prod pm2 start dist/hsm-client.js && pm2 attach 0",
"start:docker": "docker run -t hsm-agent",
"build:docker": "docker build -t hsm-agent .",
"test": "NODE_ENV=prod jest --runInBand --coverage --detectOpenHandles --forceExit",
"prepack": "npm run build",
"test:watch": "jest --watch --runInBand",
"semantic-release": "semantic-release",
"format": "prettier ./src --write",
"format:check": "prettier ./src --check",
"prepare": "husky install"
},
"bin": "dist/hsm-client.js",
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@jest/globals": "^29.7.0",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "latest",
"@semantic-release/gitlab": "^12.0.0",
"@types/chance": "^1.1.6",
"@types/figlet": "^1.5.8",
"@types/jest": "^29.0.0",
"@types/jsonwebtoken": "^9.0.5",
"axios-mock-adapter": "^1.22.0",
"chance": "^1.1.11",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^13.2.2",
"nodemon": "^3.0.2",
"openapi-typescript": "^6.7.2",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.0"
},
"dependencies": {
"@inquirer/password": "^1.1.14",
"axios": "^1.6.2",
"chalk": "^4.0.0",
"dotenv": "^16.3.1",
"figlet": "^1.7.0",
"jsonwebtoken": "^9.0.2",
"ora": "^5.0.0",
"pm2": "^5.3.0",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^5.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}