-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.37 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.37 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
{
"name": "cli-pattern",
"version": "1.0.0",
"description": "A CLI tool with dynamic command loading and configuration.",
"keywords": [
"cli",
"commander",
"cosmiconfig",
"dynamic commands",
"configuration",
"tool",
"utility",
"nodejs",
"javascript"
],
"homepage": "https://github.com/ioncakephper/cli-pattern#readme",
"bugs": {
"url": "https://github.com/ioncakephper/cli-pattern/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ioncakephper/cli-pattern.git"
},
"license": "MIT",
"author": "",
"main": "src/index.js",
"bin": {
"cli-pattern": "bin/cli.js"
},
"files": [
"bin/",
"src/",
"config/",
"README.md",
"LICENSE",
"CONTRIBUTING.md"
],
"scripts": {
"docs": "npx markdown-magic@3.7.0 **/*.md -c md.config.js",
"format": "prettier --write .",
"format:packagejson": "prettier --write package.json",
"postinstall": "npm run docs",
"precommit": "npm run docs && npm run format",
"test": "jest --passWithNoTests",
"postuninstall": "npm run docs"
},
"dependencies": {
"commander": "^14.0.2",
"cosmiconfig": "^9.0.0"
},
"devDependencies": {
"jest": "^30.2.0",
"markdown-magic-scripts": "^1.4.0",
"markdown-magic-transform-acknowledgements": "^1.2.2",
"markdown-magic-transform-badges": "^1.1.6",
"markdown-magic-transform-treefile-extended": "^1.2.1",
"prettier": "^3.6.2",
"prettier-plugin-packagejson": "^2.5.19"
},
"scriptsMeta": {
"postinstall": {
"description": "Runs after npm install to generate documentation.",
"category": "Lifecycle"
},
"postuninstall": {
"description": "Runs after npm uninstall to update documentation.",
"category": "Lifecycle"
},
"docs": {
"description": "Generates and updates markdown documentation files.",
"category": "Documentation"
},
"format": {
"description": "Formats all code files using Prettier.",
"category": "Formatting"
},
"format:packagejson": {
"description": "Formats the package.json file using Prettier.",
"category": "Formatting"
},
"test": {
"description": "Runs tests for the project.",
"category": "Testing"
},
"precommit": {
"description": "Runs docs and format tasks before commit.",
"category": "Lifecycle"
}
}
}