{ "name": "vant", "version": "2.1.1", "description": "Mobile UI Components built on Vue", "main": "lib/index.js", "module": "es/index.js", "style": "lib/index.css", "typings": "types/index.d.ts", "files": [ "es", "lib", "types", "vetur" ], "scripts": { "bootstrap": "yarn || npm i", "dev": "npm run build:entry && webpack-dev-server --config build/webpack.dev.js", "lint": "eslint ./src --ext .js,.vue,.ts,.tsx && stylelint \"src/**/*.less\" --fix", "build:entry": "node build/build-entry.js", "build:changelog": "vant-doc changelog ./docs/markdown/changelog.generated.md --tag 2.0.0", "build:lib": "node build/build-lib.js", "build:site": "rm -rf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js && gh-pages -d docs/dist --add", "test": "jest", "test:watch": "jest --watch", "test:clear-cache": "jest --clearCache", "test:coverage": "open test/coverage/index.html", "release": "sh build/release.sh" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,tsx,js,vue}": [ "eslint", "git add" ], "*.{vue,css}": [ "stylelint", "git add" ] }, "repository": { "type": "git", "url": "git@github.com:youzan/vant.git" }, "keywords": [ "vue", "component" ], "author": "youzanfe", "license": "MIT", "dependencies": { "@babel/runtime": "^7.5.5", "@vant/icons": "1.1.9", "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", "vue-lazyload": "1.2.3" }, "peerDependencies": { "vue": ">= 2.5.0" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/plugin-syntax-jsx": "^7.2.0", "@babel/plugin-transform-object-assign": "^7.0.0", "@babel/plugin-transform-runtime": "^7.5.5", "@babel/polyfill": "^7.4.4", "@babel/preset-env": "^7.5.5", "@babel/preset-typescript": "^7.3.3", "@types/jest": "^24.0.15", "@vant/doc": "^2.3.6", "@vant/eslint-config": "^1.2.3", "@vant/markdown-loader": "^2.2.0", "@vant/markdown-vetur": "^1.0.0", "@vant/touch-emulator": "^1.1.0", "@vue/babel-preset-jsx": "^1.1.0", "@vue/test-utils": "^1.0.0-beta.29", "autoprefixer": "^9.6.1", "babel-jest": "^24.8.0", "babel-loader": "^8.0.6", "codecov": "^3.5.0", "cross-env": "^5.2.0", "css-loader": "^3.1.0", "csso": "^3.5.1", "dependency-tree": "^7.0.2", "eslint": "^6.1.0", "fast-glob": "^3.0.4", "gh-pages": "^2.0.1", "html-webpack-plugin": "3.2.0", "husky": "^3.0.1", "jest": "^24.8.0", "jest-serializer-vue": "^2.0.2", "less": "^3.8.1", "less-loader": "^5.0.0", "lint-staged": "^9.2.1", "postcss": "^7.0.17", "postcss-loader": "^3.0.0", "progress-bar-webpack-plugin": "^1.12.1", "shelljs": "^0.8.3", "signale": "^1.4.0", "style-loader": "^0.23.1", "stylelint": "^10.1.0", "stylelint-config-rational-order": "^0.1.2", "stylelint-config-standard": "^18.3.0", "stylelint-order": "^3.0.1", "ts-jest": "^24.0.2", "typescript": "^3.5.3", "uppercamelcase": "^3.0.0", "vue": "2.6.10", "vue-jest": "4.0.0-beta.2", "vue-loader": "^15.7.1", "vue-router": "^3.0.7", "vue-template-compiler": "2.6.10", "webpack": "4.37.0", "webpack-cli": "^3.3.6", "webpack-dev-server": "3.7.2" }, "sideEffects": [ "es/**/style/*", "lib/**/style/*", "*.css", "*.less" ], "vetur": { "tags": "vetur/tags.json", "attributes": "vetur/attributes.json" }, "browserslist": [ "Android >= 4.0", "iOS >= 7" ] }