-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.07 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.07 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
{
"name": "subjects-api",
"version": "0.3.0",
"description": "API to provide co-occurrences based on the K10plus catalog.",
"main": "server.js",
"type": "module",
"author": "Stefan Peters <stefan.peters@gbv.de>",
"license": "MIT",
"homepage": "https://github.com/gbv/subjects-api#readme",
"bugs": {
"url": "https://github.com/gbv/subjects-api/issues"
},
"scripts": {
"dev": "nodemon --watch .env --watch src/ --watch '*.json' server.js",
"test": "NODE_ENV=test mocha --exit",
"start": "NODE_ENV=production node server.js",
"lint": "eslint",
"fix": "eslint --fix",
"import": "./bin/import.js",
"add-vocabulary-apis": "node ./bin/add-vocabulary-apis.js",
"yesno": "node -e \"const yesno = require('yesno'); yesno({ question: 'Are you sure you want to continue?' }).then(ok => process.exit(ok ? 0 : 1));\"",
"release": "test $(git rev-parse --abbrev-ref HEAD) = dev && git pull && npm test && npm version $SEMVER && npm run --silent yesno && (git push && git checkout main && git merge dev && git push --follow-tags && git checkout dev) || (git tag -d $(git describe --tags) && git reset --hard HEAD~1)",
"release:patch": "SEMVER=patch npm run release",
"release:minor": "SEMVER=minor npm run release",
"release:major": "SEMVER=major npm run release",
"prepare": "husky || true"
},
"lint-staged": {
"**/*.js": [
"eslint --ignore-path .gitignore --fix"
],
".eslintrc.cjs": [
"eslint --fix"
]
},
"dependencies": {
"better-sqlite3": "^11.6.0",
"csv-parser": "^3.0.0",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.21.1",
"jskos-tools": "^1.0.42",
"neo4j-driver-lite": "^5.26.0",
"node-fetch": "^3.3.2",
"nodemon": "^3.1.7",
"portfinder": "^1.0.32"
},
"devDependencies": {
"@testcontainers/neo4j": "^10.15.0",
"chai": "^5.1.2",
"chai-http": "^5.1.1",
"eslint": "~9.14",
"eslint-config-gbv": "~2.4",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"mocha": "^10.8.2",
"standard-readme": "^2.0.4",
"yesno": "^0.4.0"
}
}