-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
113 lines (113 loc) · 2.41 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
{
"name": "@natlibfi/marc-record-serializers",
"description": "Convert records to and from different MARC formats",
"contributors": [
{
"name": "The National Library of Finland"
},
{
"name": "Pasi Tuominen",
"email": "[email protected]"
}
],
"keywords": [],
"homepage": "https://github.com/natlibfi/marc-record-serializers",
"bugs": {
"url": "https://github.com/natlibfi/marc-record-serializers/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:natlibfi/marc-record-serializers.git"
},
"license": "MIT",
"version": "10.1.5",
"main": "./dist/index.js",
"bin": {
"marc-record-serializers": "dist/cli.js"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "npm run build",
"lint:base:dev": "eslint --fix",
"lint:base": "eslint",
"lint": "npm run lint:base -- src",
"lint:dev": "eslint --fix src",
"test:base": "cross-env NODE_ENV=test mocha --require=@babel/register src/*.spec.js",
"test": "npm run lint && npm run test:base",
"test:dev": "npm run lint:dev && npm run coverage",
"coverage": "npm run coverage:unit && npm run coverage:report",
"coverage:unit": "nyc --silent npm run test:base",
"coverage:report": "nyc report --reporter=text",
"build": "babel src --delete-dir-on-start --source-maps --out-dir=dist"
},
"dependencies": {
"@natlibfi/marc-record": "^9.1.2",
"@xmldom/xmldom": "^0.9.6",
"stream-json": "^1.9.1",
"xml2js": "^0.6.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"@natlibfi/eslint-config-melinda-backend": "^3.0.5",
"babel-plugin-istanbul": "^7.0.0",
"chai": "^4.5.0",
"cross-env": "^7.0.3",
"debug": "^4.4.0",
"eslint": "^8.57.1",
"mocha": "^11.0.1",
"nyc": "^17.1.0"
},
"eslintConfig": {
"extends": [
"@natlibfi/melinda-backend"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
],
"env": {
"test": {
"plugins": [
"istanbul"
]
}
}
},
"nyc": {
"include": [
"src/*.js"
],
"exclude": [
"*/*.spec.js",
"*/**/*.spec.js"
],
"reporter": [
"lcov",
"html"
],
"require": [
"@babel/register"
],
"sourceMap": false,
"instrument": false,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80
}
}