@natlibfi/fixugen-http-server 1.1.8 → 1.1.9-alpha.1
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "git@github.com:natlibfi/fixugen-http-server-js.git"
|
|
15
15
|
},
|
|
16
16
|
"license": "LGPL-3.0+",
|
|
17
|
-
"version": "1.1.
|
|
17
|
+
"version": "1.1.9-alpha.1",
|
|
18
18
|
"main": "dist/index.js",
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=18"
|
|
@@ -24,14 +24,16 @@
|
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"prepare": "npm run build",
|
|
27
|
-
"lint": "eslint src",
|
|
28
|
-
"lint:dev": "eslint --fix src",
|
|
29
|
-
"test:base": "cross-env NODE_ENV=test nyc mocha --require @babel/register",
|
|
30
|
-
"test": "npm run lint && npm run test:base -- src/*.spec.js && npm run coverage",
|
|
31
|
-
"test:dev": "npm run lint:dev && npm run test:base -- src/*.spec.js && npm run coverage",
|
|
32
|
-
"coverage": "nyc check-coverage --per-file",
|
|
33
27
|
"build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist",
|
|
34
|
-
"
|
|
28
|
+
"lint": "eslint ./src",
|
|
29
|
+
"lint:dev": "eslint --fix ./src",
|
|
30
|
+
"test": "npm run lint && npm run test:base",
|
|
31
|
+
"test:base": "cross-env NODE_ENV=test nyc mocha --package ./package.json",
|
|
32
|
+
"test:dev": "npm run lint:dev && npm run test:base",
|
|
33
|
+
"coverage": "nyc check-coverage --per-file",
|
|
34
|
+
"watch:test": "cross-env DEBUG=@natlibfi/* NODE_ENV=test nodemon",
|
|
35
|
+
"dev": "nodemon",
|
|
36
|
+
"dev:debug": "cross-env LOG_LEVEL=debug DEBUG=@natlibfi/* NODE_ENV=test nodemon"
|
|
35
37
|
},
|
|
36
38
|
"dependencies": {
|
|
37
39
|
"@natlibfi/fixugen": "^2.0.2",
|
|
@@ -75,16 +77,33 @@
|
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
},
|
|
80
|
+
"mocha": {
|
|
81
|
+
"spec": [
|
|
82
|
+
"src/*.spec.js",
|
|
83
|
+
"src/**/*.spec.js"
|
|
84
|
+
],
|
|
85
|
+
"require": [
|
|
86
|
+
"@babel/register"
|
|
87
|
+
],
|
|
88
|
+
"inline-diffs": true,
|
|
89
|
+
"maxDiffSize": 25000,
|
|
90
|
+
"bail": true,
|
|
91
|
+
"exit": true
|
|
92
|
+
},
|
|
93
|
+
"nodemonConfig": {
|
|
94
|
+
"exec": "npm run test:dev",
|
|
95
|
+
"watch": [
|
|
96
|
+
"src/*",
|
|
97
|
+
"test-fixtures/*"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
78
100
|
"nyc": {
|
|
79
101
|
"exclude": [
|
|
80
|
-
"
|
|
102
|
+
"src/*.spec.js",
|
|
103
|
+
"src/**/*.spec.js"
|
|
81
104
|
],
|
|
82
105
|
"reporter": [
|
|
83
|
-
"
|
|
84
|
-
"html"
|
|
85
|
-
],
|
|
86
|
-
"require": [
|
|
87
|
-
"@babel/register"
|
|
106
|
+
"text"
|
|
88
107
|
],
|
|
89
108
|
"sourceMap": false,
|
|
90
109
|
"instrument": false,
|