This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
90 lines (90 loc) · 2.2 KB
/
config.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"commands": {
"gitInit": "git init",
"gitAdd": "git add .",
"gitCommit": "git commit -m 'init: :tada: initial commit'",
"createLocalEnv": "cp .env.example .env",
"huskyCommands": [
"npm set-script prepare 'husky install'",
"npm run prepare --silent",
"npx husky add .husky/pre-commit 'npx lint-staged'"
],
"huskyCommitlint": "npx husky add .husky/commit-msg 'npx commitlint --config .commitlintrc.cjs --edit'"
},
"dependencies": [
"express",
"express-async-errors",
"express-openapi-validator",
"cors",
"helmet",
"morgan",
"tslog"
],
"devDependencies": [
"eslint",
"eslint-config-prettier",
"eslint-plugin-prettier",
"eslint-plugin-security",
"lint-staged",
"nodemon",
"prettier",
"husky"
],
"extraDeps": {
"fetch": [
"node-fetch"
],
"commitlint": [
"standard-version",
"@commitlint/cli",
"@commitlint/config-conventional"
],
"docker": [
"docker-secret"
]
},
"extraOptions": {
"commitlint": {
"scripts": {
"release": "standard-version --no-verify --sign"
}
}
},
"options": {
"author": "",
"version": "1.0.0",
"license": "MIT",
"main": "src/index.mjs",
"type": "module",
"scripts": {
"start": "node src/index.mjs",
"dev": "nodemon src/index.mjs",
"lint": "eslint -c .eslintrc .",
"test": "echo 'OK'"
},
"engines": {
"node": "14.x",
"npm": "7.x"
}
},
"steps": {
"start": "Initializing project ",
"base": "Added basic source and configuration files",
"fetch": "Added node-fetch utils",
"docker": "Added Docker files",
"commitlint": "Added commitlintrc",
"commitlint_hook": "Added husky commit message hook",
"npm-pre": "Running `npm install`",
"npm": "Initialized npm package and installed dependencies",
"git": "Initialized git repository",
"env": "Created local .env file",
"husky": "Initialized husky hook",
"commit": "Created initial commit"
},
"templates": {
"base": "templates/base",
"fetch": "templates/fetch/utils.mjs",
"docker": "templates/docker",
"commitlint": "templates/commitlint"
}
}