Skip to content

Commit

Permalink
[changed] updated all deps
Browse files Browse the repository at this point in the history
- new webpack config for tests only that is way simpler
- removed old build files
- removed unused tools folder
- removed unused run-babel
- updated travis to run on branches only
- updated eslint to run on everything except ignore
  • Loading branch information
dozoisch committed Oct 15, 2015
1 parent fc3350a commit d217dd1
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 153 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
lib/**
11 changes: 10 additions & 1 deletion .travis.yml
@@ -1,6 +1,15 @@
sudo: false
language: node_js
node_js:
- "iojs"
- "4.0"
- "0.10"
- "0.12"

branches:
only:
- master

script:
- npm run test
- npm run lint
- npm run build
2 changes: 1 addition & 1 deletion karma.conf.js
@@ -1,7 +1,7 @@
/* eslint no-var: 0 */
require("babel/register");

var webpackConfig = require("./webpack/test.config.js");
var webpackConfig = require("./webpack.config.test.js");
var isCI = process.env.CONTINUOUS_INTEGRATION === "true";

module.exports = function (config) {
Expand Down
29 changes: 13 additions & 16 deletions package.json
Expand Up @@ -7,9 +7,9 @@
"lib": "lib/"
},
"scripts": {
"build": "node run-babel tools/build.js",
"lint": "eslint src test tools webpack karma.conf.js",
"test": "karma start --single-run && npm run build",
"build": "rm -rf lib && babel src --out-dir lib",
"lint": "eslint ./",
"test": "karma start --single-run",
"test-watch": "karma start",
"patch": "release patch --run",
"minor": "release minor --run",
Expand All @@ -36,39 +36,36 @@
"react": ">=0.14"
},
"devDependencies": {
"babel": "~5.8.21",
"babel": "~5.8.21",
"babel-core": "~5.8.22",
"babel-eslint": "~4.0.8",
"babel-eslint": "~4.1.3",
"babel-loader": "~5.3.2",
"chai": "~3.2.0",
"chai": "~3.3.0",
"child-process-promise": "~1.1.0",
"colors": "~1.1.0",
"es5-shim": "~4.1.3",
"eslint": "~1.1.0",
"eslint-config-defaults": "~4.0.1",
"eslint-plugin-react": "~3.2.3",
"fs-promise": "~0.3.1",
"eslint": "~1.6.0",
"eslint-config-defaults": "~7.0.1",
"eslint-plugin-react": "~3.5.1",
"karma": "~0.13.9",
"karma-chai": "~0.1.0",
"karma-chrome-launcher": "~0.2.0",
"karma-cli": "~0.1.0",
"karma-mocha": "~0.2.0",
"karma-mocha-reporter": "~1.1.1",
"karma-phantomjs-launcher": "~0.2.1",
"karma-phantomjs-launcher": "^0.2.1",
"karma-sourcemap-loader": "~0.3.5",
"karma-webpack": "~1.7.0",
"lodash": "~3.10.1",
"mocha": "~2.2.5",
"mocha": "~2.3.3",
"mt-changelog": "^0.6.2",
"phantomjs": "^1.9.18",
"react": "~0.14.0",
"react-dom": "~0.14.0",
"webpack": "~1.11.0",
"yargs": "~3.19.0"
"release-script": "^0.5.3",
"webpack": "~1.12.2"
},
"dependencies": {
"babel-runtime": "^5.8.0",
"react-async-script": "~0.4.0"
"react-async-script": "~0.5.0"
}
}
9 changes: 0 additions & 9 deletions run-babel

This file was deleted.

22 changes: 0 additions & 22 deletions tools/build.js

This file was deleted.

16 changes: 0 additions & 16 deletions tools/lib/build.js

This file was deleted.

20 changes: 20 additions & 0 deletions webpack.config.test.js
@@ -0,0 +1,20 @@
import { DefinePlugin } from "webpack";
export default {
output: {
pathinfo: true,
},
devtool: "inline-source-map",

module: {
loaders: [
{ test: /\.js/, loader: "babel", exclude: /node_modules/ },
],
},
plugins: [
new DefinePlugin({
"process.env": {
NODE_ENV: JSON.stringify("production"),
},
}),
],
};
5 changes: 0 additions & 5 deletions webpack/strategies/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions webpack/strategies/test.js

This file was deleted.

3 changes: 0 additions & 3 deletions webpack/test.config.js

This file was deleted.

63 changes: 0 additions & 63 deletions webpack/webpack.config.js

This file was deleted.

0 comments on commit d217dd1

Please sign in to comment.