This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rev.engine", | |
"version": "2.0.0", | |
"description": "Rev engine", | |
"scripts": { | |
"test": "jest --coverage", | |
"validate": "npm run flow; npm run test", | |
"dev": "webpack-dashboard -- webpack --env.env=development --config ./webpack.dev.js --progress --profile --colors --display-error-details", | |
"build": "webpack --env.env=production --config ./webpack.prod.js --progress --profile --colors --display-error-details", | |
"flow": "flow --show-all-errors; test $? -eq 0 -o $? -eq 2", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by raumer on 1/24/17. | |
*/ | |
import React, { Component } from 'react'; | |
import { connect } from 'react-redux'; | |
import { inventorySearch } from './../../../../redux/actions/inventory' | |
class AdjustmentsForm extends Component { | |
constructor(props) { | |
super(props); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CLIENT IMPORTS | |
const InventoryNav = require('./../shared/screens/inventory/subnav'); | |
const InventoryPage = require('./../shared/screens/inventory/page'); | |
const Adjustments = require('./../shared/screens/inventory/adjustments'); | |
// SERVER IMPORTS | |
const datarenderer = require('../server/middleware/datarenderer'); | |
const bodyparser = require('../server/middleware/bodyparser'); | |
const renderer = require('../server/middleware/renderer'); | |
const InventoryRoutes = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getServerPageRoutes } from './utility/makeServerRoutes'; | |
import {routes} from './../shared/routes/index'; | |
const Koa = require('koa'); | |
const app = new Koa(); | |
const Router = require('koa-router'); | |
//let cleanRoutes = getServerPageRoutes(routes); | |
let cleanRoutes = [ | |
{ method: 'GET', |