-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
175 lines (175 loc) · 4.13 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
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
167
168
169
170
171
172
173
174
175
{
"metapak": {
"configs": [
"main",
"readme",
"tsesm",
"eslint",
"jest",
"ghactions",
"coveralls"
],
"data": {
"files": "'src/**/*.ts'",
"testsFiles": "'src/**/*.test.ts'",
"distFiles": "'dist/**/*.js'",
"ignore": [
"dist"
],
"bundleFiles": [
"dist",
"src",
"bin"
]
}
},
"name": "metapak",
"version": "6.0.1",
"description": "Node modules authoring made easy.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"metapak": "bin/metapak.js"
},
"scripts": {
"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}",
"cover": "npm run jest -- --coverage",
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
"format": "npm run prettier",
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
"lint": "eslint 'src/**/*.ts'",
"metapak": "node bin/metapak.js",
"mocha": "mocha 'src/**/*.mocha.js'",
"precz": "npm run build && npm t && npm run lint && npm run metapak -- -s",
"prettier": "prettier --write 'src/**/*.ts'",
"preversion": "npm run build && npm t && npm run lint && npm run metapak -- -s",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"test": "npm run jest",
"type-check": "tsc --pretty --noEmit",
"version": "npm run changelog"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nfroidure/metapak.git"
},
"author": {
"name": "Nicolas Froidure",
"email": "[email protected]",
"url": "http://insertafter.com/en/index.html"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nfroidure/metapak/issues"
},
"homepage": "https://github.com/nfroidure/metapak#readme",
"dependencies": {
"application-services": "^6.1.0",
"chalk": "^5.3.0",
"commander": "^12.0.0",
"common-services": "^16.0.4",
"debug": "^4.3.5",
"diff": "^5.2.0",
"glob": "^11.0.0",
"knifecycle": "^17.0.3",
"mkdirp": "^3.0.1",
"pkg-dir": "^8.0.0",
"sort-keys": "^5.0.0",
"type-fest": "^4.21.0",
"yerror": "^8.0.0"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.6.13",
"@swc/helpers": "^0.5.12",
"@swc/jest": "^0.2.36",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"metapak-nfroidure": "18.2.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.3",
"typescript-eslint": "^7.16.0"
},
"engines": {
"node": ">=20.11.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"contributors": [],
"files": [
"dist",
"src",
"bin",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"greenkeeper": {
"ignore": [
"commitizen",
"cz-conventional-changelog",
"conventional-changelog-cli",
"typescript",
"rimraf",
"@swc/cli",
"@swc/core",
"@swc/helpers",
"eslint",
"prettier",
"eslint-config-prettier",
"eslint-plugin-prettier",
"typescript-eslint",
"jest",
"@swc/jest"
]
},
"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": {
"#(.*)": "<rootDir>/node_modules/$1",
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"prettierPath": null
},
"overrides": {
"eslint": "^9.7.0"
}
}