|
|
@@ -1,121 +1,93 @@
|
|
|
{
|
|
|
"name": "coriolis-web",
|
|
|
- "version": "1.5.1",
|
|
|
+ "version": "2.0.0",
|
|
|
"license": "AGPL-3.0",
|
|
|
"scripts": {
|
|
|
- "start": "npm run env:dev && node server.js --dev",
|
|
|
- "env:dev": "cross-env NODE_ENV=development",
|
|
|
- "env:prod": "cross-env NODE_ENV=production",
|
|
|
- "cypress": "cypress open",
|
|
|
- "test": "jest",
|
|
|
- "testc": "jest --runInBand -t 'WizardStorage Component'",
|
|
|
- "storybook": "start-storybook -p 9001 -c private/storybook",
|
|
|
- "lint": "eslint src private webpack.config.js --ext js,jsx",
|
|
|
- "build:clean": "rimraf \"dist/!(.git*|Procfile)**\"",
|
|
|
- "build:copy": "copyfiles -u 1 public/* public/**/* dist",
|
|
|
- "prebuild": "npm run build:clean && npm run build:copy",
|
|
|
- "build": "npm run env:prod -- webpack",
|
|
|
- "flow": "flow",
|
|
|
- "flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true"
|
|
|
- },
|
|
|
- "jest": {
|
|
|
- "verbose": true,
|
|
|
- "moduleDirectories": [
|
|
|
- "src",
|
|
|
- "node_modules"
|
|
|
- ],
|
|
|
- "moduleNameMapper": {
|
|
|
- "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/private/jest/fileMock.js",
|
|
|
- "^components$": "<rootDir>/private/jest/componentsMock.js"
|
|
|
- },
|
|
|
- "setupFiles": [
|
|
|
- "<rootDir>/private/jest/shim.js",
|
|
|
- "<rootDir>/private/jest/setupTests.js"
|
|
|
- ],
|
|
|
- "testURL": "http://localhost/"
|
|
|
+ "start": "node ./server",
|
|
|
+ "build": "webpack --config webpack.prod.js",
|
|
|
+ "ui-dev": "webpack-dev-server --config webpack.dev.js",
|
|
|
+ "server-dev": "nodemon -e ts,js -w server/**",
|
|
|
+ "server-debug": "node --inspect server",
|
|
|
+ "tsc": "npx tsc --skipLibCheck",
|
|
|
+ "eslint": "npx eslint -c .eslintrc \"src/**\" \"server/**\"",
|
|
|
+ "storybook": "start-storybook"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
- "@storybook/react": "^3.2.15",
|
|
|
- "babel-eslint": "^8.0.1",
|
|
|
- "babel-jest": "^21.2.0",
|
|
|
+ "@storybook/react": "^5.3.19",
|
|
|
+ "@types/connect": "^3.4.33",
|
|
|
+ "@types/express": "^4.17.6",
|
|
|
+ "@types/file-saver": "^2.0.1",
|
|
|
+ "@types/js-cookie": "^2.2.6",
|
|
|
+ "@types/moment-timezone": "^0.5.13",
|
|
|
+ "@types/react-collapse": "^5.0.0",
|
|
|
+ "@types/react-dom": "^16.9.8",
|
|
|
+ "@types/react-modal": "^3.10.5",
|
|
|
+ "@types/react-notification-system": "^0.2.39",
|
|
|
+ "@types/react-router-dom": "^5.1.5",
|
|
|
+ "@types/react-tooltip": "^4.2.4",
|
|
|
+ "@types/styled-components": "^5.1.0",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^3.2.0",
|
|
|
"cypress": "^3.2.0",
|
|
|
- "enzyme": "^3.9.0",
|
|
|
- "enzyme-adapter-react-16": "^1.11.2",
|
|
|
- "eslint": "^4.8.0",
|
|
|
- "eslint-config-airbnb": "^15.1.0",
|
|
|
- "eslint-plugin-cypress": "^2.0.1",
|
|
|
- "eslint-plugin-flowtype": "^2.46.1",
|
|
|
- "eslint-plugin-import": "^2.7.0",
|
|
|
- "eslint-plugin-jsx-a11y": "^6.0.2",
|
|
|
- "eslint-plugin-react": "7.10.0",
|
|
|
- "flow-bin": "0.78.0",
|
|
|
- "flow-typed": "2.5.1",
|
|
|
- "jest": "22",
|
|
|
- "react-test-renderer": "^16.0.0",
|
|
|
- "sinon": "^4.1.2",
|
|
|
- "webpack-dev-middleware": "^1.12.0",
|
|
|
- "webpack-hot-middleware": "^2.19.1"
|
|
|
+ "eslint": "^6.8.0",
|
|
|
+ "eslint-config-airbnb-typescript": "^6.3.1",
|
|
|
+ "eslint-plugin-import": "^2.19.1",
|
|
|
+ "eslint-plugin-jsx-a11y": "^6.2.3",
|
|
|
+ "eslint-plugin-react": "^7.17.0",
|
|
|
+ "nodemon": "^2.0.4"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
+ "@babel/core": "^7.7.2",
|
|
|
+ "@babel/plugin-proposal-class-properties": "^7.7.0",
|
|
|
+ "@babel/plugin-proposal-decorators": "^7.7.0",
|
|
|
+ "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
|
|
|
+ "@babel/plugin-proposal-optional-chaining": "^7.8.3",
|
|
|
+ "@babel/preset-env": "^7.7.1",
|
|
|
+ "@babel/preset-react": "^7.7.0",
|
|
|
+ "@babel/preset-typescript": "^7.7.2",
|
|
|
+ "@babel/register": "^7.7.0",
|
|
|
"@webpack-blocks/webpack2": "^0.4.0",
|
|
|
- "ansi-to-html": "^0.6.12",
|
|
|
+ "ansi-to-html": "^0.6.14",
|
|
|
"autobind-decorator": "^2.1.0",
|
|
|
- "axios": "^0.18.0",
|
|
|
- "babel-core": "^6.26.0",
|
|
|
- "babel-loader": "^7.1.2",
|
|
|
- "babel-plugin-styled-components": "^1.2.1",
|
|
|
- "babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
|
- "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
|
- "babel-plugin-transform-react-remove-prop-types": "^0.4.9",
|
|
|
- "babel-polyfill": "^6.26.0",
|
|
|
- "babel-preset-env": "^1.6.0",
|
|
|
- "babel-preset-flow": "^6.23.0",
|
|
|
- "babel-preset-react": "^6.24.1",
|
|
|
- "babel-preset-stage-1": "^6.24.1",
|
|
|
- "babel-register": "^6.26.0",
|
|
|
+ "axios": "^0.19.2",
|
|
|
+ "babel-loader": "^8.0.6",
|
|
|
+ "babel-plugin-styled-components": "^1.10.6",
|
|
|
"body-parser": "^1.18.2",
|
|
|
- "copyfiles": "^1.2.0",
|
|
|
- "cross-env": "^5.0.5",
|
|
|
- "express": "^4.16.1",
|
|
|
- "file-loader": "^1.1.5",
|
|
|
+ "clean-webpack-plugin": "^3.0.0",
|
|
|
+ "copy-webpack-plugin": "^6.0.2",
|
|
|
+ "dotenv": "^8.2.0",
|
|
|
+ "express": "^4.17.1",
|
|
|
+ "file-loader": "^4.2.0",
|
|
|
"file-saver": "^2.0.2",
|
|
|
"fs": "^0.0.1-security",
|
|
|
- "history": "^4.7.2",
|
|
|
- "html-webpack-plugin": "^2.30.1",
|
|
|
- "js-cookie": "^2.1.4",
|
|
|
- "jszip": "^3.2.2",
|
|
|
+ "html-webpack-plugin": "^3.2.0",
|
|
|
+ "js-cookie": "^2.2.1",
|
|
|
+ "jszip": "^3.5.0",
|
|
|
"lodash": "^4.17.13",
|
|
|
- "mobx": "^3.6.1",
|
|
|
- "mobx-react": "^4.4.2",
|
|
|
+ "mobx": "^5.15.4",
|
|
|
+ "mobx-react": "^6.2.2",
|
|
|
"moment": "^2.18.1",
|
|
|
"moment-timezone": "^0.5.21",
|
|
|
"ms-rest-azure": "^2.4.5",
|
|
|
"path": "^0.12.7",
|
|
|
- "raw-loader": "^0.5.1",
|
|
|
- "react": "^16.0.0",
|
|
|
- "react-collapse": "^4.0.3",
|
|
|
+ "react": "^16.13.1",
|
|
|
+ "react-collapse": "^5.0.1",
|
|
|
"react-datetime": "^2.10.3",
|
|
|
- "react-dom": "^16.0.0",
|
|
|
- "react-hot-loader": "next",
|
|
|
- "react-modal": "^3.0.4",
|
|
|
+ "react-dom": "^16.13.1",
|
|
|
+ "react-hot-loader": "^4.12.17",
|
|
|
+ "react-modal": "^3.11.2",
|
|
|
"react-motion": "^0.5.2",
|
|
|
- "react-notification-system": "^0.2.15",
|
|
|
- "react-router-dom": "^4.2.2",
|
|
|
- "react-tooltip": "^3.10.0",
|
|
|
+ "react-notification-system": "^0.4.0",
|
|
|
+ "react-router-dom": "^5.1.2",
|
|
|
+ "react-tooltip": "^4.2.7",
|
|
|
"request": "^2.88.0",
|
|
|
"require-without-cache": "^0.0.6",
|
|
|
"rimraf": "^2.6.2",
|
|
|
- "styled-components": "2.2.0",
|
|
|
- "styled-tools": "^0.2.2",
|
|
|
- "url-loader": "^0.6.2",
|
|
|
- "webpack": "^3.6.0",
|
|
|
- "webpack-blocks-happypack": "^0.1.3",
|
|
|
- "webpack-blocks-split-vendor": "^0.2.1"
|
|
|
- },
|
|
|
- "resolutions": {
|
|
|
- "acorn": "^5.7.4",
|
|
|
- "https-proxy-agent": "^2.2.3",
|
|
|
- "mem": "^4.0.0",
|
|
|
- "minimist": "^0.2.1"
|
|
|
+ "styled-components": "^4.4.1",
|
|
|
+ "typescript": "^3.9.5",
|
|
|
+ "url-loader": "^4.1.0",
|
|
|
+ "webpack": "^4.41.2",
|
|
|
+ "webpack-cli": "^3.3.10",
|
|
|
+ "webpack-dev-server": "^3.9.0",
|
|
|
+ "webpack-merge": "^4.2.2"
|
|
|
}
|
|
|
}
|