Skip to content

Commit

Permalink
refactor(example): move example to example/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepollak committed Nov 23, 2016
1 parent 17c7e16 commit 2d12711
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App.js → example/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Instant2FAComponent from './src/Instant2FAComponent.jsx';
import Instant2FAComponent from '../src/Instant2FAComponent.jsx';

const App = () => {
const onError = (e) => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"dev": "webpack-dev-server --inline --hot --port 3000",
"dev": "cd example && webpack-dev-server --inline --hot --port 3000",
"compile": "npm-run-all --parallel compile:source compile:postcss",
"compile:postcss": "postcss --use precss --use postcss-cssnext -d lib src/*.css",
"compile:source": "babel src --out-dir lib",
Expand Down

0 comments on commit 2d12711

Please sign in to comment.