Ghost/ghost/sodo-search
Fabien "egg" O'Carroll 104f84f252 Added eslint rule for file naming convention
As discussed with the product team we want to enforce kebab-case file names for
all files, with the exception of files which export a single class, in which
case they should be PascalCase and reflect the class which they export.

This will help find classes faster, and should push better naming for them too.

Some files and packages have been excluded from this linting, specifically when
a library or framework depends on the naming of a file for the functionality
e.g. Ember, knex-migrator, adapter-manager
2023-05-09 12:34:34 -04:00
..
.github/workflows Added custom build for minified script 2022-07-04 15:41:14 +02:00
public Deleted main.css from git 2022-07-05 15:11:51 +02:00
scripts Fixed sodo-search build script 2023-05-01 13:00:37 -04:00
src Updated react-scripts to v5 2023-03-17 09:52:12 +01:00
.yarnrc Added .yarnrc config to Sodo-Search 2023-03-17 10:41:47 +01:00
LICENSE Initial commit 2022-07-04 15:36:49 +02:00
package.json Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
postcss.config.js Added tailwind CSS setup 2022-07-05 11:48:03 +02:00
README.md Initial commit 2022-07-04 15:36:49 +02:00
tailwind.config.js Improved search modal animation 2022-07-07 17:00:48 +02:00
webpack.config.js Added custom build for minified script 2022-07-04 15:41:14 +02:00

Sodo Search

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.