Skip to content

Commit

Permalink
Updating dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
vetom committed May 25, 2017
1 parent 422edfd commit 393c37e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"mamodom <mamodom@gmail.com>",
"wovalle <willyovalle16@gmail.com>"
],
"repository": "https://github.com/wistcc/werewolf-brain",
"repository": "https://github.com/lycan-city/werewolf-brain",
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.24.0",
Expand All @@ -29,13 +29,13 @@
"eslint": "^3.14.0",
"eslint-config-airbnb-base": "^11.1.2",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "^6.9.0",
"glob": "^7.1.1",
"json-loader": "^0.5.4",
"mocha": "^3.2.0",
"should": "^11.1.2",
"webpack": "^1.14.0"
"webpack": "^2.5.1"
},
"dependencies": {
"assert": "^1.4.1"
Expand Down
16 changes: 10 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
const path = require('path');

module.exports = {
context: __dirname,
entry: './index.js',
output: {
path: 'dist',
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
library: 'werewolf-brain',
libraryTarget: 'umd',
},
module: {
loaders: [
rules: [
{ test: /\.json$/, use: 'json-loader' },
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel',
},
{ test: /\.json$/, loader: 'json' }
exclude: [
path.resolve(__dirname, 'node_modules')
],
use: 'babel-loader'
}
]
}
};

0 comments on commit 393c37e

Please sign in to comment.