|
31 | 31 | "test": "run-s just-test-in-node e2e-cypress lint-errors", |
32 | 32 | "test-in-node": "run-s lint-errors just-test-in-node", |
33 | 33 | "just-test-in-node": "mocha --require test/setup.js --recursive --compilers js:@babel/register --require source-map-support test/core test/components test/bugs test/docker test/swagger-ui-dist-package test/xss", |
34 | | - "just-check-coverage": "nyc npm run just-test-in-node", |
35 | 34 | "test-e2e-cypress": "cypress run", |
36 | 35 | "test-e2e-selenium": "sleep 3 && nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json", |
37 | 36 | "e2e-initial-render": "nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json --group initial-render", |
38 | 37 | "mock-api": "json-server --watch test/e2e-selenium/db.json --port 3204", |
39 | 38 | "hot-e2e-cypress-server": "webpack-dev-server --config webpack/dev-e2e.babel.js --content-base test/e2e-cypress/static", |
40 | | - "hot-e2e-selenium-server": "webpack-dev-server --config webpack/dev-e2e.babel.js --content-base test/e2e-selenium/helpers", |
| 39 | + "hot-e2e-selenium-server": "webpack-dev-server --config webpack/dev-e2e.babel.js --content-base test/e2e-selenium/static", |
41 | 40 | "e2e-cypress": "run-p -r hot-e2e-cypress-server mock-api test-e2e-cypress", |
42 | 41 | "e2e-selenium": "run-p -r hot-e2e-selenium-server mock-api test-e2e-selenium", |
43 | 42 | "open-static": "node -e 'require(\"open\")(\"http://localhost:3002\")'", |
| 43 | + "security-audit": "run-s -sc security-audit:all security-audit:prod", |
| 44 | + "security-audit:prod": "npm-audit-ci-wrapper -p -t low", |
| 45 | + "security-audit:all": "npm-audit-ci-wrapper -t moderate", |
44 | 46 | "serve-static": "http-server dist/ -i -a 0.0.0.0 -p 3002", |
45 | 47 | "start": "npm-run-all --parallel serve-static open-static" |
46 | 48 | }, |
|
58 | 60 | "ieee754": "^1.1.8", |
59 | 61 | "immutable": "^3.x.x", |
60 | 62 | "js-file-download": "^0.4.1", |
61 | | - "lodash": "^4.17.11", |
| 63 | + "lodash": "^4.17.14", |
62 | 64 | "memoizee": "^0.4.12", |
63 | 65 | "prop-types": "^15.5.10", |
64 | 66 | "react": "^15.6.2", |
|
90 | 92 | "@babel/preset-react": "^7.0.0", |
91 | 93 | "@babel/register": "^7.4.4", |
92 | 94 | "@babel/runtime-corejs2": "^7.0.0", |
93 | | - "@release-it/conventional-changelog": "^1.0.0", |
| 95 | + "@release-it/conventional-changelog": "^1.1.0", |
94 | 96 | "autoprefixer": "^8.4.1", |
95 | 97 | "babel-eslint": "^9.0.0", |
96 | 98 | "babel-loader": "^8.0.6", |
97 | 99 | "babel-plugin-module-resolver": "^3.2.0", |
98 | 100 | "babel-plugin-transform-react-remove-prop-types": "^0.4.13", |
99 | 101 | "body-parser": "^1.18.3", |
100 | | - "bundlesize": "^0.17.2", |
| 102 | + "bundlesize": "^0.18.0", |
101 | 103 | "chromedriver": "^2.38.3", |
102 | 104 | "copy-webpack-plugin": "^5.0.3", |
103 | 105 | "cors": "^2.8.4", |
104 | 106 | "css-loader": "^3.0.0", |
105 | | - "cypress": "^3.3.1", |
| 107 | + "cypress": "^3.4.0", |
106 | 108 | "dedent": "^0.7.0", |
107 | 109 | "deepmerge": "^2.1.0", |
108 | 110 | "enzyme": "^2.7.1", |
|
119 | 121 | "imports-loader": "^0.8.0", |
120 | 122 | "jsdom": "^11.10.0", |
121 | 123 | "json-loader": "^0.5.7", |
122 | | - "json-merger": "^1.1.0", |
123 | | - "json-server": "^0.12.2", |
| 124 | + "json-merger": "^1.1.1", |
| 125 | + "json-server": "^0.15.0", |
124 | 126 | "less": "^3.0.2", |
125 | 127 | "license-checker": "^19.0.0", |
126 | 128 | "mini-css-extract-plugin": "^0.7.0", |
127 | 129 | "mocha": "^5.1.1", |
128 | | - "nightwatch": "^0.9.16", |
| 130 | + "nightwatch": "^1.1.13", |
129 | 131 | "node-sass": "^4.12.0", |
| 132 | + "npm-audit-ci-wrapper": "^2.3.0", |
130 | 133 | "npm-run-all": "^4.1.2", |
131 | | - "nyc": "^11.3.0", |
132 | 134 | "oauth2-server": "^2.4.1", |
133 | 135 | "open": "6.0.0", |
134 | 136 | "optimize-css-assets-webpack-plugin": "^5.0.3", |
135 | 137 | "postcss-loader": "^3.0.0", |
136 | 138 | "prettier": "^1.18.2", |
137 | 139 | "raw-loader": "3.0.0", |
138 | 140 | "react-test-renderer": "^15.5.4", |
139 | | - "release-it": "^11.0.0", |
| 141 | + "release-it": "^12.3.3", |
140 | 142 | "rimraf": "^2.6.0", |
141 | 143 | "sass-loader": "^7.1.0", |
142 | 144 | "selenium-server-standalone-jar": "3.12.0", |
|
153 | 155 | "config": { |
154 | 156 | "deps_check_dir": ".deps_check" |
155 | 157 | }, |
156 | | - "nyc": { |
157 | | - "all": true, |
158 | | - "include": [ |
159 | | - "**/src/core/plugins/**.js" |
160 | | - ] |
161 | | - }, |
162 | 158 | "bundlesize": [ |
163 | 159 | { |
164 | 160 | "path": "./dist/swagger-ui-bundle.js", |
|
0 commit comments