Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
update jwt example
Browse files Browse the repository at this point in the history
  • Loading branch information
bdefore committed Dec 21, 2015
1 parent 9a080f4 commit 684ce26
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 36 deletions.
26 changes: 0 additions & 26 deletions examples/jwt/.babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion examples/jwt/bin/transpile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var fs = require('fs');
var path = require('path');

var babelrc = fs.readFileSync(path.resolve(__dirname, '../.babelrc'));
var babelrc = fs.readFileSync(path.resolve(__dirname, '../node_modules/universal-redux/.babelrc'));
var config;

try {
Expand Down
4 changes: 3 additions & 1 deletion examples/jwt/config/universal-redux.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ module.exports = {
// Expects: Boolean
*/
lint: {
enabled: true,
enabled: false,
config: projectRoot + '/.eslintrc'
},

// babelConfig: projectRoot + '/.babelrc',

/*
// Enable native desktop notifications for Webpack build events.
// Will not be run on production.
Expand Down
12 changes: 4 additions & 8 deletions examples/jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "JWT example with Universal Redux",
"main": "index.js",
"scripts": {
"scripts": {
"start": "concurrent --kill-others \"better-npm-run api\" \"better-npm-run auth\" \"better-npm-run server\"",
"build": "better-npm-run build",
"postinstall": "./bin/build_for_heroku.sh",
Expand Down Expand Up @@ -86,14 +86,9 @@
"concurrently": "1.0.0",
"jsonwebtoken": "^5.4.1",
"superagent": "^1.6.1",
"universal-redux": "^1.0.0-beta4"
"universal-redux": "^2.0.0-beta3"
},
"devDependencies": {
"babel-core": "~5.8.33",
"babel-eslint": "^4.1.3",
"babel-plugin-react-transform": "~1.1.1",
"babel-plugin-typecheck": "^2.0.0",
"babel-runtime": "~5.8.29",
"better-npm-run": "0.0.5",
"classnames": "^2.2.0",
"deep-equal": "^1.0.1",
Expand All @@ -109,11 +104,12 @@
"react-addons-css-transition-group": "^0.14.3",
"react-dom": "^0.14.3",
"react-redux": "4.0.0",
"react-router": "1.0.2",
"react-toolbox": "^0.13.4",
"react-tools": "^0.10.0",
"react-transform-catch-errors": "^1.0.0",
"redbox-react": "^1.1.1",
"redux-simple-router": "0.0.10",
"redux-simple-router": "1.0.1",
"url-loader": "^0.5.7",
"warning": "^2.1.0"
}
Expand Down

0 comments on commit 684ce26

Please sign in to comment.