-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
115 lines (115 loc) · 3.19 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
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": "boilerplate",
"version": "0.0.0",
"description": "NodeJS Boilerplate with precommit test and linting configured",
"author": "iamogbz",
"repository": {
"type": "git",
"url": "https://github.com/iamogbz/node-js-boilerplate"
},
"bugs": {
"url": "https://github.com/iamogbz/node-js-boilerplate/issues"
},
"homepage": "https://github.com/iamogbz/node-js-boilerplate#readme",
"license": "Unlicense",
"keywords": [
"node",
"nodejs",
"typescript",
"boilerplate",
"testing",
"linting",
"ci",
"package",
"npm"
],
"engines": {
"node": ">=8",
"npm": ">=6"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"typings"
],
"scripts": {
"lint": "eslint . --ext .js,.ts",
"build": "rm -rf ./dist && tsc --project tsconfig.prod.json",
"build-watch": "tsc --watch",
"test": "jest",
"typecheck": "tsc --noEmit",
"commit": "git-cz",
"release": "semantic-release"
},
"release": {
"branches": "main",
"dryRun": true,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
},
"jest": {
"preset": "ts-jest",
"moduleDirectories": [
"<rootDir>",
"<rootDir>/node_modules"
],
"testPathIgnorePatterns": [
"<rootDir>/artifacts/",
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"coverageDirectory": "./artifacts/coverage"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.(j|t)s{,x}": [
"pnpm run lint",
"pnpm test -- --bail --findRelatedTests"
]
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@commitlint/travis-cli": "^17.0.0",
"@types/jest": "^29.0.5",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"acorn": "^8.3.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"enquirer": "^2.3.6",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.0",
"jest": "^29.0.5",
"lint-staged": "^13.0.0",
"prettier": "^2.3.0",
"prettier-eslint": "^15.0.0",
"rxjs": "^7.1.0",
"semantic-release": "^19.0.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
}
}