/yanc-react-scripts

Custom react-scripts for create-react-app

Primary LanguageJavaScriptMIT LicenseMIT

yanc-react-scripts

@yanc/react-scripts@git+https://github.com/aistyler/yanc-react-scripts.git#semver:~4.0.0

Usage

  • create app uaing create-react-app
$> npx create-react-app \  # cra cli
    cra-app \             # package name
    --scripts-version \    # custom script package
        @yanc/react-scripts@git+https://github.com/aistyler/yanc-react-scripts.git#semver:~4.0.0
  • edit src/react-app-env.d.ts
- /// <reference types="react-scripts" />
+ /// <reference types="@yanc/react-scripts" />