-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.2 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 4.2 KB
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
{
"name": "@natlibfi/identifier-services-api",
"description": "Identifier Services API",
"author": {
"name": "The National Library of Finland"
},
"keywords": [],
"homepage": "https://github.com/natlibfi/identifier-services-api",
"bugs": {
"url": "https://github.com/natlibfi/identifier-services-api/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:NatLibFi/identifier-services-api.git"
},
"license": "GPL-3.0-only",
"private": true,
"version": "3.0.0-alpha.3",
"main": "./dist/index.js",
"engines": {
"node": ">=22"
},
"scripts": {
"start": "node ./dist/index",
"lint:apidoc": "redocly lint apidoc/openapi.yaml",
"lint:dev": "eslint --fix -- src",
"lint": "eslint -- src",
"test:base": "DOTENV_CONFIG_PATH=test-fixtures/test-environment mocha -r dotenv/config -t 20000 --exit --require @babel/register",
"test:coverage": "nyc --reporter=text npm run test:base -- src/routes/**/*.spec.js src/routes/**/**/*.spec.js src/interfaces/**/*.spec.js src/interfaces/**/**/*spec.js",
"test": "npm run test:base -- -b src/routes/**/*.spec.js src/routes/**/**/*.spec.js src/interfaces/**/*.spec.js src/interfaces/**/**/*spec.js",
"test:isbn-registry-routes": "npm run test:base -- -b src/routes/isbn-registry/**/*spec.js src/routes/isbn-registry/*spec.js src/interfaces/isbn-registry/*.spec.js src/interfaces/isbn-registry/**/*spec.js",
"test:issn-registry-routes": "npm run test:base -- -b src/routes/issn-registry/**/*spec.js src/routes/issn-registry/*spec.js src/interfaces/issn-registry/*.spec.js src/interfaces/issn-registry/**/*spec.js",
"test:common-routes": "npm run test:base -- -b src/routes/common/*spec.js",
"test:public-routes": "npm run test:base -- -b src/routes/public/*spec.js",
"build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist --minified && npm run build:apidoc",
"build:apidoc": "redocly bundle apidoc/openapi.yaml -o dist/public/openapi.json --ext json",
"build:apidoc-dev": "redocly bundle apidoc/openapi.yaml -o src/public/openapi.json",
"watch:dev": "DOTENV_CONFIG_PATH=.env.dev nodemon -r dotenv/config -w apidoc -w src --ignore 'src/public/openapi.json' --exec 'npm run build:apidoc-dev && babel-node src/index.js'"
},
"dependencies": {
"@babel/runtime": "^7.28.6",
"@json2csv/plainjs": "^7.0.6",
"@natlibfi/marc-record": "^10.0.1",
"@natlibfi/marc-record-serializers": "^11.0.1",
"@natlibfi/melinda-backend-commons": "^3.0.4",
"@natlibfi/melinda-rest-api-client": "^6.0.3",
"@natlibfi/passport-natlibfi-keycloak": "^3.0.11",
"@natlibfi/sru-client": "^7.0.1",
"body-parser": "^2.2.2",
"celebrate": "^15.0.3",
"cors": "^2.8.6",
"excel4node": "^1.8.2",
"express": "^4.21.2",
"html-to-text": "^9.0.4",
"http-status": "^2.1.0",
"luxon": "^3.6.1",
"mysql2": "^3.16.2",
"nodemailer": "^8.0.1",
"sequelize": "^6.37.7"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/eslint-parser": "^7.28.6",
"@babel/node": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/register": "^7.28.6",
"@natlibfi/fixura": "^4.0.0",
"@redocly/cli": "^2.15.0",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"base-64": "^1.0.0",
"chai": "^4.5.0",
"chai-http": "^4.4.0",
"dotenv": "^17.2.2",
"eslint": "^9.39.1",
"eslint-plugin-functional": "^9.0.2",
"mariadb": "^3.4.1",
"mocha": "^11.7.2",
"nock": "^14.0.4",
"nodemon": "^3.1.9",
"nyc": "^17.1.0",
"sqlite3": "npm:@vscode/sqlite3@^5.1.12-vscode"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"nyc": {
"exclude": [
"*/*spec.js",
"**/*.spec.js",
"**/**/*spec.js",
"src/middlewares/turnstile.js"
],
"reporter": [
"lcov"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80
}
}