-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.35 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.35 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
{
"name": "php-theme-gen",
"version": "1.2.0",
"description": "A robust starter template for modern Node.js development, pre-configured with Jest for testing, ESLint for linting, and Prettier for code formatting.",
"main": "src/index.js",
"bin": {
"phpgen": "src/index.js"
},
"scripts": {
"start": "node src/index.js",
"test": "jest",
"test:watch": "jest --watchAll",
"lint": "eslint \"**/*.{js,md}\"",
"lint:fix": "eslint \"**/*.{js,md}\" --fix",
"format": "prettier --write \"**/*.{js,md,json}\"",
"docs:structure": "node scripts/update-readme-structure.js",
"docs:scripts": "node scripts/update-readme-scripts.js",
"docs:all": "npm run toc && npm run docs:scripts && npm run docs:structure",
"toc": "doctoc --github --title \"## 📚 Table of Contents\" README.md",
"check": "npm run lint",
"fix": "npm run format && npm run lint:fix",
"ready": "npm run docs:all && npm run fix"
},
"scriptDescriptions": {
"start": "Runs the application using `node src/index.js`.",
"test": "Runs all tests with Jest and generates a coverage report.",
"test:watch": "Runs Jest in watch mode, re-running tests on file changes.",
"lint": "Lints all JavaScript and Markdown files using ESLint.",
"lint:fix": "Automatically fixes linting issues in all JavaScript and Markdown files.",
"format": "Formats all JavaScript, Markdown, and JSON files with Prettier.",
"docs:structure": "Updates the project structure tree in `README.md`.",
"docs:scripts": "Updates the \"Available Scripts\" section in `README.md` with this script.",
"docs:all": "A convenience script that updates all documentation sections: table of contents, available scripts, and project structure.",
"toc": "Generates a Table of Contents in `README.md` using `doctoc`.",
"check": "A convenience script that runs the linter.",
"fix": "A convenience script that formats code and then fixes lint issues.",
"ready": "A convenience script to run before committing: updates all documentation and then formats and fixes all files."
},
"scriptCategories": {
"Core Development": [
"start",
"test",
"test:watch"
],
"Code Quality & Formatting": [
"check",
"fix",
"format",
"lint",
"lint:fix"
],
"Automated Documentation": [
"docs:all",
"docs:scripts",
"docs:structure",
"toc"
],
"The \"One-Click\" Pre-Commit Workflow": [
"ready"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ioncakephper/php-theme-gen.git"
},
"keywords": [
"javascript",
"starter",
"node",
"wordpress",
"theme",
"generator",
"cli",
"html-to-php",
"scaffolding",
"development",
"php"
],
"author": "Ion Gireada (https://github.com/ioncakephper)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ioncakephper/php-theme-gen/issues"
},
"homepage": "https://github.com/ioncakephper/php-theme-gen#readme",
"devDependencies": {
"doctoc": "^2.2.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-markdown": "^3.0.1",
"jest": "^29.7.0",
"prettier": "^3.2.5"
},
"engines": {
"node": ">=20.0.0"
},
"overrides": {
"undici": "5.28.4"
},
"dependencies": {
"commander": "^14.0.0"
}
}