-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.62 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
{
"name": "coli-ana",
"version": "0.5.5",
"description": "API to analyze DDC numbers",
"repository": {
"type": "git",
"url": "https://github.com/gbv/coli-ana.git"
},
"main": "server.js",
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"test": "NODE_ENV=test mocha --exit --timeout 10000 --slow 2000",
"lint": "eslint",
"fix": "eslint --fix",
"lint-staged": "lint-staged",
"dev": "nodemon --experimental-json-modules -r dotenv/config server",
"build": "rm -rf dist/ && vite build --outDir dist",
"serve": "cross-env NODE_ENV=production node --experimental-json-modules -r dotenv/config server",
"debug": "node --inspect-brk -r dotenv/config server",
"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 run build && 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 --fix"
],
"**/.*.js": [
"eslint --fix"
]
},
"nodemonConfig": {
"watch": [
"server.js",
"lib/",
"config/"
]
},
"author": "Jakob Voß <[email protected]>",
"license": "MIT",
"dependencies": {
"cocoda-sdk": "^3.4.12",
"compression": "^1.7.5",
"cross-fetch": "^4.0.0",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"jskos-tools": "^1.0.43",
"jskos-vue": "^0.3.18",
"linkify-string": "^4.2.0",
"linkifyjs": "^4.2.0",
"terminate": "^2.8.0",
"vue": "^3.5.13",
"vue-router": "^4.5.0",
"vue-tippy": "^6.5.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-syntax-import-assertions": "^7.26.0",
"@iconify-json/mdi": "^1.2.1",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"@vue/server-renderer": "^3.5.13",
"chai": "^5.1.2",
"cross-env": "^7.0.3",
"eslint": "~9.16",
"eslint-config-gbv": "~2.6",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"mocha": "^11.0.1",
"nodemon": "^3.1.7",
"serve-static": "^1.16.2",
"unplugin-icons": "^0.21.0",
"unplugin-vue-components": "^0.27.5",
"vite": "^6.0.3",
"yesno": "^0.4.0"
}
}