-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
68 lines (68 loc) · 1.92 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
{
"name": "jskos-cli",
"version": "0.7.4",
"description": "Command Line Applications to process JSKOS data format",
"homepage": "https://github.com/gbv/jskos-cli",
"bin": {
"jskos-validate": "./bin/jskos-validate",
"jskos-convert": "./bin/jskos-convert"
},
"type": "module",
"files": [
"bin/",
"lib/"
],
"main": "index.js",
"module": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/gbv/jskos-cli.git"
},
"bugs": {
"url": "https://github.com/gbv/jskos-cli/issues"
},
"license": "MIT",
"scripts": {
"test": "mocha",
"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",
"prepare": "husky || true"
},
"lint-staged": {
"**/*.js": [
"eslint --fix"
],
"bin/*": [
"eslint --fix"
]
},
"author": "Jakob Voß",
"devDependencies": {
"eslint": "~9.16",
"eslint-config-gbv": "~2.6",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"mocha": "^11.0.1",
"yesno": "^0.4.0"
},
"dependencies": {
"commander": "^12.1.0",
"csv": "^6.3.11",
"jskos-tools": "^1.0.43",
"jskos-validate": "^1.1.1",
"json-anystream": "^2.0.1",
"jsonld": "^8.3.2",
"ndjson": "^2.0.0",
"needle": "^3.3.1",
"yaml": "^2.6.1"
},
"engines": {
"node": ">=18.12.0"
}
}