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 React from 'react' | |
import { Card, Icon, Image } from 'semantic-ui-react' | |
interface Herbs { | |
id: string | |
name: string | |
img: string | |
details: string | |
} |
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
describe('assertEqual', function() { | |
it('should square a positive number', function assertEqual(actual, expected, testName) { | |
actual = JSON.stringify(actual); | |
expected = JSON.stringify(expected); | |
if (actual === expected) { | |
console.log('passed'); | |
} else { | |
console.log(`FAILED [${testName}] expected '${expected}', but got '${actual}'`); | |
} | |
}); |
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
var HTMLWebpackPlugin = require('html-webpack-plugin'); | |
var HTMLWebpackPluginConfig = new HTMLWebpackPlugin({ | |
template: __dirname + '/app/index.html', | |
filename: 'index.html', | |
inject: 'body' | |
}); | |
module.exports = { | |
entry: __dirname + '/app/index.js', | |
module: { |
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": "vishnu-gottimukkala", | |
"version": "1.0.0", | |
"description": "sonicTrader", | |
"main": "index.js", | |
"dependencies": { | |
"babel-core": "^6.24.0", | |
"babel-loader": "^6.4.1", | |
"babel-preset-react": "^6.23.0", | |
"radium": "^0.18.2", |