mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-11-01 03:42:08 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			120 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			120 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "name": "vant",
 | |
|   "version": "0.8.1",
 | |
|   "description": "有赞vue wap组件库",
 | |
|   "main": "lib/vant.js",
 | |
|   "style": "lib/vant-css/index.css",
 | |
|   "unpkg": "lib/index.js",
 | |
|   "files": [
 | |
|     "lib",
 | |
|     "src",
 | |
|     "packages"
 | |
|   ],
 | |
|   "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.config.dev.js --content-base ./",
 | |
|     "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 && mkdir lib/vant-css && cp -R packages/vant-css/lib/ lib/vant-css",
 | |
|     "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",
 | |
|     "deploy": "npm run deploy:docs && npm run deploy:cdn && gh-pages -d docs/dist --remote youzan && rimraf docs/dist",
 | |
|     "deploy:cdn": "superman cdn /zanui/vue docs/dist/*.js docs/dist/*.css",
 | |
|     "deploy:docs": "rimraf docs/dist && cross-env NODE_ENV=production webpack --progress --hide-modules --config  build/webpack.config.prod.js",
 | |
|     "dist": "node build/bin/build-lib.js",
 | |
|     "clean": "rimraf lib && rimraf packages/*/lib",
 | |
|     "lint": "felint lint src/**/*.js packages/**/*.{js,vue} build/**/*.js",
 | |
|     "test": "karma start test/unit/karma.conf.js --single-run",
 | |
|     "test:coverage": "open test/unit/coverage/lcov-report/index.html",
 | |
|     "test:watch": "karma start test/unit/karma.conf.js",
 | |
|     "release": "npm run bootstrap && sh build/release.sh"
 | |
|   },
 | |
|   "repository": {
 | |
|     "type": "git",
 | |
|     "url": "git@github.com:youzan/vant.git"
 | |
|   },
 | |
|   "keywords": [
 | |
|     "youzan",
 | |
|     "vue",
 | |
|     "component"
 | |
|   ],
 | |
|   "author": "youzanfe",
 | |
|   "license": "ISC",
 | |
|   "dependencies": {
 | |
|     "babel-runtime": "6.x",
 | |
|     "vue-lazyload": "^1.0.6"
 | |
|   },
 | |
|   "peerDependencies": {
 | |
|     "vue": "2.4.2"
 | |
|   },
 | |
|   "devDependencies": {
 | |
|     "autoprefixer": "^7.1.2",
 | |
|     "avoriaz": "2.0.0",
 | |
|     "babel-cli": "^6.26.0",
 | |
|     "babel-core": "^6.26.0",
 | |
|     "babel-helper-vue-jsx-merge-props": "^2.0.2",
 | |
|     "babel-loader": "^7.1.1",
 | |
|     "babel-plugin-module-resolver": "^2.7.1",
 | |
|     "babel-plugin-syntax-jsx": "^6.18.0",
 | |
|     "babel-plugin-transform-object-rest-spread": "^6.26.0",
 | |
|     "babel-plugin-transform-runtime": "^6.15.0",
 | |
|     "babel-plugin-transform-vue-jsx": "^3.5.0",
 | |
|     "babel-polyfill": "^6.26.0",
 | |
|     "babel-preset-env": "^1.6.0",
 | |
|     "chai": "^4.1.1",
 | |
|     "cheerio": "^0.22.0",
 | |
|     "codecov": "^2.2.0",
 | |
|     "cross-env": "^5.0.5",
 | |
|     "css-loader": "^0.28.5",
 | |
|     "eslint-plugin-vue": "^2.1.0",
 | |
|     "extract-text-webpack-plugin": "2.1.2",
 | |
|     "felint": "^0.5.0-alpha.3",
 | |
|     "file-loader": "^0.11.2",
 | |
|     "file-save": "^0.2.0",
 | |
|     "friendly-errors-webpack-plugin": "^1.6.1",
 | |
|     "gh-pages": "^1.0.0",
 | |
|     "gulp": "^3.9.1",
 | |
|     "gulp-util": "^3.0.8",
 | |
|     "highlight.js": "^9.12.0",
 | |
|     "html-webpack-plugin": "^2.29.0",
 | |
|     "isparta-loader": "^2.0.0",
 | |
|     "json-templater": "^1.0.4",
 | |
|     "karma": "^1.7.0",
 | |
|     "karma-chrome-launcher": "^2.2.0",
 | |
|     "karma-coverage": "^1.1.1",
 | |
|     "karma-mocha": "^1.3.0",
 | |
|     "karma-phantomjs-launcher": "^1.0.4",
 | |
|     "karma-sinon-chai": "^1.2.4",
 | |
|     "karma-sourcemap-loader": "^0.3.7",
 | |
|     "karma-spec-reporter": "^0.0.31",
 | |
|     "karma-webpack": "^2.0.4",
 | |
|     "markdown-it": "^8.3.2",
 | |
|     "markdown-it-container": "^2.0.0",
 | |
|     "mocha": "^3.4.2",
 | |
|     "optimize-css-assets-webpack-plugin": "^3.0.0",
 | |
|     "postcss": "^6.0.8",
 | |
|     "postcss-easy-import": "^2.1.0",
 | |
|     "postcss-loader": "^2.0.6",
 | |
|     "precss": "^2.0.0",
 | |
|     "progress-bar-webpack-plugin": "^1.10.0",
 | |
|     "rimraf": "^2.5.4",
 | |
|     "run-sequence": "^2.1.0",
 | |
|     "sinon": "^2.4.1",
 | |
|     "sinon-chai": "^2.12.0",
 | |
|     "style-loader": "^0.18.2",
 | |
|     "uppercamelcase": "^3.0.0",
 | |
|     "url-loader": "^0.5.9",
 | |
|     "vue": "^2.4.2",
 | |
|     "vue-html-loader": "^1.2.4",
 | |
|     "vue-loader": "^13.0.4",
 | |
|     "vue-markdown-loader": "^2.0.0",
 | |
|     "vue-router": "^2.7.0",
 | |
|     "vue-sfc-compiler": "^0.0.2",
 | |
|     "vue-style-loader": "^3.0.0",
 | |
|     "vue-template-compiler": "^2.4.2",
 | |
|     "webpack": "^3.5.5",
 | |
|     "webpack-dev-server": "^2.7.1",
 | |
|     "webpack-merge": "^4.1.0",
 | |
|     "zan-doc": "0.1.12"
 | |
|   }
 | |
| }
 |