package.json 4.8 KB
Newer Older
M
init  
miaodian 已提交
1 2
{
  "name": "cube-ui",
D
dolymood 已提交
3
  "version": "1.12.36",
M
init  
miaodian 已提交
4 5 6
  "description": "A fantastic mobile ui lib implement by Vue",
  "main": "lib/index.js",
  "module": "src/index.js",
D
doly mood 已提交
7
  "typings": "types/index.d.ts",
D
dolymood 已提交
8
  "postCompile": true,
M
init  
miaodian 已提交
9 10 11 12 13 14 15 16 17 18 19
  "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 已提交
20
    "codecov": "codecov",
D
doly mood 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33
    "test": "npm run unit && npm run codecov",
    "cm": "git-cz"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint",
      "commit-msg": "commitlint -e $GIT_PARAMS"
    }
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
M
init  
miaodian 已提交
34 35 36
  },
  "files": [
    "src",
D
doly mood 已提交
37 38
    "lib",
    "types"
M
init  
miaodian 已提交
39
  ],
A
AmyFoxFN 已提交
40 41 42
  "publishConfig": {
    "registry": "https://registry.npmjs.org"
  },
M
init  
miaodian 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
  "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 已提交
59 60
    "better-scroll": "~1.12.6",
    "vue-create-api": "^0.2.3"
M
init  
miaodian 已提交
61
  },
D
doly mood 已提交
62 63 64
  "peerDependencies": {
    "vue": "^2.5.13"
  },
M
init  
miaodian 已提交
65
  "devDependencies": {
D
doly mood 已提交
66 67
    "@commitlint/cli": "^6.2.0",
    "@commitlint/config-conventional": "^6.1.3",
M
init  
miaodian 已提交
68 69 70 71 72 73 74 75 76 77 78 79
    "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",
80
    "basic-mouse-event-polyfill-phantomjs": "0.0.2",
M
init  
miaodian 已提交
81 82
    "chai": "^3.5.0",
    "chalk": "^1.1.3",
D
dolymood 已提交
83
    "codecov": "^3.0.0",
D
doly mood 已提交
84
    "commitizen": "^2.9.6",
M
init  
miaodian 已提交
85
    "connect-history-api-fallback": "^1.3.0",
86
    "copy-webpack-plugin": "^4.5.0",
M
init  
miaodian 已提交
87 88
    "cross-env": "^5.0.1",
    "css-loader": "^0.28.0",
D
doly mood 已提交
89
    "cz-conventional-changelog": "^2.1.0",
90
    "eslint": "^4.18.2",
D
doly mood 已提交
91 92
    "eslint-config-standard": "^10.2.1",
    "eslint-friendly-formatter": "^3.0.0",
M
init  
miaodian 已提交
93
    "eslint-loader": "^1.7.1",
D
doly mood 已提交
94 95 96
    "eslint-plugin-html": "^3.0.0",
    "eslint-plugin-import": "^2.7.0",
    "eslint-plugin-node": "^5.2.0",
M
init  
miaodian 已提交
97
    "eslint-plugin-promise": "^3.4.0",
D
doly mood 已提交
98
    "eslint-plugin-standard": "^3.0.1",
M
init  
miaodian 已提交
99 100 101
    "eventsource-polyfill": "^0.9.6",
    "express": "^4.14.1",
    "extract-text-webpack-plugin": "^3.0.0",
D
dolymood 已提交
102
    "fastclick": "^1.0.6",
M
init  
miaodian 已提交
103 104 105 106 107
    "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",
D
doly mood 已提交
108
    "husky": "^1.0.0-rc.6",
M
init  
miaodian 已提交
109 110 111 112 113 114 115 116 117 118 119
    "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",
D
dolymood 已提交
120
    "lodash-es": "^4.17.8",
M
init  
miaodian 已提交
121
    "lolex": "^1.5.2",
122
    "markdown-it-anchor-cube": "^0.0.1",
M
init  
miaodian 已提交
123 124 125 126 127 128
    "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",
A
Amy 已提交
129
    "phantomjs-polyfill-find-index": "^1.0.1",
A
AmyFoxFN 已提交
130
    "phantomjs-prebuilt": "^2.1.16",
M
init  
miaodian 已提交
131 132 133 134 135 136 137 138 139 140
    "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",
A
AmyFoxFN 已提交
141
    "vconsole": "^2.5.2",
A
Amy 已提交
142
    "vue": "^2.5.13",
A
AmyFoxFN 已提交
143
    "vue-lazyload": "^1.1.4",
M
init  
miaodian 已提交
144 145 146 147
    "vue-loader": "^12.1.0",
    "vue-markdown-loader": "^2.2.1",
    "vue-router": "^2.7.0",
    "vue-style-loader": "^3.0.1",
A
Amy 已提交
148
    "vue-template-compiler": "^2.5.13",
A
AmyFoxFN 已提交
149
    "webpack": "^3.12.0",
150
    "webpack-bundle-analyzer": "^3.3.2",
M
init  
miaodian 已提交
151 152 153 154
    "webpack-dev-middleware": "^1.10.0",
    "webpack-hot-middleware": "^2.18.0",
    "webpack-merge": "^4.1.0"
  },
D
doly mood 已提交
155 156 157 158 159
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
M
init  
miaodian 已提交
160 161 162 163 164 165
  "engines": {
    "node": ">= 4.0.0",
    "npm": ">= 3.0.0"
  },
  "browserslist": [
    "> 1%",
166
    "not ie <= 11",
A
AmyFoxFN 已提交
167 168
    "Android >= 4.0",
    "iOS >= 8"
M
init  
miaodian 已提交
169 170
  ]
}