|
- {
- "name": "vue-easy-lightbox",
- "version": "1.19.0",
- "description": "A Vue.js 3.0 image lightbox component with Zoom / Drag / Rotate / Switch",
- "keywords": [
- "vue",
- "vue3",
- "component",
- "image"
- ],
- "private": false,
- "author": "Zichao Xiong <onycat@live.cn>",
- "license": "MIT",
- "main": "dist/vue-easy-lightbox.common.min.js",
- "module": "dist/vue-easy-lightbox.esm.min.js",
- "types": "types/index.d.ts",
- "exports": {
- ".": {
- "types": "./types/index.d.ts",
- "import": "./dist/vue-easy-lightbox.esm.min.js",
- "require": "./dist/vue-easy-lightbox.common.min.js",
- "browser": "./dist/vue-easy-lightbox.umd.min.js"
- },
- "./external-css": {
- "types": "./types/index.d.ts",
- "import": "./dist/external-css/vue-easy-lightbox.esm.min.js",
- "require": "./dist/external-css/vue-easy-lightbox.common.min.js",
- "browser": "./dist/external-css/vue-easy-lightbox.umd.min.js"
- },
- "./external-css/vue-easy-lightbox.css": "./dist/external-css/vue-easy-lightbox.css",
- "./package.json": "./package.json",
- "./dist/*": "./dist/*"
- },
- "type": "module",
- "browser": {
- "./sfc": "src/vue-easy-lightbox.vue"
- },
- "scripts": {
- "dev:docs": "cd docs && pnpm dev",
- "dev": "vite --host",
- "dev:bd-watch": "rollup -w -c build-scripts/rollup.watch.config.js",
- "clean": "rimraf ./dist && rimraf ./types",
- "build": "pnpm run clean && pnpm run build:bundle && pnpm run build:type",
- "build:bundle": "rollup -c build-scripts/rollup.config.js",
- "build:type": "tsc --emitDeclarationOnly --project ./tsconfig.build.json",
- "build:docs": "cd docs && pnpm build",
- "deploy:docs": "bash bin/deploy-docs.sh",
- "lint": "eslint --fix --ext .ts,.vue,.js,.tsx ./src",
- "prepare": "husky install",
- "pre-commit": "lint-staged",
- "commit": "cz",
- "test": "vitest"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/XiongAmao/vue-easy-lightbox.git"
- },
- "bugs": {
- "url": "https://github.com/XiongAmao/vue-easy-lightbox/issues"
- },
- "homepage": "https://xiongamao.github.io/vue-easy-lightbox",
- "peerDependencies": {
- "vue": "^3.0.0"
- },
- "devDependencies": {
- "@babel/core": "^7.20.12",
- "@babel/eslint-parser": "^7.19.1",
- "@babel/plugin-transform-runtime": "^7.19.6",
- "@babel/preset-env": "^7.20.2",
- "@babel/preset-typescript": "^7.18.6",
- "@babel/runtime": "^7.20.13",
- "@babel/runtime-corejs3": "^7.20.13",
- "@commitlint/cli": "^17.4.2",
- "@commitlint/config-conventional": "^17.4.2",
- "@rollup/plugin-babel": "^5.3.1",
- "@rollup/plugin-node-resolve": "^13.3.0",
- "@rollup/plugin-replace": "^4.0.0",
- "@rollup/plugin-terser": "^0.4.0",
- "@types/babel__core": "^7.20.0",
- "@types/node": "^18.11.18",
- "@typescript-eslint/eslint-plugin": "^6.21.0",
- "@typescript-eslint/parser": "^6.21.0",
- "@vitejs/plugin-vue": "^3.2.0",
- "@vitejs/plugin-vue-jsx": "^2.1.1",
- "@vue/babel-plugin-jsx": "^1.1.1",
- "@vue/babel-preset-app": "^5.0.8",
- "@vue/compiler-sfc": "^3.2.47",
- "@vue/eslint-config-typescript": "^11.0.2",
- "@vue/test-utils": "2.0.0-rc.18",
- "autoprefixer": "^10.4.13",
- "case": "^1.6.3",
- "commitizen": "^4.3.0",
- "core-js": "^3.27.2",
- "cz-git": "^1.4.1",
- "eslint": "^8.33.0",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-n": "^15.6.1",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^6.1.1",
- "eslint-plugin-vue": "^9.9.0",
- "fs-extra": "^10.1.0",
- "happy-dom": "^6.0.4",
- "husky": "^8.0.3",
- "lint-staged": "^13.1.0",
- "lodash": "^4.17.21",
- "postcss": "^8.4.21",
- "postcss-import": "^14.1.0",
- "prettier": "^2.8.3",
- "rimraf": "^3.0.2",
- "rollup": "^2.79.1",
- "rollup-plugin-postcss": "^4.0.2",
- "sass": "^1.58.0",
- "typescript": "^5.3.3",
- "vite": "^3.2.5",
- "vitest": "^0.19.1",
- "vue": "^3.2.47"
- },
- "engines": {
- "node": ">=14.18.3"
- },
- "lint-staged": {
- "src/**/*.{vue,js,ts,tsx}": [
- "eslint --fix",
- "prettier --write"
- ]
- },
- "files": [
- "dist",
- "src",
- "types",
- "README-CN.md"
- ],
- "packageManager": "pnpm@7.4.0",
- "config": {
- "commitizen": {
- "path": "node_modules/cz-git"
- }
- }
- }
|