-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.58 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 2.58 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
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "node-module-typescript-template",
"version": "0.0.1",
"description": "This is a base template that will allow you to focus on developing your new module without worrying about CI/CD implementations, code review, semantic versioning, and other related tasks.",
"author": {
"name": "Alexander Daza",
"email": "dev.alexander.daza@gmail.com",
"url": "https://github.com/devalexanderdaza"
},
"license": "Apache-2.0",
"private": false,
"main": "dist/index.js",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/developerplace/node-module-typescript-template"
},
"scripts": {
"start": "node dist/src/index.js",
"build": "tsc",
"test": "jest",
"release": "standard-version",
"lint": "prettier --check .",
"lint:fix": "prettier --write ."
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"keywords": [
"Node.js",
"TypeScript",
"npm",
"yarn",
"GitHub",
"Jest",
"Prettier",
"Husky",
"GitHub Actions",
"Semantic Release",
"Commitizen",
"Boilerplate",
"Template",
"Scaffolding",
"CI/CD"
],
"engines": {
"node": ">=14.0.0"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"assets": [
"dist/**/*.{js,ts}"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node"
},
"standard-version": {
"scripts": {
"postbump": "yarn build",
"postrelease": "git push --follow-tags && npm publish"
}
}
}