
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socketβs new workflow scanning support.
@axa-fr/create-starter-design-system
Advanced tools
This project is currently under construction.
No version has been published on npm yet.
The goal of this project is to help you quickly start a new React project, including all the pre-configurations and technical recommendations adopted at AXA. With this starter, you benefit from a solid, modern, and secure foundation, suitable for both B2B and B2C teams.
The starter integrates the AXA design system, allowing you to create applications consistent with the group's visual identity, while remaining flexible for your specific needs.
To generate a new React project, simply run the following command:
npm create @axa-fr/starter-design-system@latest
Follow the instructions to choose your options (Project Name, DS B2B or B2C, etc.).
You can use the starter via the command line to quickly scaffold a new project with your preferred options.
To display the help menu with all available options:
npm create @axa-fr/starter-design-system -- --help
Usage:
create-starter-design-system [options]
Options:
-p, --project-name <name>
-d, --design-system <name>
apollo
, slash
, or look&feel
.-g, --use-git
-h, --help
-v, --version
Examples:
my-project
with the apollo
design system:
npm create @axa-fr/starter-design-system -- -p my-project -d apollo
npx
to create a project with the slash
design system and initialize git:
npx @axa-fr/create-starter-design-system -p my-project -d slash -g
After running the command, follow the interactive prompts if you did not specify all options.
my-project/
βββ public/
βββ src/
β βββ App/
β β βββ App.tsx
β βββ Pages/
β βββ main.ts
βββ eslint.config.js
βββ prettier.config.js
βββ package.json
βββ README.md
To contribute:
Clone the repository:
git clone <repository-url>
cd starter-design-system
Available commands:
npm run start
npm run build
npm run lint
npm run test
npm run test:watch
To test the starter locally before publishing:
In the repository folder, link the package:
npm link
npm run start
In another working directory, link and use the starter:
npm link @axa-fr/create-starter-design-system
npm create @axa-fr/starter-design-system
Once finished, unlink:
npm unlink @axa-fr/create-starter-design-system
And in the repository folder:
npm unlink
This project is open-source under the MIT LICENSE, allowing flexibility for adaptation and expansion.
FAQs
starter-design-system
We found that @axa-fr/create-starter-design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 7 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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socketβs new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.