bryk
v2.0.102
Published
CLI tool for Bryk framework
Readme
Bryk CLI
Command-line tool for creating and managing Bryk Framework projects.
Installation
npm i -g brykUsage
Create a new project
# Create project in new directory
bryk init my-project
# Create project in current directory
bryk initAvailable Commands
bryk init [project-name]- Initialize a new Bryk project--force- Overwrite existing directory if it exists
What it creates
The CLI creates a complete Bryk project with:
- Core Framework:
bryk-core- The main framework - Bundle Components:
bryk-bundle- UI components and services - Development Setup: Webpack configuration for development and production
- Example Application: Complete working example with screens and components
- Build System: Production-ready build configuration
Project Structure
my-project/
├── src/
│ ├── app.js # Main application
│ ├── screens/ # Application screens
│ ├── components/ # Reusable components
│ └── services/ # API services
├── translations/ # Translation files
├── index.html # Main HTML file
├── package.json # Dependencies
├── webpack.config.js # Build configuration
└── serve.json # Production server configDevelopment
# Start development server
npm run dev
# Build for production
npm run build
# Serve production build
npm run serve:prodDependencies
The CLI creates projects that use:
bryk-core- Core framework functionalitybryk-bundle- UI components and services- Webpack - Build system
- Babel - JavaScript transpilation
License
ISC
