|
1 | 1 | {
|
2 |
| - "name": "@natlibfi/melinda-rest-api-commons", |
3 |
| - "description": "Shared modules for microservices of Melinda rest api import system", |
4 |
| - "author": { |
5 |
| - "name": "The National Library of Finland" |
6 |
| - }, |
7 |
| - "keywords": [], |
8 |
| - "homepage": "https://github.com/natlibfi/melinda-rest-api-commons", |
9 |
| - "bugs": { |
10 |
| - "url": "https://github.com/natlibfi/melinda-rest-api-commons/issues" |
11 |
| - }, |
12 |
| - "repository": { |
13 |
| - "type": "git", |
14 |
| - "url": "[email protected]:natlibfi/melinda-rest-api-commons.git" |
15 |
| - }, |
16 |
| - "license": "AGPL-3.0+", |
17 |
| - "version": "4.0.15", |
18 |
| - "main": "./dist/index.js", |
19 |
| - "engines": { |
20 |
| - "node": ">=18" |
21 |
| - }, |
22 |
| - "publishConfig": { |
23 |
| - "access": "public" |
24 |
| - }, |
25 |
| - "scripts": { |
26 |
| - "prepare": "npm run build", |
27 |
| - "lint": "eslint ./src", |
28 |
| - "lint:dev": "eslint ./src --fix", |
29 |
| - "test": "npm run lint && npm run test:base -- src/**/*.spec.js", |
30 |
| - "test:dev": "npm run lint:dev && npm run test:base -- src/**/*.spec.js", |
31 |
| - "test:base": "cross-env NODE_ENV=test nyc mocha --require @babel/register --exclude src/amqp.health.spec.js --exclude src/amqp.tests.spec.js", |
32 |
| - "test:local": "cross-env NODE_ENV=test nyc mocha --require @babel/register -- src/amqp.*.spec.js", |
33 |
| - "test:healthcheck": "cross-env NODE_ENV=test nyc mocha --require @babel/register -- src/amqp.health.spec.js", |
34 |
| - "coverage": "npm run cover:unit && npm run cover:report", |
35 |
| - "cover:unit": "nyc --silent npm run test", |
36 |
| - "cover:report": "nyc report --reporter=lcov --reporter=text", |
37 |
| - "dev": "NODE_ENV=development cross-env DEBUG='@natlibfi/*' nodemon", |
38 |
| - "build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist" |
39 |
| - }, |
40 |
| - "dependencies": { |
41 |
| - "@natlibfi/marc-record": "^7.3.1", |
42 |
| - "@natlibfi/marc-record-serializers": "^10.1.1", |
43 |
| - "@natlibfi/marc-record-validate": "^8.0.1", |
44 |
| - "@natlibfi/marc-record-validators-melinda": "^10.13.0", |
45 |
| - "@natlibfi/melinda-backend-commons": "^2.2.1", |
46 |
| - "@natlibfi/melinda-commons": "^13.0.6", |
47 |
| - "amqplib": "^0.10.3", |
48 |
| - "debug": "^4.3.4", |
49 |
| - "http-status": "^1.7.0", |
50 |
| - "moment": "^2.29.4", |
51 |
| - "mongo-sanitize": "^1.1.0", |
52 |
| - "mongodb": "^4.17.1" |
53 |
| - }, |
54 |
| - "devDependencies": { |
55 |
| - "@babel/cli": "^7.22.15", |
56 |
| - "@babel/core": "^7.22.20", |
57 |
| - "@babel/plugin-transform-runtime": "7.22.15", |
58 |
| - "@babel/preset-env": "^7.22.20", |
59 |
| - "@natlibfi/eslint-config-melinda-backend": "^3.0.2", |
60 |
| - "@natlibfi/fixugen": "^2.0.1", |
61 |
| - "@natlibfi/fixura": "^3.0.1", |
62 |
| - "babel-plugin-istanbul": "^6.1.1", |
63 |
| - "babel-plugin-rewire": "^1.2.0", |
64 |
| - "chai": "^4.3.8", |
65 |
| - "cross-env": "^7.0.3", |
66 |
| - "eslint": "^8.49.0", |
67 |
| - "mocha": "^10.2.0", |
68 |
| - "nodemon": "^3.0.1", |
69 |
| - "nyc": "^15.1.0" |
70 |
| - }, |
71 |
| - "eslintConfig": { |
72 |
| - "extends": "@natlibfi/melinda-backend" |
73 |
| - }, |
74 |
| - "babel": { |
75 |
| - "presets": [ |
76 |
| - [ |
77 |
| - "@babel/preset-env", |
78 |
| - { |
79 |
| - "targets": "maintained node versions" |
80 |
| - } |
81 |
| - ] |
82 |
| - ], |
83 |
| - "plugins": [ |
84 |
| - [ |
85 |
| - "@babel/transform-runtime" |
86 |
| - ] |
87 |
| - ], |
88 |
| - "env": { |
89 |
| - "test": { |
90 |
| - "plugins": [ |
91 |
| - "istanbul", |
92 |
| - "rewire" |
93 |
| - ] |
94 |
| - } |
| 2 | + "name": "@natlibfi/melinda-rest-api-commons", |
| 3 | + "description": "Shared modules for microservices of Melinda rest api import system", |
| 4 | + "author": { |
| 5 | + "name": "The National Library of Finland" |
| 6 | + }, |
| 7 | + "keywords": [], |
| 8 | + "homepage": "https://github.com/natlibfi/melinda-rest-api-commons", |
| 9 | + "bugs": { |
| 10 | + "url": "https://github.com/natlibfi/melinda-rest-api-commons/issues" |
| 11 | + }, |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "[email protected]:natlibfi/melinda-rest-api-commons.git" |
| 15 | + }, |
| 16 | + "license": "AGPL-3.0+", |
| 17 | + "version": "4.0.17-alpha.3", |
| 18 | + "main": "./dist/index.js", |
| 19 | + "engines": { |
| 20 | + "node": ">=18" |
| 21 | + }, |
| 22 | + "publishConfig": { |
| 23 | + "access": "public" |
| 24 | + }, |
| 25 | + "scripts": { |
| 26 | + "prepare": "npm run build", |
| 27 | + "lint": "eslint ./src", |
| 28 | + "lint:dev": "eslint ./src --fix", |
| 29 | + "test": "npm run lint && npm run test:base -- src/**/*.spec.js src/*.spec.js", |
| 30 | + "test:dev": "npm run lint:dev && npm run test:base -- src/**/*.spec.js", |
| 31 | + "test:base": "cross-env NODE_ENV=test nyc mocha --package ./package.json --exclude src/amqp.health.spec.js --exclude src/amqp.tests.spec.js", |
| 32 | + "test:local": "cross-env NODE_ENV=test nyc mocha --package ./package.json -- src/amqp.*.spec.js", |
| 33 | + "test:healthcheck": "cross-env NODE_ENV=test nyc mocha --require @babel/register -- src/amqp.health.spec.js", |
| 34 | + "coverage": "npm run cover:unit && npm run cover:report", |
| 35 | + "cover:unit": "nyc --silent npm run test", |
| 36 | + "cover:report": "nyc report --reporter=lcov --reporter=text", |
| 37 | + "dev": "NODE_ENV=development cross-env DEBUG='@natlibfi/*' nodemon", |
| 38 | + "build": "babel src --source-maps --copy-files --delete-dir-on-start --out-dir=dist" |
| 39 | + }, |
| 40 | + "dependencies": { |
| 41 | + "@natlibfi/marc-record": "^8.0.0", |
| 42 | + "@natlibfi/marc-record-serializers": "^10.1.1", |
| 43 | + "@natlibfi/marc-record-validate": "^8.0.1", |
| 44 | + "@natlibfi/marc-record-validators-melinda": "^10.13.0", |
| 45 | + "@natlibfi/melinda-backend-commons": "^2.2.1", |
| 46 | + "@natlibfi/melinda-commons": "^13.0.6", |
| 47 | + "amqplib": "^0.10.3", |
| 48 | + "debug": "^4.3.4", |
| 49 | + "http-status": "^1.7.0", |
| 50 | + "moment": "^2.29.4", |
| 51 | + "mongo-sanitize": "^1.1.0", |
| 52 | + "mongodb": "^4.17.1" |
| 53 | + }, |
| 54 | + "devDependencies": { |
| 55 | + "@babel/cli": "^7.22.15", |
| 56 | + "@babel/core": "^7.22.20", |
| 57 | + "@babel/plugin-transform-runtime": "^7.22.15", |
| 58 | + "@babel/preset-env": "^7.22.20", |
| 59 | + "@natlibfi/eslint-config-melinda-backend": "^3.0.2", |
| 60 | + "@natlibfi/fixugen": "^2.0.1", |
| 61 | + "@natlibfi/fixura": "^3.0.1", |
| 62 | + "@natlibfi/fixura-mongo": "^2.0.10-alpha.1", |
| 63 | + "babel-plugin-istanbul": "^6.1.1", |
| 64 | + "babel-plugin-rewire": "^1.2.0", |
| 65 | + "chai": "^4.3.8", |
| 66 | + "cross-env": "^7.0.3", |
| 67 | + "eslint": "^8.49.0", |
| 68 | + "mocha": "^10.2.0", |
| 69 | + "nodemon": "^3.0.1", |
| 70 | + "nyc": "^15.1.0" |
| 71 | + }, |
| 72 | + "eslintConfig": { |
| 73 | + "extends": "@natlibfi/melinda-backend" |
| 74 | + }, |
| 75 | + "babel": { |
| 76 | + "presets": [ |
| 77 | + [ |
| 78 | + "@babel/preset-env", |
| 79 | + { |
| 80 | + "targets": "maintained node versions" |
95 | 81 | }
|
96 |
| - }, |
97 |
| - "nyc": { |
98 |
| - "exclude": [ |
99 |
| - "**/*.spec.js" |
100 |
| - ], |
101 |
| - "reporter": [ |
102 |
| - "lcov", |
103 |
| - "html" |
104 |
| - ], |
105 |
| - "require": [ |
106 |
| - "@babel/register" |
107 |
| - ], |
108 |
| - "sourceMap": false, |
109 |
| - "instrument": false, |
110 |
| - "lines": 80, |
111 |
| - "statements": 80, |
112 |
| - "functions": 80, |
113 |
| - "branches": 80 |
114 |
| - }, |
115 |
| - "nodemonConfig": { |
116 |
| - "exec": "npm run test:dev", |
117 |
| - "watch": [ |
118 |
| - "src/*" |
119 |
| - ], |
120 |
| - "ext": "js", |
121 |
| - "delay": 2.5 |
| 82 | + ] |
| 83 | + ], |
| 84 | + "plugins": [ |
| 85 | + [ |
| 86 | + "@babel/transform-runtime" |
| 87 | + ] |
| 88 | + ], |
| 89 | + "env": { |
| 90 | + "test": { |
| 91 | + "plugins": [ |
| 92 | + "istanbul", |
| 93 | + "rewire" |
| 94 | + ] |
| 95 | + } |
122 | 96 | }
|
| 97 | + }, |
| 98 | + "mocha": { |
| 99 | + "spec": [ |
| 100 | + "src/*.spec.js" |
| 101 | + ], |
| 102 | + "require": [ |
| 103 | + "@babel/register" |
| 104 | + ], |
| 105 | + "inline-diffs": true, |
| 106 | + "maxDiffSize": 25000, |
| 107 | + "bail": true, |
| 108 | + "exit": true |
| 109 | + }, |
| 110 | + "nyc": { |
| 111 | + "exclude": [ |
| 112 | + "**/*.spec.js" |
| 113 | + ], |
| 114 | + "reporter": [ |
| 115 | + "text" |
| 116 | + ], |
| 117 | + "require": [ |
| 118 | + "@babel/register" |
| 119 | + ], |
| 120 | + "sourceMap": false, |
| 121 | + "instrument": false, |
| 122 | + "lines": 80, |
| 123 | + "statements": 80, |
| 124 | + "functions": 80, |
| 125 | + "branches": 80 |
| 126 | + }, |
| 127 | + "nodemonConfig": { |
| 128 | + "exec": "npm run test:dev", |
| 129 | + "watch": [ |
| 130 | + "src/*" |
| 131 | + ], |
| 132 | + "ext": "js", |
| 133 | + "delay": 2.5 |
| 134 | + } |
123 | 135 | }
|
0 commit comments