-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
84 lines (84 loc) · 2.51 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
{
"name": "jskos-server",
"version": "2.1.9",
"apiVersion": "2.1",
"description": "",
"repository": {
"type": "git",
"url": "https://github.com/gbv/jskos-server.git"
},
"type": "module",
"exports": "./server.js",
"engines": {
"node": ">=18"
},
"scripts": {
"test": "NODE_ENV=test mocha --loader=esmock --exit --timeout 20000 --slow 2000",
"start": "nodemon server.js",
"lint": "eslint",
"fix": "eslint --fix",
"lint-staged": "lint-staged",
"prepare": "husky || true",
"import": "./bin/import.js",
"import-batch": "func() { tr '\\n' '\\0' < \"$2\" | xargs -0 -n1 ./bin/import.js $1; }; func",
"reset": "./bin/reset.js",
"upgrade": "./bin/upgrade.js",
"extra": "./bin/extra.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 master && 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"
},
"lint-staged": {
"**/*.js": [
"eslint --fix"
],
"*.js": [
"eslint --fix"
]
},
"author": "",
"license": "MIT",
"devDependencies": {
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"chai-http": "^5.1.1",
"eslint": "~9.16",
"eslint-config-gbv": "~2.6",
"esmock": "^2.6.9",
"glob": "^10.4.5",
"husky": "^9.1.7",
"jsonwebtoken": "^9.0.2",
"lint-staged": "^15.2.11",
"mocha": "^11.0.1"
},
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"axios": "^1.7.9",
"cocoda-sdk": "^3.4.12",
"dotenv": "^16.4.7",
"ejs": "^3.1.10",
"express": "^4.21.2",
"express-basic-auth": "^1.2.1",
"ipaddr.js": "^2.2.0",
"jskos-tools": "^1.0.43",
"jskos-validate": "^1.0.0",
"json-anystream": "^2.0.1",
"JSONStream": "^1.3.5",
"lodash": "^4.17.21",
"meow": "^13.2.0",
"mongodb": "^6.12.0",
"mongoose": "^8.8.4",
"morgan": "^1.10.0",
"nocache": "^4.0.0",
"nodemon": "^3.1.7",
"passport": "~0.7.0",
"passport-anonymous": "^1.0.1",
"passport-jwt": "^4.0.1",
"portfinder": "^1.0.32",
"uuid": "^11.0.3",
"yesno": "^0.4.0"
}
}