-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
124 lines (124 loc) · 3.32 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "v-contextmenu",
"version": "3.2.0",
"description": "ContextMenu based on Vue 3.0",
"keywords": [
"contextmenu",
"vue-contextmenu",
"vue",
"rightclick",
"component"
],
"homepage": "https://github.com/CyberNika/v-contextmenu",
"bugs": {
"url": "https://github.com/CyberNika/v-contextmenu/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/CyberNika/v-contextmenu.git"
},
"license": "MIT",
"author": "CyberNika <[email protected]>",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "es/index.d.ts",
"files": [
"dist",
"es",
"src"
],
"scripts": {
"dev": "vite",
"build": "rm -fr dist es && rollup -c && npm run build:theme && tsc -p tsconfig.build.json",
"build:theme": "for theme in default bright dark; do lessc --clean-css --autoprefix src/themes/$theme/index.less dist/themes/$theme.css; done;",
"build:site": "vite build && cp -r v2-site site-dist/v2",
"release": "standard-version",
"commit": "git-cz",
"ghpages": "npm run build:site && gh-pages -d site-dist",
"lint": "eslint '{src,site,examples}/**/*.{ts,tsx}'",
"lint:fix": "eslint --fix '{src,site,examples}/**/*.{ts,tsx}'",
"test": "jest",
"test:coverage": "jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{less,md,json}": [
"prettier --write",
"git add"
],
"*.ts?(x)": [
"npm run lint:fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 9"
],
"devDependencies": {
"@ant-design/icons-vue": "^7.0.1",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/vue": "^8.0.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.4.18",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.4.0",
"add": "^2.0.6",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.21.1",
"gh-pages": "^6.1.1",
"git-cz": "^4.9.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"less": "^4.2.0",
"less-plugin-autoprefix": "^2.0.0",
"less-plugin-clean-css": "^1.5.1",
"lint-staged": "^15.2.2",
"npm": "^10.4.0",
"prettier": "^3.2.5",
"rollup": "^4.10.0",
"standard-version": "^9.5.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3",
"vite": "^5.1.1",
"vue": "^3.4.18"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"engines": {
"node": ">=10.16.0"
}
}