Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

generator-aegis-react

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-aegis-react

React脚手架,编译工具使用自研工具aegis-tools

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Warning

A mirror of Facebook's Warning

NPM

Usage

npm install warning
// some script
var warning = require('warning');

var ShouldBeTrue = false;

warning(ShouldBeTrue, 'This thing should be true but you set to false. No soup
for you!');
//  'This thing should be true but you set to false. No soup for you!'

Similar to Facebook's invariant but only logs a warning if the condition is not met. This can be used to log issues in development environments in critical paths. Removing the logging code for production environments will keep the same logic and follow the same code paths.

Browserify

When using browserify, the browser.js file will be imported instead of invariant.js and browserify will be told to transform the file with envify. The only difference between browser.js and invariant.js is the process.env.NODE_ENV variable isn't cached. This, in combination with envify and (optionally) uglifyjs, will result in a noop in production environments. Otherwise behavior is as expected.


















Don't Forget To Be Awesome

Keywords

yeoman-generator

FAQs

Package last updated on 24 Oct 2016

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