react-scripts-inversify
Inversify configuration and scripts for Create React App.
Last updated 23 days ago by roaders .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-scripts-inversify 
SYNC missed versions from official npm registry.

react-scripts-inversify

This is a fork of react-scripts. This fork changes the tsconfig.json and webpack.config.js to retain metadata that can be used at runtime (for dependency injection for example).

To use these scripts, add --scripts-version react-scripts-inversify when creating a new app.

For example:

npx create-react-app my-app --scripts-version react-scripts-inversify

alternatively

npx create-react-app-inversify my-app

Changes:

tsconfig.json

  • experimentalDecorators: true
  • emitDecoratorMetadata: true

webpack.config.js

  • uses ts-loader rather than babel to compile typescript. Decorator metadata no longer removed.

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

Current Tags

  • 3.4.1                                ...           latest (23 days ago)

7 Versions

  • 3.4.1                                ...           23 days ago
  • 3.3.6                                ...           2 months ago
  • 3.3.5                                ...           2 months ago
  • 3.3.4                                ...           2 months ago
  • 3.3.3                                ...           2 months ago
  • 3.3.2                                ...           2 months ago
  • 3.3.1                                ...           2 months ago

Copyright 2014 - 2016 © taobao.org |