UNPKG

3.18 kBJSONView Raw
1{
2 "name": "v-contextmenu",
3 "description": "ContextMenu based on Vue 3.0",
4 "version": "3.0.0",
5 "author": "heynext <heynext.xyz@gmail.com>",
6 "main": "dist/index.common.js",
7 "module": "dist/index.esm.js",
8 "files": [
9 "src",
10 "dist"
11 ],
12 "keywords": [
13 "contextmenu",
14 "vue-contextmenu",
15 "vue",
16 "rightclick",
17 "component"
18 ],
19 "scripts": {
20 "dev": "vite",
21 "build": "rm -fr dist && rollup -c && npm run build:theme",
22 "build:theme": "for theme in default bright dark; do lessc --clean-css --autoprefix src/themes/$theme/index.less dist/themes/$theme.css; done;",
23 "build:site": "vite build && cp -r v2-site site-dist/v2",
24 "release": "standard-version",
25 "lint": "eslint '{src,site,examples}/**/*.{ts,tsx}'",
26 "lint:fix": "eslint --fix '{src,site,examples}/**/*.{ts,tsx}'",
27 "commit": "git-cz",
28 "ghpages": "npm run build:site && gh-pages -d site-dist",
29 "test": "jest",
30 "test:coverage": "jest --coverage"
31 },
32 "dependencies": {},
33 "peerDependencies": {
34 "vue": "^3.0.0"
35 },
36 "devDependencies": {
37 "@ant-design/icons-vue": "^6.0.0",
38 "@babel/preset-env": "^7.14.0",
39 "@babel/preset-typescript": "^7.12.7",
40 "@commitlint/cli": "^12.0.0",
41 "@commitlint/config-conventional": "^12.0.0",
42 "@rollup/plugin-babel": "^5.2.2",
43 "@rollup/plugin-json": "^4.1.0",
44 "@rollup/plugin-node-resolve": "^11.0.0",
45 "@testing-library/vue": "^5.6.1",
46 "@types/jest": "^26.0.16",
47 "@typescript-eslint/eslint-plugin": "^4.9.0",
48 "@typescript-eslint/parser": "^4.9.0",
49 "@vitejs/plugin-vue": "^1.2.2",
50 "@vitejs/plugin-vue-jsx": "^1.1.3",
51 "@vue/compiler-sfc": "^3.0.4",
52 "@vue/eslint-config-prettier": "^6.0.0",
53 "@vue/eslint-config-typescript": "^7.0.0",
54 "cz-conventional-changelog": "^3.3.0",
55 "eslint": "^7.14.0",
56 "eslint-plugin-prettier": "^3.1.3",
57 "eslint-plugin-vue": "^7.1.0",
58 "git-cz": "^4.7.5",
59 "husky": "^6.0.0",
60 "jest": "^26.6.3",
61 "less": "^4.1.1",
62 "less-plugin-autoprefix": "^2.0.0",
63 "less-plugin-clean-css": "^1.5.1",
64 "lint-staged": "^10.5.2",
65 "prettier": "^2.2.1",
66 "rollup-plugin-terser": "^7.0.2",
67 "standard-version": "^9.0.0",
68 "ts-jest": "^26.4.4",
69 "typescript": "^4.1.2",
70 "vite": "^2.1.0",
71 "vue": "^3.0.4"
72 },
73 "license": "MIT",
74 "homepage": "https://github.com/heynext/v-contextmenu",
75 "husky": {
76 "hooks": {
77 "pre-commit": "lint-staged",
78 "pre-push": "lint-staged",
79 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
80 }
81 },
82 "lint-staged": {
83 "*.{less,md,json}": [
84 "prettier --write",
85 "git add"
86 ],
87 "*.ts?(x)": [
88 "npm run lint:fix",
89 "git add"
90 ]
91 },
92 "config": {
93 "commitizen": {
94 "path": "cz-conventional-changelog"
95 }
96 },
97 "commitlint": {
98 "extends": [
99 "@commitlint/config-conventional"
100 ]
101 },
102 "repository": {
103 "type": "git",
104 "url": "https://github.com/heynext/v-contextmenu.git"
105 },
106 "bugs": {
107 "url": "https://github.com/heynext/v-contextmenu/issues"
108 },
109 "browserslist": [
110 "> 1%",
111 "last 2 versions",
112 "not ie <= 9"
113 ],
114 "engines": {
115 "node": ">=10.16.0"
116 }
117}