-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 2.14 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
{
"name": "jskos-validate",
"version": "1.0.1",
"description": "Validation for JSKOS data.",
"homepage": "https://github.com/gbv/jskos-validate",
"repository": {
"type": "git",
"url": "https://github.com/gbv/jskos-validate.git"
},
"bugs": {
"url": "https://github.com/gbv/jskos-validate/issues"
},
"license": "MIT",
"type": "module",
"main": "./dist/cjs/validate.cjs",
"module": "./dist/esm/validate.js",
"exports": {
".": {
"require": "./dist/cjs/validate.cjs",
"import": "./dist/esm/validate.js"
}
},
"jsdelivr": "./dist/jskos-validate.js",
"unpkg": "./dist/jskos-validate.js",
"files": [
"dist"
],
"scripts": {
"build": "node bin/build.js",
"compile": "node bin/compile.js",
"test": "npm run compile && 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 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"
},
"lint-staged": {
"**/*.js": [
"eslint --fix"
]
},
"pre-commit": [
"test",
"lint-staged"
],
"author": "Stefan Peters",
"devDependencies": {
"esbuild": "^0.24.0",
"esbuild-plugin-ifdef": "^1.0.1",
"eslint": "~9.11",
"eslint-config-gbv": "~2.1",
"glob": "^10.4.5",
"license-checker": "^25.0.1",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"pre-commit": "^1.0.10",
"yesno": "^0.4.0"
},
"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"ajv-formats-draft2019": "^1.6.1",
"jskos": "https://github.com/gbv/jskos/tarball/master#6987897",
"jskos-tools": "^1.0.42"
}
}