Skip to content

Commit

Permalink
Fixing standard and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Bjelkholm committed Feb 28, 2016
1 parent c4cd33e commit 3ea644d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ipfsbin",
"version": "2.0.1",
"version": "2.0.2",
"description": "Store your code snippets in IPFS",
"main": "index.js",
"engines": {
Expand All @@ -9,7 +9,7 @@
},
"scripts": {
"ipfs:daemon": "./start-daemon.sh",
"test": "mocha --compilers js:babel-core/register --recursive",
"test": "./test.sh",
"test:watch": "npm test -- --watch --growl",
"compile:prod": "NODE_ENV=prod webpack --progress",
"compile:dev": "NODE_ENV=dev webpack --progress",
Expand All @@ -25,12 +25,14 @@
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.5.2",
"connect": "^3.4.1",
"css-loader": "^0.23.1",
"html-webpack-plugin": "^2.9.0",
"ipfs-api": "^2.13.1",
"ipfsd-ctl": "^0.8.3",
"json-loader": "^0.5.4",
"mocha": "^2.4.5",
"morgan": "^1.7.0",
"offline-plugin": "^2.0.4",
"react": "^0.14.7",
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Expand Up @@ -2,7 +2,7 @@ require('./style.css')
require('./codemirror.css')
require('./base16-dark.css')

import React, { Component, PropTypes }from 'react'
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import * as actions from './actions'

Expand Down
6 changes: 6 additions & 0 deletions test.sh
@@ -0,0 +1,6 @@
#! /bin/sh

set -e

./node_modules/.bin/standard
./node_modules/.bin/mocha --compilers js:babel-register
3 changes: 2 additions & 1 deletion webpack.config.js
@@ -1,5 +1,6 @@
var webpack = require('webpack')
var fs = require('fs')
var path = require('path')
var OfflinePlugin = require('offline-plugin')
var HtmlWebpackPlugin = require('html-webpack-plugin')

Expand All @@ -24,7 +25,7 @@ var config = {
devtool: production ? 'source-map' : 'eval-source-maps',
entry: './index.js',
output: {
path: __dirname + '/dist',
path: path.join(__dirname, 'dist'),
filename: 'bundle.js'
},
module: {
Expand Down

0 comments on commit 3ea644d

Please sign in to comment.