mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-06-17 10:19:16 +08:00
116 lines
3.9 KiB
JSON
116 lines
3.9 KiB
JSON
{
|
|
"name": "vant",
|
|
"version": "1.1.3",
|
|
"description": "Lightweight Mobile UI Components built on Vue",
|
|
"main": "lib/index.js",
|
|
"module": "es/index.js",
|
|
"style": "lib/vant-css/index.css",
|
|
"typings": "types/index.d.ts",
|
|
"files": [
|
|
"es",
|
|
"lib",
|
|
"packages",
|
|
"types"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "yarn || npm i && cd ./packages/vant-css/ && yarn || npm i && cd ../../",
|
|
"dev": "npm run build:file && webpack-dev-server --inline --config build/webpack.dev.js",
|
|
"build:file": "node build/bin/build-entry.js",
|
|
"build:components": "node build/bin/build-components.js --color",
|
|
"build:vant-css": "gulp build --gulpfile packages/vant-css/gulpfile.js --color",
|
|
"build:vant": "cross-env NODE_ENV=production webpack --progress --hide-modules --color --config build/webpack.build.js && cross-env NODE_ENV=production webpack -p --progress --hide-modules --color --config build/webpack.build.js",
|
|
"build:style-entry": "node build/bin/build-style-entry.js",
|
|
"build:changelog": "sh build/bin/build-changelog.sh",
|
|
"deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan",
|
|
"deploy:cdn": "superman cdn /zanui/vant docs/dist/*.js && superman cdn /zanui/vant/async_en-US docs/dist/async_en-US/*.js && superman cdn /zanui/vant/async_zh-CN docs/dist/async_zh-CN/*.js",
|
|
"deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.doc.js",
|
|
"dist": "npm run bootstrap && node build/bin/build-lib.js",
|
|
"lint": "./node_modules/.bin/eslint ./packages --ext .js,.vue",
|
|
"test": "karma start test/karma.conf.js --single-run",
|
|
"test:coverage": "open test/coverage/lcov-report/index.html",
|
|
"test:watch": "karma start test/karma.conf.js",
|
|
"test:single": "node ./test/selector.js",
|
|
"release": "sh build/release.sh",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"./packages/**/*.{js,vue}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:youzan/vant.git"
|
|
},
|
|
"keywords": [
|
|
"youzan",
|
|
"vue",
|
|
"component"
|
|
],
|
|
"author": "youzanfe",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"babel-runtime": "6.x",
|
|
"vue-lazyload": "^1.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": ">= 2.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^8.4.1",
|
|
"avoriaz": "2.0.0",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-loader": "^7.1.4",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"chai": "^4.1.2",
|
|
"codecov": "^3.0.1",
|
|
"cross-env": "^5.1.4",
|
|
"css-loader": "^0.28.11",
|
|
"dependency-tree": "^6.1.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-vue": "^4.5.0",
|
|
"fast-vue-md-loader": "^1.0.3",
|
|
"gh-pages": "^1.0.0",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"husky": "^0.14.3",
|
|
"istanbul-instrumenter-loader": "^3.0.1",
|
|
"karma": "^2.0.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-coverage": "^1.1.2",
|
|
"karma-mocha": "^1.3.0",
|
|
"karma-sinon-chai": "^1.3.4",
|
|
"karma-spec-reporter": "^0.0.32",
|
|
"karma-webpack": "3.0.0",
|
|
"lint-staged": "^7.1.0",
|
|
"mocha": "^5.1.1",
|
|
"postcss": "^6.0.22",
|
|
"postcss-calc": "^6.0.0",
|
|
"postcss-easy-import": "^3.0.0",
|
|
"postcss-loader": "^2.1.5",
|
|
"precss": "2.0.0",
|
|
"progress-bar-webpack-plugin": "^1.11.0",
|
|
"rimraf": "^2.5.4",
|
|
"shelljs": "^0.8.2",
|
|
"sinon": "^2.4.1",
|
|
"sinon-chai": "^2.12.0",
|
|
"style-loader": "^0.21.0",
|
|
"uppercamelcase": "^3.0.0",
|
|
"url-loader": "^1.0.1",
|
|
"vant-doc": "1.0.4",
|
|
"vue": "2.5.16",
|
|
"vue-loader": "^15.0.9",
|
|
"vue-router": "^3.0.1",
|
|
"vue-sfc-compiler": "^0.0.8",
|
|
"vue-style-loader": "^4.1.0",
|
|
"vue-template-compiler": "2.5.16",
|
|
"vue-template-es2015-compiler": "^1.6.0",
|
|
"webpack": "^4.8.1",
|
|
"webpack-cli": "^2.1.3",
|
|
"webpack-dev-server": "3.1.4"
|
|
}
|
|
}
|