Created
June 27, 2023 21:04
-
-
Save xlozinguez/e0f6253681e042aba626f9f5bf87891b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rogers", | |
"private": true, | |
"version": "0.1.0", | |
"description": "The team", | |
"author": "Transfix Engineering <[email protected]>", | |
"email": "[email protected]", | |
"engines": { | |
"node": "v14.18.0", | |
"npm": "9.6.5" | |
}, | |
"homepage": "https://apps.transfix.io", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/transfixio/rogers.git" | |
}, | |
"license": "UNLICENSED", | |
"bugs": { | |
"url": "https://github.com/transfixio/rogers/issues" | |
}, | |
"workspaces": [ | |
"src/apps/*" | |
], | |
"browserslist": [ | |
"> 0.25%", | |
"not op_mini all" | |
], | |
"scripts": { | |
"check-types": "tsc --project tsconfig.json", | |
"start": "npx webpack serve --config ./webpack/webpack.config.js --color --progress --open --env env=development", | |
"start:ci": "npx webpack serve --config ./webpack/webpack.config.js --no-hot --env env=local", | |
"start:ci:static": "npx http-server ./dist -p 8090 --proxy http://localhost:8090?", | |
"start:dev": "npx webpack serve --config ./webpack/webpack.config.js --host 0.0.0.0 --color --progress --open --env env=local", | |
"start:test": "npx webpack serve --config ./webpack/webpack.config.js --host 0.0.0.0 --color --progress --open --env env=test", | |
"start:prod": "npx webpack serve --config ./webpack/webpack.config.js --color --progress --open --env env=mockProd", | |
"start:fp": "npx webpack serve --config ./src/apps/fleet-planner/webpack.config.js --color --progress --env env=development", | |
"start:tms": "npx webpack serve --config ./src/apps/tms/webpack.config.js --color --progress --env env=development", | |
"bootstrap": "npx lerna bootstrap", | |
"clean:dist": "rm -rf dist", | |
"clean:cache": "rm -rf node_modules && rm -rf package-lock.json && npm cache clean --force", | |
"clean:all": "npm run clean:dist && npm run clean:cache && npm i --no-audit && npm run bootstrap && npm run cy:verify", | |
"clean:start": "npm run clean:all && npm start", | |
"lint": "jest --projects jest-eslint.config.js", | |
"lint:scss": "npx stylelint './src/**/*.scss' --config .stylelintrc", | |
"lint:everything": "npx lerna run lint", | |
"tag:deploy": "./tag-for-env.sh", | |
"test": "jest --projects jest-test.config.js --json --outputFile=unit-result.json --collectCoverage=false", | |
"test:watch": "jest --watchAll", | |
"test:single": "jest --coverage", | |
"cy": "npx cypress open", | |
"cy:coverage": "npx cypress open --config-file cypress-coverage.json", | |
"cy:run:staging": "CYPRESS_BASE_URL=https://apps-staging.transfix.io/# cypress open", | |
"cy:run": "npx cypress run", | |
"cy:run:single": "cypress run --spec", | |
"cy:verify": "npx cypress verify", | |
"cy:ci": "TZ=America/New_York CYPRESS_RETRIES=2 npx knapsack-pro-cypress --browser chrome --reporter cypress-multi-reporters --reporter-options configFile=reporter-config.json", | |
"postcy:ci": "jrm cypress/results/combined-report.xml \"cypress/results/*.xml\" || true", | |
"app:cy:run": "cypress run --spec 'tests/e2e/specs/marketplace/**/*.spec.**'", | |
"saas:cy:run": "cypress run --spec 'tests/e2e/specs/+(fleet-planner|tms|dashboard|saas)/**/*.spec.**'", | |
"report:coverage": "open coverage/lcov-report/index.html", | |
"cy:run:report": "npx nyc --reporter=html cypress run --config-file cypress-coverage.json && open coverage/lcov-report/index.html", | |
"preBuild": "npm run clean:dist", | |
"build:local": "NODE_OPTIONS=--max-old-space-size=6632 npm run preBuild && webpack --config ./webpack/webpack.config.js --env env=local --env branch=$GITHUB_BRANCH", | |
"build": "NODE_OPTIONS=--max-old-space-size=6632 webpack --config ./webpack/webpack.config.js --env env=staging --env branch=$GITHUB_BRANCH", | |
"build:e2e": "webpack --config ./webpack/webpack.config.js --env env=test", | |
"build:staging": "NODE_OPTIONS=--max-old-space-size=6632 npm run preBuild && webpack --config ./webpack/webpack.config.js --env env=staging --env branch=$GITHUB_BRANCH", | |
"build:demo": "NODE_OPTIONS=--max-old-space-size=6632 npm run preBuild && webpack --config ./webpack/webpack.config.js --env env=demo --env branch=$GITHUB_BRANCH --env build_for_new_staging='yes'", | |
"build:staging-new": "NODE_OPTIONS=--max-old-space-size=6632 npm run preBuild && webpack --config ./webpack/webpack.config.js --env env=staging --env branch=$GITHUB_BRANCH --env build_for_new_staging='yes'", | |
"build:prod": "NODE_OPTIONS=--max-old-space-size=6632 npm run preBuild && webpack --config ./webpack/webpack.config.js --env env=production", | |
"build:css": "npx lerna run build:css", | |
"build:icons": "node ./src/transfix-icons/scripts/build.js", | |
"analyze": "npx webpack --config ./webpack/webpack.config.js --env env=production --env analyze", | |
"measure:start": "npm run start -- --env measure", | |
"measure:build": "npm run build -- --env measure", | |
"deploy": "node ./scripts/s3-deploy.js", | |
"deploy:prod": "node ./scripts/s3-deploy.js --prod", | |
"storybook": "start-storybook -p 6006", | |
"storybook:charts": "STORIES=charts start-storybook -p 6006", | |
"storybook:build": "NODE_OPTIONS=--max-old-space-size=6632 build-storybook -c .storybook -o ./dpl", | |
"storybook:deploy": "node ./scripts/s3-deploy.js --target dpl", | |
"storybook:build:prod": "NODE_OPTIONS=--max-old-space-size=6632 STORYBOOK_ENV='production' build-storybook -c .storybook -o ./dpl", | |
"create": "TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=./rogers-cli/tsconfig-plop.json plop --plopfile ./rogers-cli/plopfile.ts --dest ./", | |
"create:chart": "TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=./rogers-cli/tsconfig-plop.json plop --plopfile ./rogers-cli/plopfile.ts '📊 Component: Chart' --dest ./", | |
"generate:client:mp": "npx restful-react import --config src/apps/marketplace/restful-react.config.js", | |
"generate:client:tms": "npx restful-react import --config src/apps/tms/restful-react.config.js", | |
"generate:client:fp": "npx restful-react import --config src/apps/fleet-planner/restful-react.config.js", | |
"postgenerate:client:mp": "prettier src/apps/marketplace/apiTypes/*.tsx src/apps/user/apiTypes/*.tsx src/apps/carrier/apiTypes/*.tsx --write", | |
"postgenerate:client:tms": "prettier src/apps/tms/types/apiTypes.tsx --write", | |
"postgenerate:client:fp": "prettier src/apps/fleet-planner/types/apiTypes.tsx --write", | |
"generate:graphql:mp": "./codegen-graphql.sh mp", | |
"generate:graphql:fms": "./codegen-graphql.sh fp", | |
"generate:graphql:tms": "./codegen-graphql.sh tms", | |
"generate:graphql:mp:local": "./codegen-graphql.sh mp-local", | |
"generate:graphql:fms:local": "./codegen-graphql.sh fp-local", | |
"generate:graphql:tms:local": "./codegen-graphql.sh tms-local", | |
"prettier:check": "prettier --config ./.prettierrc --check './src/**/*.{ts,tsx,scss,json}'", | |
"postinstall": "npm run download-schema && npm run download-fms-schema && npm run download-tms-schema && npx holidays2json --pick US", | |
"download-schema": "curl https://${BUNDLE_RUBYGEMS__PKG__GITHUB__COM}@raw.githubusercontent.com/transfixio/transfix/${MP_BRANCH:-main}/schema.graphql > schema.graphql", | |
"download-fms-schema": "curl https://${BUNDLE_RUBYGEMS__PKG__GITHUB__COM}@raw.githubusercontent.com/transfixio/fleet_planner/${FP_BRANCH:-main}/schema.graphql > FMSschema.graphql", | |
"download-tms-schema": "curl https://${BUNDLE_RUBYGEMS__PKG__GITHUB__COM}@raw.githubusercontent.com/transfixio/tms/${TMS_BRANCH:-main}/schema.graphql > TMSschema.graphql" | |
}, | |
"devDependencies": { | |
"@apollo/react-testing": "4.0.0", | |
"@aws-sdk/client-s3": "3.231.0", | |
"@babel/core": "7.15.8", | |
"@babel/plugin-proposal-class-properties": "7.14.5", | |
"@babel/plugin-proposal-export-default-from": "7.14.5", | |
"@babel/plugin-proposal-export-namespace-from": "7.14.5", | |
"@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5", | |
"@babel/plugin-proposal-object-rest-spread": "7.15.6", | |
"@babel/plugin-proposal-optional-chaining": "7.14.5", | |
"@babel/plugin-transform-arrow-functions": "7.14.5", | |
"@babel/plugin-transform-async-to-generator": "7.14.5", | |
"@babel/preset-env": "7.15.8", | |
"@babel/preset-flow": "7.14.5", | |
"@babel/preset-react": "7.14.5", | |
"@babel/preset-typescript": "7.15.0", | |
"@babel/runtime": "7.15.4", | |
"@babel/runtime-corejs3": "7.15.4", | |
"@babel/traverse": "7.15.4", | |
"@cypress/code-coverage": "3.9.12", | |
"@graphql-codegen/cli": "3.2.2", | |
"@graphql-codegen/near-operation-file-preset": "2.2.2", | |
"@graphql-codegen/typescript": "2.3.0", | |
"@graphql-codegen/typescript-operations": "2.2.0", | |
"@graphql-codegen/typescript-react-apollo": "3.2.0", | |
"@graphql-eslint/eslint-plugin": "3.1.0", | |
"@istanbuljs/nyc-config-typescript": "1.0.1", | |
"@knapsack-pro/cypress": "4.5.0", | |
"@storybook/addon-a11y": "6.5.16", | |
"@storybook/addon-actions": "6.5.16", | |
"@storybook/addon-controls": "6.5.16", | |
"@storybook/addon-links": "6.5.16", | |
"@storybook/addon-options": "5.3.21", | |
"@storybook/addon-viewport": "6.5.16", | |
"@storybook/addons": "6.5.16", | |
"@storybook/builder-webpack5": "6.5.16", | |
"@storybook/manager-webpack5": "6.5.16", | |
"@storybook/react": "6.5.16", | |
"@svgr/webpack": "6.5.1", | |
"@testing-library/cypress": "8.0.1", | |
"@testing-library/jest-dom": "5.14.1", | |
"@testing-library/react": "11.2.7", | |
"@testing-library/react-hooks": "7.0.2", | |
"@types/autosuggest-highlight": "3.1.0", | |
"@types/classnames": "2.2.10", | |
"@types/clipboard": "2.0.1", | |
"@types/color": "3.0.1", | |
"@types/d3-array": "2.9.0", | |
"@types/d3-scale": "3.3.2", | |
"@types/faker": "5.5.9", | |
"@types/figlet": "1.5.4", | |
"@types/geojson": "7946.0.8", | |
"@types/glob-to-regexp": "0.4.1", | |
"@types/humps": "1.1.2", | |
"@types/jest": "26.0.24", | |
"@types/js-cookie": "2.2.7", | |
"@types/loadable__component": "5.13.4", | |
"@types/lodash": "4.14.175", | |
"@types/mapbox-gl": "0.54.5", | |
"@types/moment-duration-format": "2.2.3", | |
"@types/moment-timezone": "0.5.30", | |
"@types/node": "12.12.67", | |
"@types/papaparse": "5.3.0", | |
"@types/qs": "6.9.7", | |
"@types/query-string": "6.3.0", | |
"@types/react": "17.0.29", | |
"@types/react-beautiful-dnd": "12.1.5", | |
"@types/react-document-title": "2.0.5", | |
"@types/react-dom": "17.0.2", | |
"@types/react-flatpickr": "3.8.5", | |
"@types/react-gtm-module": "2.0.1", | |
"@types/react-page-visibility": "6.4.1", | |
"@types/react-pdf": "5.7.2", | |
"@types/react-redux": "7.1.19", | |
"@types/react-router-dom": "5.3.1", | |
"@types/react-stickynode": "2.1.0", | |
"@types/react-tooltip": "3.11.0", | |
"@types/react-window": "1.8.5", | |
"@types/redux-mock-store": "1.0.3", | |
"@types/uuid": "3.4.5", | |
"@types/webpack-env": "1.16.3", | |
"@types/yup": "0.26.32", | |
"@typescript-eslint/eslint-plugin": "5.0.0", | |
"@typescript-eslint/parser": "5.0.0", | |
"@typescript-eslint/typescript-estree": "5.0.0", | |
"autoprefixer": "9.0.0", | |
"autosuggest-highlight": "3.2.0", | |
"babel-jest": "29.5.0", | |
"babel-loader": "8.2.2", | |
"babel-plugin-dynamic-import-node": "2.3.3", | |
"babel-plugin-transform-react-stateless-component-name": "1.1.2", | |
"babel-plugin-transform-runtime": "6.23.0", | |
"chalk": "4.1.2", | |
"commander": "4.1.1", | |
"copy-webpack-plugin": "6.4.1", | |
"css-loader": "6.7.3", | |
"css-minimizer-webpack-plugin": "3.1.1", | |
"css-mqpacker": "6.0.2", | |
"cypress": "8.7.0", | |
"cypress-file-upload": "5.0.8", | |
"cypress-multi-reporters": "1.5.0", | |
"cypress-real-events": "1.6.0", | |
"duplicate-package-checker-webpack-plugin": "3.0.0", | |
"esbuild-loader": "2.20.0", | |
"eslint": "8.0.0", | |
"eslint-config-airbnb": "18.2.1", | |
"eslint-config-prettier": "6.15.0", | |
"eslint-loader": "4.0.2", | |
"eslint-plugin-import": "2.25.2", | |
"eslint-plugin-jest-dom": "3.9.2", | |
"eslint-plugin-jsx-a11y": "6.4.1", | |
"eslint-plugin-prettier": "3.4.1", | |
"eslint-plugin-react": "7.26.1", | |
"eslint-plugin-react-hooks": "4.2.0", | |
"eslint-plugin-sort-destructure-keys": "1.4.0", | |
"eslint-plugin-storybook": "0.6.11", | |
"eslint-plugin-unused-imports": "1.0.3", | |
"eslint-webpack-plugin": "3.1.0", | |
"faker": "5.5.3", | |
"favicons": "7.1.1", | |
"favicons-webpack-plugin": "6.0.0", | |
"figlet": "1.5.2", | |
"file-loader": "6.2.0", | |
"fs-extra": "11.1.0", | |
"glob": "7.2.0", | |
"glob-to-regexp": "0.4.1", | |
"handlebars": "4.7.7", | |
"hard-source-webpack-plugin": "0.13.1", | |
"html-webpack-plugin": "5.5.0", | |
"http-server": "14.1.0", | |
"husky": "4.3.8", | |
"inquirer": "8.2.2", | |
"inquirer-fuzzy-path": "2.3.0", | |
"istanbul-lib-coverage": "3.2.0", | |
"jest": "29.5.0", | |
"jest-environment-jsdom": "29.5.0", | |
"jest-junit": "12.3.0", | |
"jest-runner-eslint": "1.1.0", | |
"jest-runtime": "24.9.0", | |
"junit-report-merger": "2.2.3", | |
"lerna": "4.0.0", | |
"lint-staged": "10.5.4", | |
"make-dir-webpack-plugin": "0.1.0", | |
"mime-types": "2.1.35", | |
"mini-css-extract-plugin": "1.6.2", | |
"mocha-junit-reporter": "2.0.2", | |
"moment-timezone-data-webpack-plugin": "1.5.0", | |
"node-sass": "8.0.0", | |
"nyc": "15.1.0", | |
"plop": "2.7.6", | |
"postcss": "8.4.21", | |
"postcss-combine-duplicated-selectors": "10.0.3", | |
"postcss-discard-comments": "5.1.2", | |
"postcss-import": "14.0.2", | |
"postcss-loader": "7.0.2", | |
"prettier": "2.0.5", | |
"prop-types": "15.7.2", | |
"react-hot-loader": "4.13.0", | |
"redux-mock-store": "1.5.4", | |
"s3-sync-client": "3.0.3", | |
"sass-loader": "13.2.2", | |
"simple-git": "3.16.0", | |
"speed-measure-webpack-plugin": "1.5.0", | |
"storybook-addon-apollo-client": "4.0.13", | |
"storybook-addon-designs": "6.3.1", | |
"storybook-addon-jsx": "7.3.14", | |
"storybook-addon-material-ui": "0.9.0-alpha.24", | |
"storybook-addon-react-docgen": "1.2.43", | |
"style-loader": "3.3.2", | |
"stylelint": "15.3.0", | |
"stylelint-config-recommended-scss": "9.0.1", | |
"stylelint-order": "6.0.3", | |
"stylelint-scss": "4.6.0", | |
"stylelint-webpack-plugin": "4.1.0", | |
"ts-jest": "29.0.5", | |
"ts-node": "10.7.0", | |
"tslint": "5.20.1", | |
"typescript": "4.5.4", | |
"url-loader": "4.1.1", | |
"webpack": "5.76.0", | |
"webpack-bundle-analyzer": "4.5.0", | |
"webpack-cli": "4.8.0", | |
"webpack-dev-server": "4.13.1", | |
"webpack-font-preload-plugin": "1.5.0", | |
"webpack-merge": "5.8.0", | |
"webpack-messages": "2.0.4" | |
}, | |
"dependencies": { | |
"@apollo/client": "3.4.16", | |
"@babel/plugin-proposal-private-property-in-object": "7.15.4", | |
"@codemirror/lang-javascript": "6.0.1", | |
"@datadog/browser-rum": "4.11.2", | |
"@date-io/moment": "1.3.13", | |
"@fullstory/browser": "1.5.1", | |
"@graphiql/toolkit": "0.4.0", | |
"@hookform/resolvers": "0.1.1", | |
"@hot-loader/react-dom": "16.8.1", | |
"@loadable/component": "5.15.2", | |
"@material-ui/core": "4.11.4", | |
"@material-ui/icons": "4.11.2", | |
"@material-ui/lab": "4.0.0-alpha.58", | |
"@material-ui/pickers": "3.3.10", | |
"@monaco-editor/react": "4.4.6", | |
"@popperjs/core": "2.10.2", | |
"@sentry/fullstory": "1.1.8", | |
"@sentry/react": "6.16.1", | |
"@sheerun/mutationobserver-shim": "0.3.3", | |
"@testing-library/user-event": "12.8.3", | |
"@trimblemaps/trimblemaps-js": "3.8.0", | |
"@turf/along": "6.5.0", | |
"@turf/bbox": "6.5.0", | |
"@turf/length": "6.5.0", | |
"@types/d3": "7.4.0", | |
"@uiw/react-codemirror": "4.11.4", | |
"@visx/axis": "2.10.0", | |
"@visx/curve": "2.1.0", | |
"@visx/event": "2.6.0", | |
"@visx/grid": "2.10.0", | |
"@visx/group": "2.10.0", | |
"@visx/marker": "2.12.2", | |
"@visx/responsive": "2.10.0", | |
"@visx/scale": "2.2.2", | |
"@visx/shape": "2.10.0", | |
"@visx/tooltip": "2.10.0", | |
"classnames": "2.3.1", | |
"clipboard": "2.0.8", | |
"color": "3.2.1", | |
"copy-to-clipboard": "3.3.1", | |
"d3": "7.8.2", | |
"d3-array": "2.12.1", | |
"date-holidays": "3.16.2", | |
"elkjs": "0.7.1", | |
"flatpickr": "4.5.2", | |
"git-revision-webpack-plugin": "5.0.0", | |
"graphiql": "1.5.1", | |
"graphql": "15.8.0", | |
"history": "4.7.2", | |
"humps": "2.0.1", | |
"is-buffer": "2.0.5", | |
"js-cookie": "2.2.1", | |
"kbar": "0.1.0-beta.40", | |
"lodash": "4.17.21", | |
"mapbox-gl": "1.13.2", | |
"match-sorter": "6.3.1", | |
"material-ui-dropzone": "3.5.0", | |
"moment": "2.29.4", | |
"moment-timezone": "0.5.41", | |
"monaco-editor": "0.34.0", | |
"normalizr": "3.6.1", | |
"p-min-delay": "4.0.1", | |
"papaparse": "5.3.1", | |
"query-string": "6.14.1", | |
"react": "17.0.2", | |
"react-autosuggest": "9.4.3", | |
"react-beautiful-dnd": "13.1.0", | |
"react-confetti": "6.0.1", | |
"react-document-title": "2.0.3", | |
"react-dom": "17.0.2", | |
"react-flatpickr": "3.10.0", | |
"react-flow-renderer": "9.7.4", | |
"react-ga": "3.3.1", | |
"react-gtm-module": "2.0.11", | |
"react-hook-form": "6.15.8", | |
"react-intersection-observer": "9.4.3", | |
"react-map-gl": "7.0.16", | |
"react-markdown": "8.0.3", | |
"react-number-format": "5.1.4", | |
"react-page-visibility": "6.4.0", | |
"react-pdf": "5.7.2", | |
"react-popper": "2.2.5", | |
"react-redux": "7.2.5", | |
"react-router-dom": "5.3.0", | |
"react-singleton-hook": "3.2.3", | |
"react-stickynode": "2.1.1", | |
"react-tooltip": "3.11.2", | |
"react-use": "15.3.8", | |
"react-use-intercom": "1.4.0", | |
"react-window": "1.8.8", | |
"react-xarrows": "2.0.2", | |
"redux": "4.2.0", | |
"redux-devtools-extension": "2.13.9", | |
"redux-thunk": "2.4.0", | |
"regenerator-runtime": "0.13.9", | |
"remark-gfm": "3.0.1", | |
"reselect": "3.0.1", | |
"restful-react": "15.6.0", | |
"ts-enum-util": "4.0.2", | |
"use-debounce": "3.2.0", | |
"use-query-params": "1.2.3", | |
"uuid": "3.3.2", | |
"webpack-retry-chunk-load-plugin": "3.1.1", | |
"whatwg-fetch": "2.0.4", | |
"xlsx": "0.18.5", | |
"yup": "0.28.1" | |
}, | |
"resolutions": { | |
"eslint-scope": "3.7.3" | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": [ | |
"lint-staged" | |
], | |
"post-merge": [ | |
"npm run download-schema && npm run download-fms-schema" | |
] | |
} | |
}, | |
"lint-staged": { | |
"*.{ts,tsx,scss,json,graphql}": [ | |
"eslint --cache --fix", | |
"prettier --write" | |
] | |
}, | |
"jest-junit": { | |
"addFileAttribute": true | |
}, | |
"jest": { | |
"projects": [ | |
"<rootDir>/jest-test.config.js", | |
"<rootDir>/jest-eslint.config.js" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment