-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·65 lines (65 loc) · 1.91 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
{
"name": "clean_code_template_cli",
"description": "Professional API using Clean Architecture and TDD.",
"license": "GPL-3.0-or-later",
"version": "0.0.103",
"keywords": [
"clean architecture",
"clean code",
"tdd",
"ddd",
"solid",
"design patterns",
"node",
"typescript",
"vitest",
"commander"
],
"bin": {
"clean_code_template_cli": "./dist/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/Warmachine13/cli-template-node.git"
},
"main": "./dist/index.js",
"scripts": {
"buildAndClean": "npm run build",
"prepublishOnly": "npm run build && rm -rf ./src && rm -rf tests",
"postpublish": "git reset --hard && git clean -fd",
"start": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' ./index.ts",
"start:windows": "nodemon --watch 'src/**/*.ts' --exec \"npx ts-node\" src/index.ts",
"create": "npm run build && npm run test",
"build": "swc src --extensions \".js,.ts\" --out-dir dist --copy-files",
"local:link": "npm run buildAndClean && npm link",
"local": "sudo npm i -g && template_node",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"test": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest run --coverage",
"lint": "biome format ./src",
"prepare": "husky install"
},
"dependencies": {
"commander": "^11.1.0",
"pino": "^8.10.0",
"pino-pretty": "^10.2.3"
},
"devDependencies": {
"@biomejs/biome": "1.5.2",
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.76",
"@swc/helpers": "^0.5.1",
"@types/node": "^18.11.10",
"@vitest/coverage-v8": "^1.2.0",
"@vitest/ui": "^1.2.0",
"husky": "^8.0.3",
"nodemon": "^2.0.20",
"regenerator-runtime": "^0.13.11",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vitest": "^1.2.0"
}
}