liberte

1.1.3 • Public • Published

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"

https://en.wikipedia.org/wiki/Mahsa_Amini_protests

npm License node License webpack License typscript License

Installation

1.Install the latest version of the package from npm:

npm i liberte

2.Update the existing calls to react-scripts in the scripts section of your package.json to use the liberte CLI:

"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

  "compilerOptions":
  {...
    "outDir": "./dist/",
    ...}

5.Run this command in terminal

   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

linkedin

Package Sidebar

Install

npm i liberte

Weekly Downloads

0

Version

1.1.3

License

ISC

Unpacked Size

9.38 kB

Total Files

8

Last publish

Collaborators

  • mehrnoosh_bahmani