From fc9bc40397e2c5bac705ef9035274e8d9c1de46f Mon Sep 17 00:00:00 2001 From: NicolasNewman Date: Tue, 25 Feb 2020 17:35:46 -0500 Subject: [PATCH] bumped version --- client/package.json | 197 +++++++++++---------- launcher/package.json | 393 +++++++++++++++++++++--------------------- package.json | 127 +++++++------- server/package.json | 169 +++++++++--------- 4 files changed, 441 insertions(+), 445 deletions(-) diff --git a/client/package.json b/client/package.json index 74cec0b..38618f8 100644 --- a/client/package.json +++ b/client/package.json @@ -1,100 +1,99 @@ { - "name": "scouter", - "version": "0.2.1", - "description": "A scouting utility to for use in FRC regional events", - "author": "NicolasNewman (https://github.com/NicolasNewman/)", - "contributors": [ - "NicolasNewman (https://github.com/NicolasNewman/)" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/NicolasNewman/scouter.git" - }, - "keywords": [ - "react", - "typescript", - "visual-studio-code", - "chrome-devtools", - "webpack", - "webpack-dev-server", - "typestyle", - "react-testing-library", - "jest", - "react-helmet", - "semantic-ui", - "boilerplate" - ], - "scripts": { - "build": "webpack", - "build:prod": "webpack --env.prod", - "compile": "tsc -p .", - "lint": "tslint -p .", - "dev": "webpack-dev-server --config webpack.config.js", - "test": "cross-env NODE_ENV=test jest", - "build:prod-debug": "webpack --env.prod", - "postbuild:prod-debug": "yarn copy", - "precopy": "rimraf ../server/build/client && mkdirp ../server/build/client", - "copy": "copyfiles -f dist/* ../server/build/client/" - }, - "dependencies": { - "@fortawesome/fontawesome-free": "^5.12.0", - "antd": "^3.26.3", - "axios": "^0.19.0", - "connected-react-router": "^6.6.1", - "fast-deep-equal": "^3.1.1", - "plotly.js": "^1.51.3", - "react": "16.12.0", - "react-dom": "16.12.0", - "react-helmet": "5.2.1", - "react-plotly.js": "^2.4.0", - "react-redux": "^7.1.3", - "react-router-dom": "^5.1.2", - "redux": "^4.0.4", - "redux-thunk": "^2.3.0", - "socket.io-client": "^2.3.0", - "typestyle": "^2.0.4" - }, - "devDependencies": { - "@testing-library/jest-dom": "^4.2.4", - "@testing-library/react": "^9.3.2", - "@types/jest": "^24.0.23", - "@types/plotly.js": "^1.44.28", - "@types/react": "^16.9.11", - "@types/react-dom": "16.9.4", - "@types/react-helmet": "5.0.14", - "@types/react-plotly.js": "^2.2.4", - "@types/react-redux": "^7.1.5", - "@types/react-router-dom": "^5.1.2", - "@types/socket.io-client": "^1.4.32", - "@types/webpack-dev-server": "^3.1.7", - "brotli-webpack-plugin": "1.1.0", - "clean-webpack-plugin": "3.0.0", - "compression-webpack-plugin": "3.0.0", - "copyfiles": "^2.1.1", - "cross-env": "^6.0.3", - "css-loader": "3.2.0", - "file-loader": "^5.0.2", - "fork-ts-checker-webpack-plugin": "3.1.0", - "html-webpack-brotli-plugin": "0.0.4", - "html-webpack-harddisk-plugin": "1.0.1", - "html-webpack-plugin": "3.2.0", - "html-webpack-template": "6.2.0", - "jest": "^24.9.0", - "less": "^3.10.3", - "less-loader": "^5.0.0", - "mkdirp": "^0.5.1", - "rimraf": "^3.0.0", - "style-loader": "1.0.0", - "ts-jest": "^24.1.0", - "ts-loader": "6.2.1", - "tslib": "1.10.0", - "tslint": "5.20.1", - "tslint-react": "^4.1.0", - "typescript": "3.7.2", - "url-loader": "^3.0.0", - "webpack": "4.41.2", - "webpack-cli": "3.3.10", - "webpack-dev-server": "3.7.2" - } -} + "name": "scouter", + "description": "A scouting utility to for use in FRC regional events", + "author": "NicolasNewman (https://github.com/NicolasNewman/)", + "contributors": [ + "NicolasNewman (https://github.com/NicolasNewman/)" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/NicolasNewman/scouter.git" + }, + "keywords": [ + "react", + "typescript", + "visual-studio-code", + "chrome-devtools", + "webpack", + "webpack-dev-server", + "typestyle", + "react-testing-library", + "jest", + "react-helmet", + "semantic-ui", + "boilerplate" + ], + "scripts": { + "build": "webpack", + "build:prod": "webpack --env.prod", + "compile": "tsc -p .", + "lint": "tslint -p .", + "dev": "webpack-dev-server --config webpack.config.js", + "test": "cross-env NODE_ENV=test jest", + "build:prod-debug": "webpack --env.prod", + "postbuild:prod-debug": "yarn copy", + "precopy": "rimraf ../server/build/client && mkdirp ../server/build/client", + "copy": "copyfiles -f dist/* ../server/build/client/" + }, + "dependencies": { + "@fortawesome/fontawesome-free": "^5.12.0", + "antd": "^3.26.3", + "axios": "^0.19.0", + "connected-react-router": "^6.6.1", + "fast-deep-equal": "^3.1.1", + "plotly.js": "^1.51.3", + "react": "16.12.0", + "react-dom": "16.12.0", + "react-helmet": "5.2.1", + "react-plotly.js": "^2.4.0", + "react-redux": "^7.1.3", + "react-router-dom": "^5.1.2", + "redux": "^4.0.4", + "redux-thunk": "^2.3.0", + "socket.io-client": "^2.3.0", + "typestyle": "^2.0.4" + }, + "devDependencies": { + "@testing-library/jest-dom": "^4.2.4", + "@testing-library/react": "^9.3.2", + "@types/jest": "^24.0.23", + "@types/plotly.js": "^1.44.28", + "@types/react": "^16.9.11", + "@types/react-dom": "16.9.4", + "@types/react-helmet": "5.0.14", + "@types/react-plotly.js": "^2.2.4", + "@types/react-redux": "^7.1.5", + "@types/react-router-dom": "^5.1.2", + "@types/socket.io-client": "^1.4.32", + "@types/webpack-dev-server": "^3.1.7", + "brotli-webpack-plugin": "1.1.0", + "clean-webpack-plugin": "3.0.0", + "compression-webpack-plugin": "3.0.0", + "copyfiles": "^2.1.1", + "cross-env": "^6.0.3", + "css-loader": "3.2.0", + "file-loader": "^5.0.2", + "fork-ts-checker-webpack-plugin": "3.1.0", + "html-webpack-brotli-plugin": "0.0.4", + "html-webpack-harddisk-plugin": "1.0.1", + "html-webpack-plugin": "3.2.0", + "html-webpack-template": "6.2.0", + "jest": "^24.9.0", + "less": "^3.10.3", + "less-loader": "^5.0.0", + "mkdirp": "^0.5.1", + "rimraf": "^3.0.0", + "style-loader": "1.0.0", + "ts-jest": "^24.1.0", + "ts-loader": "6.2.1", + "tslib": "1.10.0", + "tslint": "5.20.1", + "tslint-react": "^4.1.0", + "typescript": "3.7.2", + "url-loader": "^3.0.0", + "webpack": "4.41.2", + "webpack-cli": "3.3.10", + "webpack-dev-server": "3.7.2" + } +} \ No newline at end of file diff --git a/launcher/package.json b/launcher/package.json index 505cd79..a7fb1e2 100644 --- a/launcher/package.json +++ b/launcher/package.json @@ -1,200 +1,199 @@ { - "name": "scouter", - "version": "0.2.1", - "description": "A scouting utility for use in FRC regional events", - "author": "NicolasNewman (https://github.com/NicolasNewman/)", - "contributors": [ - "NicolasNewman (https://github.com/NicolasNewman/)" - ], - "main": "./app/main.prod.js", - "repository": "https://github.com/NicolasNewman/electron-boilerplate", - "license": "MIT", - "scripts": { - "dev": "cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev", - "build": "concurrently \"yarn build-main\" \"yarn build-renderer\"", - "start": "cross-env NODE_ENV=production electron ./app/main.prod.js", - "package": "yarn build && electron-builder build --publish never", - "build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors", - "build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors", - "build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors", - "package-all": "yarn build && electron-builder build -mwl", - "package-linux": "yarn build && electron-builder build --linux", - "package-win": "yarn build && electron-builder build --win --x64", - "start-main-dev": "cross-env HOT=1 NODE_ENV=development electron ./app/main.dev.babel.js", - "start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js" + "name": "scouter", + "description": "A scouting utility for use in FRC regional events", + "author": "NicolasNewman (https://github.com/NicolasNewman/)", + "contributors": [ + "NicolasNewman (https://github.com/NicolasNewman/)" + ], + "main": "./app/main.prod.js", + "repository": "https://github.com/NicolasNewman/electron-boilerplate", + "license": "MIT", + "scripts": { + "dev": "cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev", + "build": "concurrently \"yarn build-main\" \"yarn build-renderer\"", + "start": "cross-env NODE_ENV=production electron ./app/main.prod.js", + "package": "yarn build && electron-builder build --publish never", + "build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors", + "build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors", + "build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors", + "package-all": "yarn build && electron-builder build -mwl", + "package-linux": "yarn build && electron-builder build --linux", + "package-win": "yarn build && electron-builder build --win --x64", + "start-main-dev": "cross-env HOT=1 NODE_ENV=development electron ./app/main.dev.babel.js", + "start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js" + }, + "build": { + "productName": "Scouter", + "appId": "com.nicolasnewman.scouter", + "files": [ + "app/dist/", + "app/app.html", + "app/main.prod.js", + "app/main.prod.js.map", + "package.json" + ], + "extraResources": [ + { + "from": "../server/", + "to": "./server", + "filter": [ + "!node_modules/" + ] + }, + { + "from": "../client/", + "to": "./client", + "filter": [ + "!node_modules/" + ] + }, + { + "from": "./scripts", + "to": "./scripts" + }, + { + "from": "../package.json", + "to": "." + } + ], + "dmg": { + "contents": [ + { + "x": 130, + "y": 220 }, - "build": { - "productName": "Scouter", - "appId": "com.nicolasnewman.scouter", - "files": [ - "app/dist/", - "app/app.html", - "app/main.prod.js", - "app/main.prod.js.map", - "package.json" - ], - "extraResources": [ - { - "from": "../server/", - "to": "./server", - "filter": [ - "!node_modules/" - ] - }, - { - "from": "../client/", - "to": "./client", - "filter": [ - "!node_modules/" - ] - }, - { - "from": "./scripts", - "to": "./scripts" - }, - { - "from": "../package.json", - "to": "." - } - ], - "dmg": { - "contents": [ - { - "x": 130, - "y": 220 - }, - { - "x": 410, - "y": 220, - "type": "link", - "path": "/Applications" - } - ] - }, - "win": { - "target": [ - "nsis", - "msi" - ] - }, - "linux": { - "target": [ - "deb", - "rpm", - "snap", - "AppImage" - ], - "category": "Development" - }, - "directories": { - "buildResources": "resources", - "output": "release" - }, - "publish": { - "provider": "github", - "owner": "NicolasNewman", - "repo": "https://github.com/NicolasNewman/Scouter/", - "private": false - } - }, - "dependencies": { - "@fortawesome/fontawesome-free": "^5.8.1", - "antd": "^3.26.6", - "connected-react-router": "^6.3.2", - "core-js": "2", - "custom-electron-titlebar": "^3.1.0", - "devtron": "^1.4.0", - "electron-debug": "^2.1.0", - "electron-log": "^4.0.2", - "electron-store": "^5.0.0", - "electron-updater": "^4.0.6", - "history": "^4.9.0", - "react": "^16.8.6", - "react-dom": "^16.8.6", - "react-hot-loader": "^4.8.2", - "react-redux": "^6.0.1", - "react-router": "^5.0.0", - "react-router-dom": "^5.0.0", - "redux": "^4.0.1", - "redux-thunk": "^2.3.0", - "source-map-support": "^0.5.11" - }, - "devDependencies": { - "@babel/core": "^7.2.2", - "@babel/plugin-proposal-class-properties": "^7.2.3", - "@babel/plugin-proposal-decorators": "^7.2.3", - "@babel/plugin-proposal-do-expressions": "^7.2.0", - "@babel/plugin-proposal-export-default-from": "^7.2.0", - "@babel/plugin-proposal-export-namespace-from": "^7.2.0", - "@babel/plugin-proposal-function-bind": "^7.2.0", - "@babel/plugin-proposal-function-sent": "^7.2.0", - "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0", - "@babel/plugin-proposal-numeric-separator": "^7.2.0", - "@babel/plugin-proposal-optional-chaining": "^7.2.0", - "@babel/plugin-proposal-pipeline-operator": "^7.2.0", - "@babel/plugin-proposal-throw-expressions": "^7.2.0", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-syntax-import-meta": "^7.2.0", - "@babel/plugin-transform-react-constant-elements": "^7.2.0", - "@babel/plugin-transform-react-inline-elements": "^7.2.0", - "@babel/preset-env": "^7.2.3", - "@babel/preset-react": "^7.0.0", - "@babel/preset-typescript": "^7.1.0", - "@babel/register": "^7.0.0", - "@types/node": "^13.1.2", - "@types/react": "^16.7.18", - "@types/react-dom": "^16.0.11", - "@types/react-redux": "^6.0.12", - "@types/react-router-dom": "^4.3.1", - "@types/redux-logger": "^3.0.6", - "babel-core": "7.0.0-bridge.0", - "babel-eslint": "^10.0.1", - "babel-loader": "^8.0.5", - "babel-plugin-dev-expression": "^0.2.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.21", - "chalk": "^2.4.1", - "concurrently": "^4.1.0", - "cross-env": "^5.2.0", - "css-loader": "^2.1.0", - "detect-port": "^1.3.0", - "electron": "^4.0.1", - "electron-builder": "^20.38.4", - "electron-devtools-installer": "^2.2.4", - "eslint": "^5.16.0", - "eslint-config-airbnb": "^17.1.0", - "eslint-config-erb": "^0.0.2", - "eslint-config-prettier": "^4.1.0", - "eslint-formatter-pretty": "^2.1.1", - "eslint-import-resolver-webpack": "^0.11.0", - "eslint-plugin-compat": "^3.1.0", - "eslint-plugin-import": "^2.16.0", - "eslint-plugin-jsx-a11y": "6.2.1", - "eslint-plugin-prettier": "^3.0.1", - "eslint-plugin-promise": "^4.1.1", - "eslint-plugin-react": "^7.12.4", - "file-loader": "^3.0.1", - "less": "^3.9.0", - "less-loader": "^5.0.0", - "lint-staged": "^8.1.5", - "mini-css-extract-plugin": "^0.5.0", - "optimize-css-assets-webpack-plugin": "^5.0.1", - "prettier": "^1.16.4", - "redux-logger": "^3.0.6", - "rimraf": "^2.6.3", - "style-loader": "^0.23.1", - "stylelint": "^9.10.1", - "stylelint-config-prettier": "^5.0.0", - "stylelint-config-standard": "^18.2.0", - "ts-loader": "^5.3.2", - "typescript": "^3.2.2", - "url-loader": "^1.1.2", - "webpack": "^4.28.3", - "webpack-bundle-analyzer": "^3.3.2", - "webpack-cli": "^3.2.0", - "webpack-dev-server": "^3.1.14", - "webpack-merge": "^4.2.1", - "yarn": "^1.17.3" + { + "x": 410, + "y": 220, + "type": "link", + "path": "/Applications" } -} + ] + }, + "win": { + "target": [ + "nsis", + "msi" + ] + }, + "linux": { + "target": [ + "deb", + "rpm", + "snap", + "AppImage" + ], + "category": "Development" + }, + "directories": { + "buildResources": "resources", + "output": "release" + }, + "publish": { + "provider": "github", + "owner": "NicolasNewman", + "repo": "https://github.com/NicolasNewman/Scouter/", + "private": false + } + }, + "dependencies": { + "@fortawesome/fontawesome-free": "^5.8.1", + "antd": "^3.26.6", + "connected-react-router": "^6.3.2", + "core-js": "2", + "custom-electron-titlebar": "^3.1.0", + "devtron": "^1.4.0", + "electron-debug": "^2.1.0", + "electron-log": "^4.0.2", + "electron-store": "^5.0.0", + "electron-updater": "^4.0.6", + "history": "^4.9.0", + "react": "^16.8.6", + "react-dom": "^16.8.6", + "react-hot-loader": "^4.8.2", + "react-redux": "^6.0.1", + "react-router": "^5.0.0", + "react-router-dom": "^5.0.0", + "redux": "^4.0.1", + "redux-thunk": "^2.3.0", + "source-map-support": "^0.5.11" + }, + "devDependencies": { + "@babel/core": "^7.2.2", + "@babel/plugin-proposal-class-properties": "^7.2.3", + "@babel/plugin-proposal-decorators": "^7.2.3", + "@babel/plugin-proposal-do-expressions": "^7.2.0", + "@babel/plugin-proposal-export-default-from": "^7.2.0", + "@babel/plugin-proposal-export-namespace-from": "^7.2.0", + "@babel/plugin-proposal-function-bind": "^7.2.0", + "@babel/plugin-proposal-function-sent": "^7.2.0", + "@babel/plugin-proposal-json-strings": "^7.2.0", + "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0", + "@babel/plugin-proposal-numeric-separator": "^7.2.0", + "@babel/plugin-proposal-optional-chaining": "^7.2.0", + "@babel/plugin-proposal-pipeline-operator": "^7.2.0", + "@babel/plugin-proposal-throw-expressions": "^7.2.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", + "@babel/plugin-syntax-import-meta": "^7.2.0", + "@babel/plugin-transform-react-constant-elements": "^7.2.0", + "@babel/plugin-transform-react-inline-elements": "^7.2.0", + "@babel/preset-env": "^7.2.3", + "@babel/preset-react": "^7.0.0", + "@babel/preset-typescript": "^7.1.0", + "@babel/register": "^7.0.0", + "@types/node": "^13.1.2", + "@types/react": "^16.7.18", + "@types/react-dom": "^16.0.11", + "@types/react-redux": "^6.0.12", + "@types/react-router-dom": "^4.3.1", + "@types/redux-logger": "^3.0.6", + "babel-core": "7.0.0-bridge.0", + "babel-eslint": "^10.0.1", + "babel-loader": "^8.0.5", + "babel-plugin-dev-expression": "^0.2.1", + "babel-plugin-transform-react-remove-prop-types": "^0.4.21", + "chalk": "^2.4.1", + "concurrently": "^4.1.0", + "cross-env": "^5.2.0", + "css-loader": "^2.1.0", + "detect-port": "^1.3.0", + "electron": "^4.0.1", + "electron-builder": "^20.38.4", + "electron-devtools-installer": "^2.2.4", + "eslint": "^5.16.0", + "eslint-config-airbnb": "^17.1.0", + "eslint-config-erb": "^0.0.2", + "eslint-config-prettier": "^4.1.0", + "eslint-formatter-pretty": "^2.1.1", + "eslint-import-resolver-webpack": "^0.11.0", + "eslint-plugin-compat": "^3.1.0", + "eslint-plugin-import": "^2.16.0", + "eslint-plugin-jsx-a11y": "6.2.1", + "eslint-plugin-prettier": "^3.0.1", + "eslint-plugin-promise": "^4.1.1", + "eslint-plugin-react": "^7.12.4", + "file-loader": "^3.0.1", + "less": "^3.9.0", + "less-loader": "^5.0.0", + "lint-staged": "^8.1.5", + "mini-css-extract-plugin": "^0.5.0", + "optimize-css-assets-webpack-plugin": "^5.0.1", + "prettier": "^1.16.4", + "redux-logger": "^3.0.6", + "rimraf": "^2.6.3", + "style-loader": "^0.23.1", + "stylelint": "^9.10.1", + "stylelint-config-prettier": "^5.0.0", + "stylelint-config-standard": "^18.2.0", + "ts-loader": "^5.3.2", + "typescript": "^3.2.2", + "url-loader": "^1.1.2", + "webpack": "^4.28.3", + "webpack-bundle-analyzer": "^3.3.2", + "webpack-cli": "^3.2.0", + "webpack-dev-server": "^3.1.14", + "webpack-merge": "^4.2.1", + "yarn": "^1.17.3" + } +} \ No newline at end of file diff --git a/package.json b/package.json index a648854..c03d0cc 100644 --- a/package.json +++ b/package.json @@ -1,65 +1,64 @@ { - "name": "scouter", - "version": "0.2.1", - "description": "A scouting utility to for use in FRC regional events", - "author": "NicolasNewman (https://github.com/NicolasNewman/)", - "contributors": [ - "NicolasNewman (https://github.com/NicolasNewman/)" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/NicolasNewman/scouter.git" - }, - "keywords": [ - "react", - "typescript", - "nodejs", - "express", - "visual-studio-code", - "chrome-devtools", - "webpack", - "webpack-dev-server", - "typestyle", - "react-testing-library", - "supertest", - "jest", - "semantic-ui", - "boilerplate" - ], - "files": [ - "./client/*", - "./server/*", - "./launcher/*" - ], - "scriptsComments": { - "note": "The 'scripts' section is limited. Please refer to ./README.md, ./client/package.json, ./server/package.json" - }, - "scripts": { - "install": "cd client && yarn", - "postinstall": "cd server && yarn", - "test": "cd client && yarn test", - "posttest": "cd server && yarn copy && yarn test", - "compile": "cd client && yarn compile", - "postcompile": "cd server && yarn compile", - "build": "cd client && yarn build", - "postbuild": "cd server && yarn prestart", - "build:prod": "cd client && yarn build:prod", - "postbuild:prod": "cd server && yarn prestart", - "start:prod": "cd client && yarn build:prod", - "poststart:prod": "cd server && yarn start:prod", - "run:prod": "cd server && yarn run:prod", - "copy-global-client": "copyfiles -f global/* client/src/global", - "copy-global-server": "copyfiles -f global/* server/src/global", - "copy": "yarn copy-global-client && yarn copy-global-server", - "dev-server": "cd server && yarn dev", - "dev-client": "cd client && yarn dev", - "dev": "npm-run-all copy --parallel dev-server dev-client", - "build-win": "yarn copy && cd launcher && yarn package-win" - }, - "devDependencies": { - "copyfiles": "^2.2.0", - "npm-run-all": "^4.1.5", - "yargs": "^15.1.0" - } -} + "name": "scouter", + "description": "A scouting utility to for use in FRC regional events", + "author": "NicolasNewman (https://github.com/NicolasNewman/)", + "contributors": [ + "NicolasNewman (https://github.com/NicolasNewman/)" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/NicolasNewman/scouter.git" + }, + "keywords": [ + "react", + "typescript", + "nodejs", + "express", + "visual-studio-code", + "chrome-devtools", + "webpack", + "webpack-dev-server", + "typestyle", + "react-testing-library", + "supertest", + "jest", + "semantic-ui", + "boilerplate" + ], + "files": [ + "./client/*", + "./server/*", + "./launcher/*" + ], + "scriptsComments": { + "note": "The 'scripts' section is limited. Please refer to ./README.md, ./client/package.json, ./server/package.json" + }, + "scripts": { + "install": "cd client && yarn", + "postinstall": "cd server && yarn", + "test": "cd client && yarn test", + "posttest": "cd server && yarn copy && yarn test", + "compile": "cd client && yarn compile", + "postcompile": "cd server && yarn compile", + "build": "cd client && yarn build", + "postbuild": "cd server && yarn prestart", + "build:prod": "cd client && yarn build:prod", + "postbuild:prod": "cd server && yarn prestart", + "start:prod": "cd client && yarn build:prod", + "poststart:prod": "cd server && yarn start:prod", + "run:prod": "cd server && yarn run:prod", + "copy-global-client": "copyfiles -f global/* client/src/global", + "copy-global-server": "copyfiles -f global/* server/src/global", + "copy": "yarn copy-global-client && yarn copy-global-server", + "dev-server": "cd server && yarn dev", + "dev-client": "cd client && yarn dev", + "dev": "npm-run-all copy --parallel dev-server dev-client", + "build-win": "yarn copy && cd launcher && yarn package-win" + }, + "devDependencies": { + "copyfiles": "^2.2.0", + "npm-run-all": "^4.1.5", + "yargs": "^15.1.0" + } +} \ No newline at end of file diff --git a/server/package.json b/server/package.json index 6ca3e8a..b24bead 100644 --- a/server/package.json +++ b/server/package.json @@ -1,86 +1,85 @@ { - "name": "scouter", - "version": "0.2.1", - "description": "A scouting utility to for use in FRC regional events", - "author": "NicolasNewman (https://github.com/NicolasNewman/)", - "contributors": [ - "NicolasNewman (https://github.com/NicolasNewman/)" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/NicolasNewman/scouter.git" - }, - "keywords": [ - "typescript", - "nodejs", - "express", - "visual-studio-code", - "supertest", - "jest", - "winston", - "helmet", - "boilerplate" - ], - "scripts": { - "lint": "tslint -p .", - "compile": "tsc -p .", - "compile:watch": "tsc -w -p .", - "precopy": "rimraf build/client && mkdirp build/client/static", - "copy": "copyfiles -f ../client/dist/* build/client/static/ && copyfiles -f ../client/config/* config/", - "prestart": "yarn copy && yarn compile", - "start": "echo-cli Starting the backend... && node ./build/srv/main.js", - "prestart:prod": "yarn prestart", - "start:prod": "echo-cli Starting the backend... && cross-env NODE_ENV=production node ./build/server/src/srv/main.js", - "prod": "yarn start:prod", - "prestart:dev": "yarn prestart", - "start:dev": "echo-cli Starting the backend... && cross-env USE_DEV_WEBSERVER=true node ./build/server/src/srv/main.js", - "dev": "yarn start:dev", - "test": "cross-env NODE_ENV=test jest", - "run:prod": "echo-cli Starting the backend... && cross-env NODE_ENV=production node ./build/server/src/srv/main.js" - }, - "dependencies": { - "dotenv": "^8.2.0", - "express": "4.17.1", - "express-static-gzip": "^2.0.5", - "helmet": "^3.21.2", - "http-proxy-middleware": "^0.20.0", - "mongoose": "^5.7.14", - "node-fetch": "^2.6.0", - "socket.io": "^2.3.0", - "winston": "3.2.1" - }, - "devDependencies": { - "@types/dotenv": "^8.2.0", - "@types/express": "4.17.2", - "@types/flat": "^0.0.28", - "@types/helmet": "^0.0.45", - "@types/http-proxy-middleware": "^0.19.3", - "@types/jest": "24.0.23", - "@types/mongodb": "^3.3.12", - "@types/mongoose": "^5.5.32", - "@types/node": "12.12.11", - "@types/node-fetch": "^2.5.4", - "@types/socket.io": "^2.1.4", - "@types/supertest": "^2.0.8", - "copyfiles": "^2.1.1", - "cross-env": "^6.0.3", - "echo-cli": "^1.0.8", - "eslint": "^6.7.2", - "eslint-config-airbnb": "^18.0.1", - "eslint-config-erb": "^0.1.1", - "eslint-config-prettier": "^6.7.0", - "eslint-plugin-prettier": "^3.1.1", - "jest": "24.9.0", - "mkdirp": "^0.5.1", - "prettier": "^1.19.1", - "rimraf": "^3.0.0", - "stylelint": "^12.0.0", - "stylelint-config-prettier": "^8.0.0", - "stylelint-config-standard": "^19.0.0", - "supertest": "^4.0.2", - "ts-jest": "24.1.0", - "tslib": "1.10.0", - "typescript": "3.7.2" - } -} + "name": "scouter", + "description": "A scouting utility to for use in FRC regional events", + "author": "NicolasNewman (https://github.com/NicolasNewman/)", + "contributors": [ + "NicolasNewman (https://github.com/NicolasNewman/)" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/NicolasNewman/scouter.git" + }, + "keywords": [ + "typescript", + "nodejs", + "express", + "visual-studio-code", + "supertest", + "jest", + "winston", + "helmet", + "boilerplate" + ], + "scripts": { + "lint": "tslint -p .", + "compile": "tsc -p .", + "compile:watch": "tsc -w -p .", + "precopy": "rimraf build/client && mkdirp build/client/static", + "copy": "copyfiles -f ../client/dist/* build/client/static/ && copyfiles -f ../client/config/* config/", + "prestart": "yarn copy && yarn compile", + "start": "echo-cli Starting the backend... && node ./build/srv/main.js", + "prestart:prod": "yarn prestart", + "start:prod": "echo-cli Starting the backend... && cross-env NODE_ENV=production node ./build/server/src/srv/main.js", + "prod": "yarn start:prod", + "prestart:dev": "yarn prestart", + "start:dev": "echo-cli Starting the backend... && cross-env USE_DEV_WEBSERVER=true node ./build/server/src/srv/main.js", + "dev": "yarn start:dev", + "test": "cross-env NODE_ENV=test jest", + "run:prod": "echo-cli Starting the backend... && cross-env NODE_ENV=production node ./build/server/src/srv/main.js" + }, + "dependencies": { + "dotenv": "^8.2.0", + "express": "4.17.1", + "express-static-gzip": "^2.0.5", + "helmet": "^3.21.2", + "http-proxy-middleware": "^0.20.0", + "mongoose": "^5.7.14", + "node-fetch": "^2.6.0", + "socket.io": "^2.3.0", + "winston": "3.2.1" + }, + "devDependencies": { + "@types/dotenv": "^8.2.0", + "@types/express": "4.17.2", + "@types/flat": "^0.0.28", + "@types/helmet": "^0.0.45", + "@types/http-proxy-middleware": "^0.19.3", + "@types/jest": "24.0.23", + "@types/mongodb": "^3.3.12", + "@types/mongoose": "^5.5.32", + "@types/node": "12.12.11", + "@types/node-fetch": "^2.5.4", + "@types/socket.io": "^2.1.4", + "@types/supertest": "^2.0.8", + "copyfiles": "^2.1.1", + "cross-env": "^6.0.3", + "echo-cli": "^1.0.8", + "eslint": "^6.7.2", + "eslint-config-airbnb": "^18.0.1", + "eslint-config-erb": "^0.1.1", + "eslint-config-prettier": "^6.7.0", + "eslint-plugin-prettier": "^3.1.1", + "jest": "24.9.0", + "mkdirp": "^0.5.1", + "prettier": "^1.19.1", + "rimraf": "^3.0.0", + "stylelint": "^12.0.0", + "stylelint-config-prettier": "^8.0.0", + "stylelint-config-standard": "^19.0.0", + "supertest": "^4.0.2", + "ts-jest": "24.1.0", + "tslib": "1.10.0", + "typescript": "3.7.2" + } +} \ No newline at end of file