2020-04-21 17:49:52 -07:00
|
|
|
{
|
|
|
|
"name": "impress-2020-app",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2020-07-31 23:10:34 -07:00
|
|
|
"@apollo/client": "^3.1.1",
|
2020-04-22 14:02:23 -07:00
|
|
|
"@apollographql/graphql-playground-html": "^1.6.24",
|
2020-09-02 03:06:09 -07:00
|
|
|
"@auth0/auth0-react": "^1.0.0",
|
2020-09-07 20:59:38 -07:00
|
|
|
"@chakra-ui/core": "^1.0.0-rc.3",
|
|
|
|
"@chakra-ui/icons": "^1.0.0-rc.3",
|
|
|
|
"@chakra-ui/theme": "^1.0.0-rc.3",
|
2020-05-18 00:11:18 -07:00
|
|
|
"@loadable/component": "^5.12.0",
|
2020-04-21 17:49:52 -07:00
|
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
|
|
"@testing-library/react": "^9.3.2",
|
|
|
|
"@testing-library/user-event": "^7.1.2",
|
2020-05-14 15:51:08 -07:00
|
|
|
"apollo-link-persisted-queries": "^0.2.2",
|
2020-04-22 13:03:32 -07:00
|
|
|
"apollo-server": "^2.12.0",
|
2020-04-22 14:02:23 -07:00
|
|
|
"apollo-server-core": "^2.12.0",
|
|
|
|
"apollo-server-env": "^2.4.3",
|
2020-08-04 18:39:31 -07:00
|
|
|
"aws-sdk": "^2.726.0",
|
2020-04-22 13:03:32 -07:00
|
|
|
"dataloader": "^2.0.0",
|
2020-04-25 15:25:51 -07:00
|
|
|
"emotion": "^10.0.27",
|
2020-04-22 13:03:32 -07:00
|
|
|
"graphql": "^15.0.0",
|
2020-08-16 23:28:41 -07:00
|
|
|
"honeycomb-beeline": "^2.2.0",
|
2020-04-24 18:39:38 -07:00
|
|
|
"immer": "^6.0.3",
|
2020-08-04 18:39:31 -07:00
|
|
|
"jimp": "^0.14.0",
|
2020-09-02 23:00:16 -07:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
|
|
|
"jwks-rsa": "^1.9.0",
|
2020-04-22 13:03:32 -07:00
|
|
|
"mysql2": "^2.1.0",
|
2020-04-25 06:50:34 -07:00
|
|
|
"node-fetch": "^2.6.0",
|
2020-04-21 17:49:52 -07:00
|
|
|
"react": "^16.13.1",
|
2020-09-01 17:59:04 -07:00
|
|
|
"react-autosuggest": "^10.0.2",
|
2020-04-21 17:49:52 -07:00
|
|
|
"react-dom": "^16.13.1",
|
2020-09-19 22:10:52 -07:00
|
|
|
"react-icons": "^3.11.0",
|
2020-05-10 00:21:04 -07:00
|
|
|
"react-router-dom": "^5.1.2",
|
2020-04-24 00:28:00 -07:00
|
|
|
"react-scripts": "3.4.1",
|
2020-05-17 23:44:33 -07:00
|
|
|
"react-transition-group": "^4.3.0"
|
2020-04-21 17:49:52 -07:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-08-19 17:50:05 -07:00
|
|
|
"start": "yarn build-cached-data && react-app-rewired start",
|
|
|
|
"build": "yarn build-cached-data && react-app-rewired build",
|
2020-07-22 21:03:04 -07:00
|
|
|
"test": "react-app-rewired test --env=jsdom",
|
2020-04-23 01:08:00 -07:00
|
|
|
"eject": "react-scripts eject",
|
2020-08-11 22:07:56 -07:00
|
|
|
"mysql": "mysql --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --database=openneo_impress",
|
2020-09-18 05:24:03 -07:00
|
|
|
"mysql-dev": "mysql --host=localhost --user=impress_2020_dev --password=impress_2020_dev --database=impress_2020_dev",
|
2020-08-17 18:23:39 -07:00
|
|
|
"mysql-admin": "mysql --host=impress.openneo.net --user=matchu --password --database=openneo_impress",
|
2020-09-18 05:24:03 -07:00
|
|
|
"mysqldump": "mysqldump --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --column-statistics=0",
|
2020-10-06 06:11:22 -07:00
|
|
|
"download-mysql-schema": "yarn --silent mysqldump --no-data openneo_impress items item_translations parents_swf_assets pet_types pet_states swf_assets | sed 's/ AUTO_INCREMENT=[0-9]*//g' > scripts/setup-mysql-dev-schema.sql && yarn --silent mysqldump openneo_impress species species_translations colors color_translations zones zone_translations > scripts/setup-mysql-dev-constants.sql",
|
2020-09-18 05:24:03 -07:00
|
|
|
"setup-mysql": "yarn mysql-admin < scripts/setup-mysql.sql",
|
|
|
|
"setup-mysql-dev": "yarn mysql-dev < scripts/setup-mysql-dev-constants.sql && yarn mysql-dev < scripts/setup-mysql-dev-schema.sql",
|
2020-08-19 17:50:05 -07:00
|
|
|
"build-cached-data": "node -r dotenv/config scripts/build-cached-data.js",
|
2020-09-02 03:49:58 -07:00
|
|
|
"cache-asset-manifests": "node -r dotenv/config scripts/cache-asset-manifests.js",
|
2020-09-21 21:16:40 -07:00
|
|
|
"export-users-to-auth0": "node -r dotenv/config scripts/export-users-to-auth0.js",
|
|
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
|
|
"build-storybook": "build-storybook -s public"
|
2020-04-21 17:49:52 -07:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2020-04-21 20:32:53 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-09-21 21:16:40 -07:00
|
|
|
"@storybook/addon-actions": "^6.0.21",
|
|
|
|
"@storybook/addon-essentials": "^6.0.21",
|
|
|
|
"@storybook/addon-links": "^6.0.21",
|
|
|
|
"@storybook/node-logger": "^6.0.21",
|
|
|
|
"@storybook/preset-create-react-app": "^3.1.4",
|
|
|
|
"@storybook/react": "^6.0.21",
|
2020-04-22 13:03:32 -07:00
|
|
|
"apollo-server-testing": "^2.12.0",
|
2020-09-02 15:26:33 -07:00
|
|
|
"auth0": "^2.28.0",
|
2020-07-22 21:03:04 -07:00
|
|
|
"customize-cra": "^1.0.0",
|
|
|
|
"customize-cra-react-refresh": "^1.1.0",
|
2020-04-30 00:01:49 -07:00
|
|
|
"dotenv-cli": "^3.1.0",
|
2020-08-17 18:23:39 -07:00
|
|
|
"es6-promise-pool": "^2.5.0",
|
2020-09-02 03:49:58 -07:00
|
|
|
"inquirer": "^7.3.3",
|
2020-07-22 21:03:04 -07:00
|
|
|
"prettier": "^2.0.5",
|
2020-09-21 21:16:40 -07:00
|
|
|
"react-app-rewired": "^2.1.6",
|
|
|
|
"react-is": "^16.13.1"
|
2020-04-21 17:49:52 -07:00
|
|
|
}
|
|
|
|
}
|