-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.27 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
{
"name": "@intlify/express",
"version": "0.0.0",
"description": "intlify for express middleware",
"keywords": [
"i18n",
"middleware",
"intlify",
"express",
"expressjs"
],
"author": {
"name": "kazuya kawaguchi",
"email": "kawakazu80@gmail.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/intlify/express/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/intlify/express.git"
},
"homepage": "https://github.com/intlify/express#readme",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">= 18"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"lint-staged": {
"*.{json,md,yml}": [
"prettier --write"
],
"*.{js}": [
"prettier --write",
"eslint --fix --ext .js"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint --fix --ext .ts"
]
},
"scripts": {
"prepare": "git config --local core.hooksPath .githooks",
"changelog": "gh-changelogen --repo=intlify/express",
"release": "bumpp --commit \"release: v%s\" --push --tag",
"build": "unbuild",
"fix": "run-p lint:fix format:fix",
"format": "prettier --config .prettierrc.mjs --ignore-path .prettierignore --list-different '**/*.{js,json,html,md}'",
"format:fix": "pnpm format --write",
"lint": "eslint --cache --ext .js,.ts,.json .",
"lint:fix": "pnpm lint --fix",
"test": "vitest run",
"test:coverage": "npm test -- --reporter verbose --coverage"
},
"devDependencies": {
"@types/node": "^20.6.0",
"@vitest/coverage-v8": "^0.34.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"bumpp": "^9.2.0",
"gh-changelogen": "^0.2.8",
"npm-run-all2": "^5.0.0",
"lint-staged": "^14.0.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.4"
}
}