90 lines
3.7 KiB
JSON
90 lines
3.7 KiB
JSON
{
|
|
"name": "impress-2020-app",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@apollo/client": "^3.1.1",
|
|
"@apollographql/graphql-playground-html": "^1.6.24",
|
|
"@auth0/auth0-react": "^1.0.0",
|
|
"@chakra-ui/core": "^1.0.0-rc.3",
|
|
"@chakra-ui/icons": "^1.0.0-rc.3",
|
|
"@chakra-ui/theme": "^1.0.0-rc.3",
|
|
"@loadable/component": "^5.12.0",
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.3.2",
|
|
"@testing-library/user-event": "^7.1.2",
|
|
"apollo-link-persisted-queries": "^0.2.2",
|
|
"apollo-server": "^2.12.0",
|
|
"apollo-server-core": "^2.12.0",
|
|
"apollo-server-env": "^2.4.3",
|
|
"aws-sdk": "^2.726.0",
|
|
"dataloader": "^2.0.0",
|
|
"emotion": "^10.0.27",
|
|
"graphql": "^15.0.0",
|
|
"honeycomb-beeline": "^2.2.0",
|
|
"immer": "^6.0.3",
|
|
"jimp": "^0.14.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"jwks-rsa": "^1.9.0",
|
|
"mysql2": "^2.1.0",
|
|
"node-fetch": "^2.6.0",
|
|
"react": "^16.13.1",
|
|
"react-autosuggest": "^10.0.2",
|
|
"react-dom": "^16.13.1",
|
|
"react-icons": "^3.11.0",
|
|
"react-router-dom": "^5.1.2",
|
|
"react-scripts": "3.4.1",
|
|
"react-transition-group": "^4.3.0"
|
|
},
|
|
"scripts": {
|
|
"start": "yarn build-cached-data && react-app-rewired start",
|
|
"build": "yarn build-cached-data && react-app-rewired build",
|
|
"test": "react-app-rewired test --env=jsdom",
|
|
"eject": "react-scripts eject",
|
|
"mysql": "mysql --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --database=openneo_impress",
|
|
"mysql-dev": "mysql --host=localhost --user=impress_2020_dev --password=impress_2020_dev --database=impress_2020_dev",
|
|
"mysql-admin": "mysql --host=impress.openneo.net --user=matchu --password --database=openneo_impress",
|
|
"mysqldump": "mysqldump --host=impress.openneo.net --user=$(dotenv -p IMPRESS_MYSQL_USER) --password=$(dotenv -p IMPRESS_MYSQL_PASSWORD) --column-statistics=0",
|
|
"download-mysql-schema": "yarn --silent mysqldump --no-data openneo_impress items item_translations modeling_logs 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",
|
|
"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",
|
|
"build-cached-data": "node -r dotenv/config scripts/build-cached-data.js",
|
|
"cache-asset-manifests": "node -r dotenv/config scripts/cache-asset-manifests.js",
|
|
"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"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@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",
|
|
"apollo-server-testing": "^2.12.0",
|
|
"auth0": "^2.28.0",
|
|
"customize-cra": "^1.0.0",
|
|
"customize-cra-react-refresh": "^1.1.0",
|
|
"dotenv-cli": "^3.1.0",
|
|
"es6-promise-pool": "^2.5.0",
|
|
"inquirer": "^7.3.3",
|
|
"prettier": "^2.0.5",
|
|
"react-app-rewired": "^2.1.6",
|
|
"react-is": "^16.13.1"
|
|
}
|
|
}
|