package.json 5.5 KB
Newer Older
R
Ron 已提交
1 2
{
  "name": "swagger-ui",
K
v3.2.0  
Kyle Shockey 已提交
3
  "version": "3.2.0",
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",
R
RVKen 已提交
35
    "just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package",
K
Kenny 已提交
36
    "test-e2e": "sleep 3 && nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json",
K
Kenny 已提交
37
    "e2e-initial-render": "nightwatch test/e2e/scenarios/ --config test/e2e/nightwatch.json --group initial-render",
38
    "mock-api": "json-server --watch test/e2e/db.json --port 3204",
39
    "e2e": "npm-run-all --parallel -r hot-server mock-api test-e2e"
R
Ron 已提交
40 41
  },
  "dependencies": {
K
Kyle Shockey 已提交
42
    "base64-js": "^1.2.0",
R
Ron 已提交
43 44 45 46
    "brace": "0.7.0",
    "deep-extend": "0.4.1",
    "expect": "1.20.2",
    "getbase": "^2.8.2",
K
Kyle Shockey 已提交
47
    "ieee754": "^1.1.8",
R
Ron 已提交
48 49 50 51 52 53
    "immutable": "^3.x.x",
    "js-yaml": "^3.5.5",
    "lodash": "4.17.2",
    "matcher": "^0.1.2",
    "memoizee": "0.4.1",
    "promise-worker": "^1.1.1",
R
RVKen 已提交
54
    "prop-types": "^15.5.10",
R
Ron 已提交
55
    "react": "^15.4.0",
56
    "react-addons-perf": "^15.4.0",
R
Ron 已提交
57
    "react-addons-shallow-compare": "0.14.8",
58
    "react-addons-test-utils": "^15.4.0",
R
Ron 已提交
59 60 61 62 63
    "react-collapse": "2.3.1",
    "react-dom": "^15.4.0",
    "react-height": "^2.0.0",
    "react-hot-loader": "1.3.1",
    "react-immutable-proptypes": "2.1.0",
64
    "react-markdown": "^2.5.0",
R
Ron 已提交
65 66 67 68 69 70 71 72 73
    "react-motion": "0.4.4",
    "react-object-inspector": "0.2.1",
    "react-redux": "^4.x.x",
    "react-remarkable": "1.1.1",
    "react-split-pane": "0.1.57",
    "redux": "^3.x.x",
    "redux-immutable": "3.0.8",
    "redux-logger": "*",
    "reselect": "2.5.3",
K
Kyle Shockey 已提交
74
    "sanitize-html": "^1.14.1",
75
    "scroll-to-element": "^2.0.0",
R
Ron 已提交
76
    "serialize-error": "2.0.0",
K
Kyle Shockey 已提交
77
    "shallowequal": "0.2.2",
K
v3.2.0  
Kyle Shockey 已提交
78
    "swagger-client": "3.1.0",
79
    "url-parse": "^1.1.8",
R
Ron 已提交
80 81 82
    "whatwg-fetch": "0.11.1",
    "worker-loader": "^0.7.1",
    "xml": "1.0.1",
R
RVKen 已提交
83
    "yaml-js": "0.2.0"
R
Ron 已提交
84 85
  },
  "devDependencies": {
R
RVKen 已提交
86
    "autoprefixer": "7.1.1",
R
Ron 已提交
87 88
    "babel-core": "^6.23.1",
    "babel-eslint": "^7.1.1",
R
RVKen 已提交
89
    "babel-loader": "^7.1.0",
R
Ron 已提交
90
    "babel-plugin-module-alias": "^1.6.0",
91
    "babel-plugin-transform-runtime": "^6.23.0",
R
Ron 已提交
92 93 94 95 96
    "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 已提交
97
    "chromedriver": "^2.30.1",
R
RVKen 已提交
98
    "copy-webpack-plugin": "^4.0.1",
R
RVKen 已提交
99 100
    "css-loader": "0.28.4",
    "deep-extend": "^0.5.0",
R
Ron 已提交
101
    "deepmerge": "^1.3.2",
102
    "enzyme": "^2.7.1",
R
RVKen 已提交
103 104 105 106 107
    "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 已提交
108
    "git-describe": "^4.0.1",
R
RVKen 已提交
109 110
    "imports-loader": "0.7.1",
    "json-loader": "0.5.4",
R
RVKen 已提交
111
    "json-server": "^0.11.0",
R
RVKen 已提交
112 113 114
    "karma": "^1.7.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-mocha": "^1.3.0",
K
Kyle Shockey 已提交
115
    "karma-sourcemap-loader": "^0.3.7",
R
RVKen 已提交
116 117 118 119
    "karma-webpack": "2.0.3",
    "less": "2.7.2",
    "license-checker": "^11.0.0",
    "mocha": "^3.4.2",
R
RVKen 已提交
120
    "nightwatch": "^0.9.16",
R
Ron 已提交
121
    "node-sass": "^4.5.0",
R
RVKen 已提交
122
    "npm-run-all": "4.0.2",
R
Ron 已提交
123 124
    "null-loader": "0.1.1",
    "open": "0.0.5",
R
RVKen 已提交
125
    "postcss-loader": "2.0.6",
R
Ron 已提交
126 127
    "raw-loader": "0.5.1",
    "react-hot-loader": "^1.3.1",
128
    "react-test-renderer": "^15.5.4",
R
Ron 已提交
129 130
    "rimraf": "^2.6.0",
    "sass-loader": "^6.0.2",
131
    "selenium-server-standalone-jar": "3.4.0",
R
RVKen 已提交
132 133 134 135 136
    "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 已提交
137 138 139 140 141 142 143 144
    "webpack-bundle-size-analyzer": "^2.5.0"
  },
  "config": {
    "deps_check_dir": ".deps_check"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
145
    "IE 11"
R
Ron 已提交
146 147
  ],
  "optionalDependencies": {
R
RVKen 已提交
148
    "webpack-dev-server": "2.5.0"
R
Ron 已提交
149 150
  }
}