git ssb

1+

dinoworm ๐Ÿ› / catstack



Commit 696df41be4f33081ef1725068283ee4357daf764

got tests passing (made manual changes to ava, not sure what's up)

Michael Williams committed on 4/11/2016, 12:15:11 AM
Parent: 73af4651aa5e2584c27e681ab2bfcfe2fdeb1cb3

Files changed

api.jschanged
features/support/hooks.jschanged
package.jsonchanged
render.jschanged
static.jschanged
cmrh.jsadded
api.jsView
@@ -1,5 +1,5 @@
1-require('babel-core/register')
1+require('babel-register')
22
33 const config = require('app/config')
44 const createServer = require('app/api').createServer
55 const Url = require('url')
features/support/hooks.jsView
@@ -1,6 +1,6 @@
1-require('babel-core/register')
2-require('css-modules-require-hook')
1+require('css-modules-require-hook')({})
2+require('babel-register')
33
44 const _ = require('lodash')
55 const parallel = require('run-parallel')
66
package.jsonView
@@ -37,11 +37,12 @@
3737 "files": [
3838 "**/*.spec.js"
3939 ],
4040 "require": [
41- "babel-core/register",
42- "css-modules-require-hook"
43- ]
41+ "./cmrh",
42+ "babel-register"
43+ ],
44+ "babel": "inherit"
4445 },
4546 "repository": {
4647 "type": "git",
4748 "url": "git+https://github.com/enspiral-craftworks/business-stack.git"
@@ -69,9 +70,9 @@
6970 "node": "^4.0.0",
7071 "npm": "^3.0.0"
7172 },
7273 "devDependencies": {
73- "ava": "^0.14.0",
74+ "ava": "^0.13.0",
7475 "babel-plugin-react-transform": "^2.0.0",
7576 "browserify-hmr": "^0.3.1",
7677 "cucumber": "^0.10.2",
7778 "ecstatic-lr": "^1.0.1",
@@ -98,8 +99,9 @@
9899 "babel-plugin-transform-object-rest-spread": "^6.1.18",
99100 "babel-plugin-transform-runtime": "^6.5.2",
100101 "babel-preset-es2015": "^6.1.18",
101102 "babel-preset-react": "^6.1.18",
103+ "babel-register": "^6.7.2",
102104 "babel-runtime": "^6.3.19",
103105 "babelify": "^7.2.0",
104106 "body-parser": "^1.15.0",
105107 "browserify": "github:ahdinosaur/node-browserify",
render.jsView
@@ -1,6 +1,6 @@
1-require('babel-core/register')
2-require('css-modules-require-hook')
1+require('css-modules-require-hook')({})
2+require('babel-register')
33
44 const config = require('app/config')
55 const createServer = require('app/render').createServer
66 const Url = require('url')
static.jsView
@@ -1,5 +1,5 @@
1-require('babel-core/register')
1+require('babel-register')
22
33 const config = require('app/config')
44 const createServer = require('app/static').createServer
55 const Url = require('url')
cmrh.jsView
@@ -1,0 +1,1 @@
1+require('css-modules-require-hook')({})

Built with git-ssb-web