Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Build web applications and components using modern JavaScript libraries easily.
Quickly create products powered by libraries like React and Redux ready for deployment in production with minimal additional setup using tools like Webpack and Babel .
Roc provides a cli for managing development, building and runtime configuration. It also boasts an architecture that sweeps complexity of npm library compositions away from your application.
Several opinionated packages and plugins exist that can save a lot of time if aligned with your preferences, for example providing Webpack, Babel and React ready to be used.
Development toolkit that makes it easier to create web applications and components without the boilerplate fragmentation and complex setup processes. It does this in a modular and extendable way.
Makes it easy to; using existing packages:
Basically Roc composes some great open source tools and make them easy to use with a streamlined command line interface and configuration/extension system. Roc allows for overriding of every aspect of it, so it does not limit you.
npm install -g roc
This provides you with a really simple command line interface. Only Linux and OS X is currently supported.
mkdir react-app && cd react-app
roc init web-react
roc dev
This will:
To build and run in production just use:
roc build
roc start
Read the documentation for the particular package that is used for more details on what it does. A very common use-case is to make modifications to your roc.config.js
. To get a better understanding of all the possible options in the package use the roc list-settings
command or --help
for a specific command.
Roc is highly flexible and makes it easy to create new extensions. It does not enforce limits on what the extensions do or how they do it. It is trivial to both create new extensions in the form of packages and plugins as well as to extend existing ones. For example it would be possible to create a alternative to roc-web
that uses Browserify instead of Webpack.
Project | Github page |
---|---|
To be added |
Project | Github page |
---|---|
To be added |
See the documentation.
Roc was born out of the need to create modern applications following the correct conventions and using best practices consistently.
We quickly realized that keeping boilerplate updated within each project over time was unmanageable. It seems natural to have this repeated complexity managed by separated semantically versioned packages.
Development of Roc was started before these posts where created but they still describe what Roc aims to solve in a good way:
We are still working on getting the balance between flexibility and easy-of-use. Input here is valuable to us and please contribute if you want, we welcome you to interact.
Thanks to Jongleberry for letting us use the roc
package name on npm.
FAQs
Build modern web applications easily
The npm package roc receives a total of 47 weekly downloads. As such, roc popularity was classified as not popular.
We found that roc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.