-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
166 lines (166 loc) · 4.15 KB
/
Copy pathpackage.json
File metadata and controls
166 lines (166 loc) · 4.15 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"metapak": {
"configs": [
"main",
"readme",
"tsesm",
"eslint",
"jest",
"ghactions",
"jsdocs",
"jsarch",
"codeclimate"
],
"data": {
"files": "'src/**/*.ts'",
"testsFiles": "'src/**/*.test.ts'",
"distFiles": "'dist/**/*.js'",
"ignore": [
"dist"
],
"bundleFiles": [
"dist",
"src"
]
}
},
"name": "knifecycle",
"version": "21.4.0",
"description": "Manage your NodeJS processes's lifecycle automatically with an unobtrusive dependency injection implementation.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/nfroidure/knifecycle.git"
},
"engines": {
"node": ">=24.14.0"
},
"files": [
"dist",
"src",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"architecture": "jsarch 'src/**/*.ts' > ARCHITECTURE.md && git add ARCHITECTURE.md",
"build": "rimraf 'dist' && tsc --outDir dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
"commitlint": "commitlint",
"cover": "node --run jest -- --coverage",
"doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md",
"format": "node --run prettier",
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
"lint": "eslint 'src/**/*.ts'",
"metapak": "metapak",
"precommit": "node --run test && node --run lint && node --run metapak -- -s && node --run build && node --run doc && node --run architecture",
"prepublish": "npm run build",
"prettier": "prettier --write 'src/**/*.ts'",
"preversion": "node --run build && node --run lint && node --run test && node --run doc && node --run architecture && node --run metapak -- -s",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"test": "node --run jest",
"version": "node --run changelog"
},
"keywords": [
"process",
"lifecycle",
"shutdown",
"dependencies",
"service",
"knifecycle"
],
"author": {
"name": "Nicolas Froidure",
"email": "nicolas.froidure@insertafter.com",
"url": "http://insertafter.com/en/index.html"
},
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^21.0.1",
"@commitlint/config-conventional": "^21.0.1",
"@eslint/js": "^10.0.1",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.33",
"@swc/jest": "^0.2.39",
"@types/debug": "^4.1.13",
"conventional-changelog": "^7.2.0",
"eslint": "^10.4.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.2",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^30.4.2",
"jsarch": "^7.1.2",
"jsdoc-to-markdown": "^9.1.3",
"metapak": "7.1.1",
"metapak-nfroidure": "22.1.3",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.3"
},
"dependencies": {
"debug": "^4.4.3",
"yerror": "^11.0.0"
},
"contributors": [],
"bugs": {
"url": "https://github.com/nfroidure/knifecycle/issues"
},
"homepage": "https://github.com/nfroidure/knifecycle#readme",
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"jest": {
"coverageReporters": [
"lcov"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{}
]
},
"testEnvironment": "node",
"moduleNameMapper": {
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
]
},
"jsarch": {
"parserOptions": {
"plugins": [
"typescript"
]
}
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/nfroidure"
},
"overrides": {
"typescript-eslint": {
"typescript": "^6"
},
"@typescript-eslint/eslint-plugin": {
"typescript": "^6"
},
"@typescript-eslint/parser": {
"typescript": "^6"
}
}
}