Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@invisionag/cra-config

Package Overview
Dependencies
Maintainers
23
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invisionag/cra-config

## Installation

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
23
Weekly downloads
 
Created
Source

CRA config

Installation

yarn add --dev react-app-rewired @invisionag/cra-config

Create a .env file with:

SKIP_PREFLIGHT_CHECK=true
PORT="3040"               # change the port
REACT_APP_IVX_PORT="3040" # keep this equal to the one above
PUBLIC_URL="/start/"      # the public url for your app on www.injixo.local
BROWSER="none"

Change the package.json scripts to:

{
  "scripts": {
    "start": "react-app-rewired start",
    "test": "react-app-rewired test --coverage",
    "build": "react-app-rewired build"
  }
}

Create a /config-overrides.js file with the following content:

module.exports = require('@invisionag/cra-config');

FAQs

Package last updated on 06 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc