neutrino-preset-decorators

0.1.2 • Public • Published

neutrino-preset-decorators

NPM version

This project provides a Neutrino preset for transforming decorators to be usable in most browsers. Uses the Babel Decorators transform which includes:

If you're using Mobx with React, you'll need decorators, class properties and the React neutrino presets. Here's a single preset that will take care of that: jke-neutrino-preset-react-mobx

Usage

Create a project with a package.json like this.

{
   "name": "myapp",
   "version": "1.0.0",
   "config": {
      "presets": [
         "neutrino-preset-decorators"
      ]
   },
   "scripts": {
      "build": "neutrino build",
      "start": "neutrino start"
   },
   "dependencies": {
   },
   "devDependencies": {
      "neutrino": "^4.3.1",
      "neutrino-preset-decorators": "0.1.1"
   }
}

Peer dependencies

Package Sidebar

Install

npm i neutrino-preset-decorators

Weekly Downloads

0

Version

0.1.2

License

Apache-2.0

Last publish

Collaborators

  • jefffriesen