package.json 3.9 KB
Newer Older
M
init  
miaodian 已提交
1 2
{
  "name": "cube-ui",
D
1.1.0  
dolymood 已提交
3
  "version": "1.1.0",
M
init  
miaodian 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17
  "description": "A fantastic mobile ui lib implement by Vue",
  "main": "lib/index.js",
  "module": "src/index.js",
  "scripts": {
    "build": "node build/build.js",
    "dev": "node build/dev-server.js",
    "doc-dev": "npm run dev & node build/document/dev-server.js",
    "doc-build": "node build/document/build.js",
    "demo-build": "node build/example/build.js",
    "doc-demo-build": "npm run doc-build && npm run demo-build",
    "release": "bash ./build/release/publish.sh",
    "release-docs": "bash ./build/release/docs.sh",
    "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
    "unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
D
dolymood 已提交
18 19
    "codecov": "codecov",
    "test": "npm run unit && npm run codecov"
M
init  
miaodian 已提交
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
  },
  "files": [
    "src",
    "lib"
  ],
  "repository": {
    "type": "git",
    "url": "git@github.com:didi/cube-ui.git"
  },
  "homepage": "https://didi.github.io/cube-ui/",
  "bugs": {
    "url": "https://github.com/didi/cube-ui/issues"
  },
  "keywords": [
    "cube-ui",
    "cube",
    "vue",
    "components"
  ],
  "license": "Apache",
  "dependencies": {
D
dolymood 已提交
41
    "better-scroll": "^1.5.5"
M
init  
miaodian 已提交
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  },
  "devDependencies": {
    "autoprefixer": "^7.1.1",
    "babel-core": "^6.22.1",
    "babel-eslint": "^7.1.1",
    "babel-loader": "^6.2.10",
    "babel-plugin-add-module-exports": "^0.2.1",
    "babel-plugin-istanbul": "^4.1.1",
    "babel-plugin-transform-es2015-modules-umd": "^6.12.0",
    "babel-plugin-transform-runtime": "^6.22.0",
    "babel-polyfill": "^6.2.0",
    "babel-preset-env": "^1.3.2",
    "babel-preset-stage-2": "^6.22.0",
    "babel-register": "^6.22.0",
    "chai": "^3.5.0",
    "chalk": "^1.1.3",
D
dolymood 已提交
58
    "codecov": "^3.0.0",
M
init  
miaodian 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
    "connect-history-api-fallback": "^1.3.0",
    "copy-webpack-plugin": "^4.0.1",
    "cross-env": "^5.0.1",
    "css-loader": "^0.28.0",
    "eslint": "^3.19.0",
    "eslint-config-standard": "^6.2.1",
    "eslint-friendly-formatter": "^2.0.7",
    "eslint-loader": "^1.7.1",
    "eslint-plugin-html": "^2.0.0",
    "eslint-plugin-promise": "^3.4.0",
    "eslint-plugin-standard": "^2.0.1",
    "eventsource-polyfill": "^0.9.6",
    "express": "^4.14.1",
    "extract-text-webpack-plugin": "^3.0.0",
    "file-loader": "^0.11.1",
    "friendly-errors-webpack-plugin": "^1.1.3",
    "highlight.js": "^9.12.0",
    "html-webpack-plugin": "^2.28.0",
    "http-proxy-middleware": "^0.17.3",
    "inject-loader": "^3.0.0",
    "js-cookie": "^2.1.4",
    "karma": "^1.4.1",
    "karma-coverage": "^1.1.1",
    "karma-mocha": "^1.3.0",
    "karma-phantomjs-launcher": "^1.0.2",
    "karma-phantomjs-shim": "^1.4.0",
    "karma-sinon-chai": "^1.3.1",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-spec-reporter": "0.0.31",
    "karma-webpack": "^2.0.2",
    "lolex": "^1.5.2",
90
    "markdown-it-anchor-cube": "^0.0.1",
M
init  
miaodian 已提交
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
    "marked": "^0.3.6",
    "mocha": "^3.2.0",
    "mockjs": "^1.0.1-beta3",
    "opn": "^4.0.2",
    "optimize-css-assets-webpack-plugin": "^1.3.0",
    "ora": "^1.2.0",
    "phantomjs-prebuilt": "^2.1.14",
    "postcss-loader": "^2.0.5",
    "rimraf": "^2.6.0",
    "scp2": "^0.5.0",
    "shelljs": "^0.7.4",
    "sinon": "^2.1.0",
    "sinon-chai": "^2.8.0",
    "style-loader": "^0.13.1",
    "stylus": "^0.54.5",
    "stylus-loader": "^2.1.1",
    "url-loader": "^0.5.8",
108
    "vue": "^2.5.3",
M
init  
miaodian 已提交
109 110 111 112
    "vue-loader": "^12.1.0",
    "vue-markdown-loader": "^2.2.1",
    "vue-router": "^2.7.0",
    "vue-style-loader": "^3.0.1",
113
    "vue-template-compiler": "^2.5.3",
M
init  
miaodian 已提交
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
    "webpack": "^3.1.0",
    "webpack-bundle-analyzer": "^2.2.1",
    "webpack-dev-middleware": "^1.10.0",
    "webpack-hot-middleware": "^2.18.0",
    "webpack-merge": "^4.1.0"
  },
  "engines": {
    "node": ">= 4.0.0",
    "npm": ">= 3.0.0"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 20",
    "not ie_mob <= 100",
    "not ff <= 100",
    "not and_ff <= 100",
    "not Edge <= 100",
    "Android >= 4.0"
  ]
}