
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
create-carbon-app
Advanced tools
Quickly create a ready-for-dev application that uses React & Carbon - inspired by create-react-app.
npx create-carbon-app my-app
cd my-app
npm start
npx
comes with npm v5.2+
There are a number of commands set up to use out of the box:
npm start
- This will boot the app using Webpack for development.npm test
- This will boot Jest for running tests in watch mode (we also recommend you install NiM which will automatically open Chrome for you).npm run test:windows
- Same as above, but for Windows environments.npm run build
- This will compile assets ready for production (this defaults to the ./assets
directory).npm run build:windows
- Same as above, but for Windows environments.npm run ci
- This will run a combination of lint and Jest, perfect for continuous integration.npm run jest
- This will run Jest without any of the default options (without watch mode or debugging enabled).npm run lint -- ./src
- This runs linting over your code.Webpack is preconfigured using configuration from Carbon Factory. You can override options in the webpack.config.js
file, or create your own!
See Webpack for more information.
Jest is preconfigured using configuration from Carbon Factory. You can override options in the jest.config.js
file, or create your own!
See Jest for more information.
create-carbon-app is licensed under the Apache-2.0 licence.
Copyright (c) 2018 Sage Group Plc. All rights reserved.
FAQs
Easily get started with a new Carbon based app.
We found that create-carbon-app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.