@ladjs/web 13.0.2 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -9
- package/package.json +13 -50
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# [**@ladjs/web**](https://github.com/ladjs/web)
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/ladjs/web)
|
|
4
|
-
[](https://codecov.io/gh/ladjs/web)
|
|
5
4
|
[](https://github.com/sindresorhus/xo)
|
|
6
5
|
[](https://github.com/prettier/prettier)
|
|
7
6
|
[](https://lass.js.org)
|
|
@@ -26,12 +25,6 @@
|
|
|
26
25
|
npm install @ladjs/web
|
|
27
26
|
```
|
|
28
27
|
|
|
29
|
-
[yarn][]:
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
yarn add @ladjs/web
|
|
33
|
-
```
|
|
34
|
-
|
|
35
28
|
|
|
36
29
|
## Usage
|
|
37
30
|
|
|
@@ -53,5 +46,3 @@ See <https://github.com/ladjs/lad/blob/master/template/web.js> for the most up t
|
|
|
53
46
|
##
|
|
54
47
|
|
|
55
48
|
[npm]: https://www.npmjs.com/
|
|
56
|
-
|
|
57
|
-
[yarn]: https://yarnpkg.com/
|
package/package.json
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ladjs/web",
|
|
3
3
|
"description": "Web server for Lad",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "14.0.0",
|
|
5
5
|
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
|
6
|
-
"ava": {
|
|
7
|
-
"failFast": true,
|
|
8
|
-
"verbose": true
|
|
9
|
-
},
|
|
10
6
|
"bugs": {
|
|
11
7
|
"url": "https://github.com/ladjs/web/issues",
|
|
12
8
|
"email": "niftylettuce@gmail.com"
|
|
13
9
|
},
|
|
14
|
-
"commitlint": {
|
|
15
|
-
"extends": [
|
|
16
|
-
"@commitlint/config-conventional"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
10
|
"contributors": [
|
|
20
11
|
"Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
|
|
21
12
|
],
|
|
@@ -40,7 +31,7 @@
|
|
|
40
31
|
"koa": "^2.13.4",
|
|
41
32
|
"koa-404-handler": "^0.1.0",
|
|
42
33
|
"koa-basic-auth": "^4.0.0",
|
|
43
|
-
"koa-better-error-handler": "^
|
|
34
|
+
"koa-better-error-handler": "^9.0.0",
|
|
44
35
|
"koa-better-flash": "^0.0.4",
|
|
45
36
|
"koa-better-timeout": "^0.0.6",
|
|
46
37
|
"koa-bodyparser": "^4.3.0",
|
|
@@ -57,7 +48,7 @@
|
|
|
57
48
|
"koa-meta": "^3.0.2",
|
|
58
49
|
"koa-methodoverride": "^2.0.0",
|
|
59
50
|
"koa-no-trailing-slash": "^2.1.0",
|
|
60
|
-
"koa-redirect-loop": "^
|
|
51
|
+
"koa-redirect-loop": "^2.0.0",
|
|
61
52
|
"koa-redis": "^4.0.1",
|
|
62
53
|
"koa-views": "^8.0.0",
|
|
63
54
|
"lodash": "^4.17.21",
|
|
@@ -69,35 +60,28 @@
|
|
|
69
60
|
"devDependencies": {
|
|
70
61
|
"@commitlint/cli": "^17.0.2",
|
|
71
62
|
"@commitlint/config-conventional": "^17.0.2",
|
|
72
|
-
"@ladjs/passport": "^5.0.
|
|
63
|
+
"@ladjs/passport": "^5.0.1",
|
|
73
64
|
"ava": "^4.3.0",
|
|
74
|
-
"codecov": "^3.8.3",
|
|
75
65
|
"cross-env": "^7.0.3",
|
|
76
|
-
"eslint": "^8.
|
|
77
|
-
"eslint-config-xo-lass": "^
|
|
66
|
+
"eslint": "^8.17.0",
|
|
67
|
+
"eslint-config-xo-lass": "^2.0.1",
|
|
78
68
|
"fixpack": "^4.0.0",
|
|
79
69
|
"husky": "^8.0.1",
|
|
80
70
|
"lint-staged": "^13.0.0",
|
|
81
71
|
"nyc": "^15.1.0",
|
|
82
72
|
"pug": "^3.0.2",
|
|
83
73
|
"remark-cli": "^10.0.1",
|
|
84
|
-
"remark-preset-github": "^4.0.
|
|
74
|
+
"remark-preset-github": "^4.0.4",
|
|
85
75
|
"supertest": "^6.2.3",
|
|
86
76
|
"xo": "^0.49.0"
|
|
87
77
|
},
|
|
88
78
|
"engines": {
|
|
89
|
-
"node": ">=
|
|
79
|
+
"node": ">=14"
|
|
90
80
|
},
|
|
91
81
|
"files": [
|
|
92
82
|
"index.js"
|
|
93
83
|
],
|
|
94
84
|
"homepage": "https://github.com/ladjs/web",
|
|
95
|
-
"husky": {
|
|
96
|
-
"hooks": {
|
|
97
|
-
"pre-commit": "lint-staged && npm test",
|
|
98
|
-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
85
|
"keywords": [
|
|
102
86
|
"boilerplate",
|
|
103
87
|
"express",
|
|
@@ -115,36 +99,15 @@
|
|
|
115
99
|
],
|
|
116
100
|
"license": "MIT",
|
|
117
101
|
"main": "index.js",
|
|
118
|
-
"prettier": {
|
|
119
|
-
"singleQuote": true,
|
|
120
|
-
"bracketSpacing": true,
|
|
121
|
-
"trailingComma": "none"
|
|
122
|
-
},
|
|
123
|
-
"remarkConfig": {
|
|
124
|
-
"plugins": [
|
|
125
|
-
"preset-github"
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
102
|
"repository": {
|
|
129
103
|
"type": "git",
|
|
130
104
|
"url": "https://github.com/ladjs/web"
|
|
131
105
|
},
|
|
132
106
|
"scripts": {
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"test": "
|
|
138
|
-
"test-coverage": "npm run lint && npm run nyc"
|
|
139
|
-
},
|
|
140
|
-
"xo": {
|
|
141
|
-
"prettier": true,
|
|
142
|
-
"space": true,
|
|
143
|
-
"extends": [
|
|
144
|
-
"xo-lass"
|
|
145
|
-
],
|
|
146
|
-
"ignores": [
|
|
147
|
-
"config.js"
|
|
148
|
-
]
|
|
107
|
+
"lint": "xo && remark . -qfo && fixpack",
|
|
108
|
+
"prepare": "husky install",
|
|
109
|
+
"pretest": "npm run lint",
|
|
110
|
+
"test": "npm run test-coverage",
|
|
111
|
+
"test-coverage": "cross-env NODE_ENV=test nyc ava"
|
|
149
112
|
}
|
|
150
113
|
}
|