jke-neutrino-preset-react-mobx

0.1.1 • Public • Published

jke-neutrino-preset-react-mobx

NPM version Build status

This project provides a Neutrino preset for building React applications with MobX using decorators. It uses the official React preset and extends it with support for decorators (including support for class properties).

Usage

Create a project with a package.json like this.

{
   "name": "myapp",
   "version": "1.0.0",
   "config": {
      "presets": [
         "jke-neutrino-preset-react-mobx"
      ]
   },
   "scripts": {
      "build": "neutrino build",
      "start": "neutrino start"
   },
   "dependencies": {
      "mobx": "^3.1.2",
      "mobx-react": "^4.1.1",
      "react": "^15.4.2",
      "react-dom": "^15.4.2",
      "react-hot-loader": "next"
   },
   "devDependencies": {
      "neutrino": "^4.3.1",
      "neutrino-preset-react-mobx": "0.1.1"
   }
}

Now you are ready to put your React components into src/ and start coding. Be aware that Neutrino creates the HTML template for you automatically. For more information see the web sites for Neutrino, React and MobX.

License

Copyright 2017 Joakim Kemeny

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependencies

This project relies on the work of great people who have created the following dependencies.

Dependencies

dependency status

Peer dependencies

peerDependency status

/jke-neutrino-preset-react-mobx/

    Package Sidebar

    Install

    npm i jke-neutrino-preset-react-mobx

    Weekly Downloads

    1

    Version

    0.1.1

    License

    Apache-2.0

    Last publish

    Collaborators

    • joakimkemeny