-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 1.9 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
{
"name": "jskos-vue-tabs",
"version": "0.1.8",
"description": "A simple tabs library for Vue 3.",
"author": "Stefan Peters <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gbv/jskos-vue-tabs.git"
},
"bugs": {
"url": "https://github.com/gbv/jskos-vue-tabs/issues"
},
"homepage": "https://github.com/gbv/jskos-vue-tabs",
"files": [
"dist",
"src"
],
"type": "module",
"exports": {
".": {
"require": "./dist/jskos-vue-tabs.umd.cjs",
"import": "./dist/jskos-vue-tabs.js"
},
"./dist/style.css": "./dist/style.css"
},
"sideEffects": false,
"scripts": {
"test": "mocha --recursive",
"dev": "vite --port 4311",
"build": "vite build",
"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,vue}": [
"eslint --fix"
]
},
"pre-commit": [
"lint-staged",
"test"
],
"dependencies": {
"vue": "^3.5.8"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.8",
"eslint": "~9.11",
"eslint-config-gbv": "~2.1",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"pre-commit": "^1.2.2",
"vite": "^5.4.8",
"yesno": "^0.4.0"
}
}