Celestial Components
Celestial Components is a frontend web component library built with React and Styled Components.
See homepage.
Installation
npm install celestial-components
Usage
Import the components you need in your React application:
import { Foo } from 'celestial-components'
function App() {
return (
<div>
<Foo />
</div>
)
}
Scripts
Development: Start the development server using Vite.
npm run dev
Testing: Run Jest tests with coverage.
npm test
Build: Build the project using TypeScript and Vite.
npm run build
Linting: Run ESLint for linting the code.
npm run lint
Preview: Preview the built project using Vite.
npm run preview
Publish: Publish the library to the npm registry.
npm run publish
Dependencies
- React: 18.2.0
- React DOM: 18.2.0
Development Dependencies
- TypeScript: 5.2.2
- Vite: 5.0.8
- Jest: 29.7.0
- ESLint: 8.55.0
- Styled Components: 6.1.6
- And others as listed in package.json.
License
This project is licensed under the MIT License - see the LICENSE file for details.