-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.27 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
{
"name": "cocoda-sdk",
"version": "3.4.12",
"description": "SDK for Cocoda",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"jsdelivr": "dist/cocoda-sdk.js",
"unpkg": "dist/cocoda-sdk.js",
"sideEffects": false,
"browserslist": "defaults and not ie<=11 and supports es6",
"type": "module",
"files": [
"dist",
"lib",
"errors",
"utils",
"providers"
],
"scripts": {
"test": "mocha --recursive",
"lint": "eslint",
"fix": "eslint --fix",
"lint-staged": "lint-staged",
"build": "node build.js",
"docs": "jsdoc -c jsdoc.json",
"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 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",
"prepare": "[ -d './dist' ] || npm run build"
},
"lint-staged": {
"**/*.js": [
"eslint --fix"
],
"**/.*.js": [
"eslint --fix"
]
},
"pre-commit": [
"lint-staged",
"test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gbv/cocoda-sdk.git"
},
"author": "Stefan Peters",
"license": "MIT",
"bugs": {
"url": "https://github.com/gbv/cocoda-sdk/issues"
},
"homepage": "https://github.com/gbv/cocoda-sdk#readme",
"devDependencies": {
"axios-mock-adapter": "^2.0.0",
"clean-jsdoc-theme": "^4.3.0",
"esbuild": "~0.24.0",
"esbuild-plugin-ifdef": "^1.0.1",
"eslint": "~9.11",
"eslint-config-gbv": "~2.1",
"glob": "^10.4.5",
"jsdoc": "^4.0.3",
"license-checker": "^25.0.1",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"pre-commit": "^1.2.2",
"yesno": "^0.4.0"
},
"dependencies": {
"axios": "^1.7.7",
"flexsearch": "~0.6.32",
"jskos-tools": "^1.0.42",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"uuid": "^10.0.0"
}
}