-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
91 lines (91 loc) · 2.39 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
{
"name": "wikidata-jskos",
"version": "0.5.4",
"apiVersion": "2.0",
"description": "Access Wikidata in JSKOS format",
"type": "module",
"exports": "./server.js",
"engines": {
"node": ">=18"
},
"bin": {
"wdjskos": "./bin/wdjskos"
},
"scripts": {
"start": "nodemon server.js",
"server": "node server.js",
"update": "./bin/wdjskos update && cp cache/mapping-schemes.ndjson assets",
"test": "mocha --timeout 30000",
"test-watch": "mocha --watch",
"lint": "eslint",
"fix": "eslint --fix",
"lint-staged": "lint-staged",
"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"
},
"files": [
"lib/*",
"assets/*",
"test/*",
"scripts/*",
"bin/*",
"*.md",
"*.js",
"*.json"
],
"lint-staged": {
"src/**/*.js": [
"eslint --fix"
],
"src/*.js": [
"eslint --fix"
]
},
"pre-commit": [
"lint-staged"
],
"repository": {
"type": "git",
"url": "https://github.com/gbv/wikidata-jskos"
},
"bugs": {
"url": "https://github.com/gbv/wikidata-jskos/issues"
},
"homepage": "https://github.com/gbv/wikidata-jskos",
"keywords": [
"wikidata",
"jskos",
"skos"
],
"author": "Jakob Voß",
"license": "MIT",
"devDependencies": {
"chai": "^5.1.2",
"chai-http": "^5.1.1",
"eslint": "~9.14",
"eslint-config-gbv": "~2.4",
"lint-staged": "^15.2.10",
"mocha": "^10.8.2",
"pre-commit": "^1.2.2",
"yesno": "^0.4.0"
},
"dependencies": {
"chalk": "^5.3.0",
"debug": "^4.3.7",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.21.1",
"jskos-tools": "^1.0.42",
"lodash": "^4.17.21",
"mkdirp": "^3.0.1",
"nodemon": "^3.1.7",
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"simple-sha1": "^3.1.0",
"wikibase-edit": "^7.1.3",
"wikibase-sdk": "^10.2.1"
}
}