@rcsb/rcsb-documentation 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,70 +1,38 @@
1
- # Getting Started with Create React App
1
+ # RCSB Documentation Module (`@rcsb/rcsb-documentation`)
2
2
 
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3
+ This project is a React application that has been configured with Webpack for building and development.
4
4
 
5
- ## Available Scripts
6
-
7
- In the project directory, you can run:
8
-
9
- ### `npm start`
10
-
11
- Runs the app in the development mode.\
12
- Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13
-
14
- The page will reload when you make changes.\
15
- You may also see any lint errors in the console.
16
-
17
- ### `npm test`
18
-
19
- Launches the test runner in the interactive watch mode.\
20
- See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
-
22
- ### `npm run build`
23
-
24
- Builds the app for production to the `build` folder.\
25
- It correctly bundles React in production mode and optimizes the build for the best performance.
26
-
27
- The build is minified and the filenames include the hashes.\
28
- Your app is ready to be deployed!
5
+ The **RCSB Documentation Module** is a React-based project designed to serve as a dynamic and user-friendly landing page for hosting documentation related to [RCSB.org](https://www.rcsb.org/). This module is intended to be integrated within the **RCSB Sierra** web application, providing an enhanced user experience and streamlining access to information pertinent to the features and data available on RCSB.org.
29
6
 
30
- See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
7
+ ## Installation
31
8
 
32
- ### `npm run eject`
9
+ You can install the RCSB Documentation Module via npm:
33
10
 
34
- **Note: this is a one-way operation. Once you `eject`, you can't go back!**
11
+ npm install @rcsb/rcsb-documentation
35
12
 
36
- 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.
37
-
38
- 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.
39
-
40
- 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.
41
-
42
- ## Learn More
43
-
44
- You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
-
46
- To learn React, check out the [React documentation](https://reactjs.org/).
47
-
48
- ### Code Splitting
49
-
50
- This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51
-
52
- ### Analyzing the Bundle Size
13
+ ## Available Scripts
53
14
 
54
- This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
15
+ Inside the project directory, you can run the following commands:
55
16
 
56
- ### Making a Progressive Web App
17
+ ### `npm start`
57
18
 
58
- This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
19
+ - Launches the development server with Webpack.
20
+ - Open [http://localhost:3000](http://localhost:3000) to view the app in your browser.
21
+ - The app supports hot reloading, so any changes to the source files will automatically reflect in the browser.
59
22
 
60
- ### Advanced Configuration
23
+ ### `npm run build`
61
24
 
62
- This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
25
+ - Builds the project for production.
26
+ - Creates an optimized build in the `build` folder.
27
+ - The output is minified, and the filenames include content hashes for cache busting.
63
28
 
64
- ### Deployment
29
+ ## Project Structure
65
30
 
66
- This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
31
+ - **`src/`**: Contains the source code of the application, including components, styles, and assets.
32
+ - **`build/`**: The production-ready output generated by Webpack after running `npm run build`.
33
+ - **`webpack.config.js`**: The Webpack configuration file that manages the build and bundling process.
34
+ - **`.babelrc`**: Babel configuration file for JavaScript transpilation.
67
35
 
68
- ### `npm run build` fails to minify
36
+ ## License
69
37
 
70
- This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
38
+ This project is licensed under the [MIT License](LICENSE).