json-rest-api 1.0.11 → 1.0.14
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/eslint.config.js +4 -0
- package/package.json +9 -5
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-rest-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"test:anyapi": "JSON_REST_API_STORAGE=anyapi node --test tests/*.test.js",
|
|
9
9
|
"docs": "node scripts/run-docs.js",
|
|
10
10
|
"sloc": "sloc --exclude \"(_site|node_modules|\\.git|vendor|docs)\" .",
|
|
11
|
-
"slod": "cd docs;echo 'DOC LINES:'; cat `find . -iname \\*md | grep -v _site | grep -v vendor` | wc"
|
|
11
|
+
"slod": "cd docs;echo 'DOC LINES:'; cat `find . -iname \\*md | grep -v _site | grep -v vendor` | wc",
|
|
12
|
+
"lint": "eslint .",
|
|
13
|
+
"lint:fix": "eslint . --fix"
|
|
12
14
|
},
|
|
13
15
|
"repository": {
|
|
14
16
|
"type": "git",
|
|
@@ -22,8 +24,8 @@
|
|
|
22
24
|
"homepage": "https://mobily-enterprises.github.io/json-rest-api",
|
|
23
25
|
"description": "REST API plugin for hooked-api with JSON:API compliance",
|
|
24
26
|
"dependencies": {
|
|
25
|
-
"hooked-api": "^1.0.
|
|
26
|
-
"json-rest-schema": "^1.0.
|
|
27
|
+
"hooked-api": "^1.0.23",
|
|
28
|
+
"json-rest-schema": "^1.0.11",
|
|
27
29
|
"semver": "^7.7.2"
|
|
28
30
|
},
|
|
29
31
|
"peerDependencies": {
|
|
@@ -84,6 +86,8 @@
|
|
|
84
86
|
"redis": "^5.6.0",
|
|
85
87
|
"socket.io": "^4.8.1",
|
|
86
88
|
"socket.io-client": "^4.8.1",
|
|
87
|
-
"supertest": "^7.1.3"
|
|
89
|
+
"supertest": "^7.1.3",
|
|
90
|
+
"eslint": "^9.37.0",
|
|
91
|
+
"neostandard": "^0.12.2"
|
|
88
92
|
}
|
|
89
93
|
}
|