altaviadesignsystem
v1.0.6
Published
# To publish to npm registery:
Downloads
2
Readme
Boilerplate for a react package.
To publish to npm registery:
npm run build
- Make sure to change the version in package.json
npm login
npm publish
To install from git repository:
- Make sure to keep the dist folder and to not add it to gitignore. It's the most important one. It's where the code lies.
- Add the following dependency to the package.json: "nameOfThePackage": "[email protected]:FinalVossler/React-Micro-Bundle.git#master" or "nameOfThePackage": "git+https://github.com/FinalVossler/React-Micro-Bundle.git#master"
npm install
Good to know:
- I had to add this line in package.json for the types to be visible in another typescript project "types": "dist/index.d.ts",
To begin testing your component with storybook:
npx storybook@latest init
BAT => bon à tirer => ce que l'imprimeur va envoyer au client => fichier pdf =>
- la regression
- la traduction
1- 2- 3- Monorepo
1- designSystem 2- design backoffice