package.json 5.0 KB
Newer Older
R
Ron 已提交
1 2
{
  "name": "swagger-ui",
K
v3.0.17  
Kyle Shockey 已提交
3
  "version": "3.0.17",
R
Ron 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  "main": "dist/swagger-ui.js",
  "repository": "git@github.com:swagger-api/swagger-ui.git",
  "contributors": [
    "(in alphabetical order)",
    "Anna Bodnia <anna.bodnia@gmail.com>",
    "Buu Nguyen <buunguyen@gmail.com>",
    "Josh Ponelat <jponelat@gmail.com>",
    "Kyle Shockey <kyleshockey1@gmail.com>",
    "Robert Barnwell <robert@robertismy.name>",
    "Sahar Jafari <shr.jafari@gmail.com>"
  ],
  "license": "Apache-2.0",
  "scripts": {
    "build": "npm run build-core && npm run build-bundle && npm run build-standalone",
    "build-bundle": "webpack --config webpack-dist-bundle.config.js --colors",
    "build-core": "webpack --config webpack-dist.config.js --colors",
    "build-standalone": "webpack --config webpack-dist-standalone.config.js --colors",
    "predev": "npm install",
K
Kyle Shockey 已提交
22
    "dev": "npm-run-all --parallel hot-server open-localhost",
R
Ron 已提交
23 24
    "watch": "webpack --config webpack-watch.config.js --watch --progress",
    "open-localhost": "node -e 'require(\"open\")(\"http://localhost:3200\")'",
K
Kyle Shockey 已提交
25
    "hot-server": "webpack-dev-server --host 0.0.0.0 --config webpack-hot-dev-server.config.js --inline --hot --progress --content-base dev-helpers/",
R
Ron 已提交
26 27 28
    "deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
    "deps-size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
    "deps-check": "npm run deps-license && npm run deps-size",
K
Kyle Shockey 已提交
29 30 31
    "lint": "eslint --cache --ext '.js,.jsx' src test",
    "lint-errors": "eslint --cache --quiet --ext '.js,.jsx' src test",
    "lint-fix": "eslint --cache --ext '.js,.jsx' src test --fix",
K
Kyle Shockey 已提交
32 33 34
    "test": "npm run lint-errors && npm run just-test-in-node",
    "test-in-node": "npm run lint-errors && npm run just-test-in-node",
    "just-test": "karma start --config karma.conf.js",
35
    "just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package"
R
Ron 已提交
36 37
  },
  "dependencies": {
K
Kyle Shockey 已提交
38
    "base64-js": "^1.2.0",
R
RVKen 已提交
39
    "brace": "0.7.0",
R
Ron 已提交
40 41
    "deep-extend": "0.4.1",
    "expect": "1.20.2",
R
RVKen 已提交
42
    "getbase": "^2.8.2",
K
Kyle Shockey 已提交
43
    "ieee754": "^1.1.8",
R
Ron 已提交
44 45 46
    "immutable": "^3.x.x",
    "js-yaml": "^3.5.5",
    "less": "2.7.1",
R
RVKen 已提交
47 48 49
    "lodash": "4.17.2",
    "matcher": "^0.1.2",
    "memoizee": "0.4.1",
R
Ron 已提交
50 51
    "promise-worker": "^1.1.1",
    "react": "^15.4.0",
R
RVKen 已提交
52 53
    "react-addons-perf": "0.14.8",
    "react-addons-shallow-compare": "0.14.8",
54
    "react-addons-test-utils": "^15.4.0",
R
RVKen 已提交
55
    "react-collapse": "2.3.1",
R
Ron 已提交
56
    "react-dom": "^15.4.0",
R
RVKen 已提交
57
    "react-height": "^2.0.0",
R
Ron 已提交
58 59
    "react-hot-loader": "1.3.1",
    "react-immutable-proptypes": "2.1.0",
R
RVKen 已提交
60
    "react-motion": "0.4.4",
R
Ron 已提交
61
    "react-object-inspector": "0.2.1",
R
RVKen 已提交
62
    "react-redux": "^4.x.x",
R
Ron 已提交
63
    "react-remarkable": "1.1.1",
R
RVKen 已提交
64
    "react-split-pane": "0.1.57",
R
Ron 已提交
65
    "redux": "^3.x.x",
R
RVKen 已提交
66
    "redux-immutable": "3.0.8",
R
Ron 已提交
67
    "redux-logger": "*",
R
RVKen 已提交
68
    "reselect": "2.5.3",
K
Kyle Shockey 已提交
69
    "sanitize-html": "^1.14.1",
R
RVKen 已提交
70 71 72
    "serialize-error": "2.0.0",
    "shallowequal": "0.2.2",
    "swagger-client": "~3.0.15",
73
    "url-parse": "^1.1.8",
R
RVKen 已提交
74 75
    "whatwg-fetch": "0.11.1",
    "worker-loader": "^0.7.1",
R
Ron 已提交
76
    "xml": "1.0.1",
R
RVKen 已提交
77
    "yaml-js": "^0.2.0"
R
Ron 已提交
78 79
  },
  "devDependencies": {
R
RVKen 已提交
80
    "autoprefixer": "7.1.1",
R
Ron 已提交
81 82
    "babel-core": "^6.23.1",
    "babel-eslint": "^7.1.1",
R
RVKen 已提交
83
    "babel-loader": "^7.1.0",
R
Ron 已提交
84
    "babel-plugin-module-alias": "^1.6.0",
85
    "babel-plugin-transform-runtime": "^6.23.0",
R
Ron 已提交
86 87 88 89 90
    "babel-preset-es2015": "^6.22.0",
    "babel-preset-es2015-ie": "^6.6.2",
    "babel-preset-react": "^6.23.0",
    "babel-preset-stage-0": "^6.22.0",
    "babel-runtime": "^6.23.0",
R
RVKen 已提交
91 92
    "css-loader": "0.28.4",
    "deep-extend": "^0.5.0",
R
Ron 已提交
93
    "deepmerge": "^1.3.2",
94
    "enzyme": "^2.7.1",
R
RVKen 已提交
95 96 97 98 99
    "eslint": "^4.1.1",
    "eslint-plugin-import": "^2.6.0",
    "eslint-plugin-react": "^7.1.0",
    "extract-text-webpack-plugin": "^2.1.2",
    "file-loader": "0.11.2",
K
Kyle Shockey 已提交
100
    "git-describe": "^4.0.1",
R
Ron 已提交
101
    "html-webpack-plugin": "^2.28.0",
R
RVKen 已提交
102 103 104 105 106
    "imports-loader": "0.7.1",
    "json-loader": "0.5.4",
    "karma": "^1.7.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-mocha": "^1.3.0",
K
Kyle Shockey 已提交
107
    "karma-sourcemap-loader": "^0.3.7",
R
RVKen 已提交
108 109 110 111 112
    "karma-webpack": "2.0.3",
    "less": "2.7.2",
    "less-loader": "4.0.4",
    "license-checker": "^11.0.0",
    "mocha": "^3.4.2",
R
Ron 已提交
113
    "node-sass": "^4.5.0",
R
RVKen 已提交
114
    "npm-run-all": "4.0.2",
R
Ron 已提交
115 116
    "null-loader": "0.1.1",
    "open": "0.0.5",
R
RVKen 已提交
117
    "postcss-loader": "2.0.6",
R
Ron 已提交
118 119
    "raw-loader": "0.5.1",
    "react-hot-loader": "^1.3.1",
120
    "react-test-renderer": "^15.5.4",
R
Ron 已提交
121 122
    "rimraf": "^2.6.0",
    "sass-loader": "^6.0.2",
R
RVKen 已提交
123 124 125 126 127
    "standard": "^10.0.2",
    "standard-loader": "^6.0.1",
    "style-loader": "0.18.2",
    "url-loader": "0.5.9",
    "webpack": "^2.6.1",
R
Ron 已提交
128 129 130 131 132 133 134 135
    "webpack-bundle-size-analyzer": "^2.5.0"
  },
  "config": {
    "deps_check_dir": ".deps_check"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
136
    "IE 11"
R
Ron 已提交
137 138
  ],
  "optionalDependencies": {
R
RVKen 已提交
139
    "webpack-dev-server": "2.5.0"
R
Ron 已提交
140 141
  }
}