@ackee/react-scripts

Configuration and scripts for Create React App.

Usage no npm install needed!

<script type="module">
  import ackeeReactScripts from 'https://cdn.skypack.dev/@ackee/react-scripts';
</script>

README

ackee|@ackee/react-scripts

GitHub license"> CI Status PRs Welcome Coverage Status Dependency Status

@ackee/react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

How to use

To create a new project with specific version of @ackee/react-scripts, run the following command. Don't forget to replace my-app with your project name:

npx @ackee/create-react-app my-app --scripts-version @ackee/react-scripts@1.0.0

Development

Read, how to efficiently develop the react-scripts package and how to locally build a new skeleton from the latest template.

Testing react-scripts

Testing new template

You can run @ackee/create-react-app with local react-scripts version:

npx @ackee/create-react-app my-test-app --scripts-version file:./create-react-app/packages/react-scripts;

Or you can just run a small script: bash ./create-test-react-app.sh

#!/usr/bin/env bash

# delete old data
rm -rf ./my-test-app;

# build skeleton with the latest local version of your react-scripts
npx @ackee/create-react-app my-test-app --scripts-version file:./create-react-app/packages/react-scripts;

Save your time, read this:

Make sure that node_modules aren't included in the react-scripts directory when running the script above. Otherwise, weird issues may occur!

Upgrading (rebasing) to a new Create React App version