-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 1.78 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
{
"name": "koa-historify",
"version": "1.0.0",
"author": "CHOYSEN",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bugs": "https://github.com/CHOYSEN/koa-historify/issues",
"homepage": "https://github.com/CHOYSEN/koa-historify#readme",
"description": "HTML5 history middleware for Koa2.",
"scripts": {
"test": "vitest run",
"lint": "eslint . --ext .ts",
"format": "prettier --ignore-unknown --ignore-path .gitignore --write .",
"build": "tsc",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "https://github.com/CHOYSEN/koa-historify.git"
},
"files": [
"dist",
"README.md",
"README-zh_CN.md"
],
"keywords": [
"koa",
"koa2",
"html5",
"history",
"spa",
"single page application"
],
"dependencies": {
"koa-send": "^5.0.1"
},
"devDependencies": {
"@types/koa": "2.13.5",
"@types/koa-send": "4.1.3",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.30.6",
"@typescript-eslint/parser": "5.30.6",
"conventional-changelog-cli": "^2.2.2",
"eslint": "8.21.0",
"eslint-config-prettier": "8.5.0",
"koa": "2.13.4",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"simple-git-hooks": "^2.8.0",
"supertest": "6.2.4",
"typescript": "4.7.4",
"vitest": "0.18.1"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged && npm run test"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.ts": "eslint"
}
}