-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 3.18 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "@natlibfi/melinda-rest-api-validator",
"description": "API microservice of Melinda record batch import system",
"author": {
"name": "The National Library of Finland"
},
"keywords": [],
"homepage": "https://github.com/NatLibFi/melinda-rest-api-validator",
"bugs": {
"url": "https://github.com/NatLibFi/melinda-rest-api-validator/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:NatLibFi/melinda-rest-api-validator.git"
},
"license": "MIT",
"version": "3.8.0",
"main": "./dist/index.js",
"engines": {
"node": ">=18"
},
"private": true,
"scripts": {
"start": "node ./dist/index",
"start:dev": "babel-node ./src/index",
"lint": "eslint src",
"lint:dev": "eslint --fix src",
"test:base": "cross-env NODE_ENV=test nyc mocha --require @babel/register",
"test": "npm run lint && npm run test:base -- src/**/*.spec.js && npm run coverage",
"test:dev": "npm run lint:dev && npm run test:base -- src/**/*.spec.js",
"_test:dev": "npm run lint:dev && npm run test:base -- src/**/*.spec.js && npm run coverage",
"coverage": "nyc check-coverage --per-file --reporter=text",
"build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist --minified",
"dev": "NODE_ENV=development cross-env nodemon"
},
"dependencies": {
"@babel/runtime": "^7.26.9",
"@natlibfi/marc-record": "^9.1.3",
"@natlibfi/marc-record-merge": "^7.0.8",
"@natlibfi/marc-record-serializers": "^10.1.5",
"@natlibfi/melinda-backend-commons": "^2.3.6",
"@natlibfi/melinda-commons": "^13.0.19",
"@natlibfi/melinda-marc-record-merge-reducers": "^2.3.7",
"@natlibfi/melinda-record-match-validator": "^2.2.5",
"@natlibfi/melinda-record-matching": "^4.3.4",
"@natlibfi/melinda-rest-api-commons": "^4.2.4",
"@natlibfi/sru-client": "^6.0.17",
"debug": "^4.4.0",
"deep-eql": "^4.1.4",
"deep-object-diff": "^1.1.9",
"http-status": "^2.1.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.9",
"@babel/node": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.26.9",
"@babel/preset-env": "^7.26.9",
"@babel/register": "^7.25.9",
"@natlibfi/eslint-config-melinda-backend": "^3.0.5",
"@natlibfi/fixugen": "^2.0.12",
"@natlibfi/fixura": "^3.0.11",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-rewire": "^1.2.0",
"chai": "^4.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"mocha": "^11.1.0",
"nodemon": "^3.1.9",
"nyc": "^17.1.0"
},
"overrides": {
"nanoid": "^3.3.8"
},
"eslintConfig": {
"extends": "@natlibfi/melinda-backend"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
],
"plugins": [
[
"@babel/transform-runtime"
]
],
"env": {
"test": {
"plugins": [
"istanbul",
"rewire"
]
}
}
},
"nyc": {
"include": [
"src/**/*.js",
"src/*.js"
],
"exclude": [
"**/*.spec.js",
"src/utils.js"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80
},
"nodemonConfig": {
"exec": "npm run test:dev && npm run start:dev",
"watch": [
"src/*"
],
"ext": "js",
"delay": 2.5
}
}