liberte
Version:
Liberté is a react type script project has built with CRA and run with webpack dev server, so you can add your custom webpack config without "react-script eject".
57 lines (46 loc) • 1.83 kB
Markdown
# Liberté
Liberté is a react type script project built with CRA and runs with webpack dev server, so you can add your custom webpack config without "react-script eject".
I named this package Liberte to express my protest against the prevailing conditions in Iran.
Long live "Woman Life Freedom"
<div>
<a href="https://craco.js.org">
<img src="https://s26.picofile.com/file/8459183784/liberte.png" width="250" height="250">
</a>
<br>
</div>
https://en.wikipedia.org/wiki/Mahsa_Amini_protests
[](https://www.npmjs.com/)
[](https://nodejs.org/)
[](https://webpack.js.org/)
[](https://webpack.js.org/)
## Installation
1.Install the latest version of the package from npm:
```bash
npm i liberte
```
2.Update the existing calls to react-scripts in the scripts section of your package.json to use the liberte CLI:
```bash
"scripts": {
- "start": "react-scripts start"
+ "start": "liberte-start"
- "build": "react-scripts build"
+ "build": "liberte-build"
+ "liberte": "liberte-config"
}
```
3.Add this line to tsconfig.json
```bash
"compilerOptions":
{...
"outDir": "./dist/",
...}
```
5.Run this command in terminal
```bash
npm run liberte
```
6.If you have babelrc and webpack config from before, liberte keep your config as a comment, so you can uncomment yours and add them again
## 🚀 About Me
I'm a front end developer...
## 🔗 Links
[](https://www.linkedin.com/in/mehrnoosh-bahmani-9a3290132/)