Skip to content

Commit

Permalink
chore(wallaby): adicionado wallaby-webpack para desenvolvimento
Browse files Browse the repository at this point in the history
  • Loading branch information
gtkatakura committed Feb 22, 2018
1 parent 3637ae5 commit 9297bde
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -39,6 +39,7 @@
"travis-deploy-once": "^4.3.4",
"uglifyjs-webpack-plugin": "^0.4.6",
"validate-commit-msg": "^2.13.1",
"wallaby-webpack": "^3.9.4",
"webpack": "^3.3.0"
},
"dependencies": {},
Expand Down
21 changes: 21 additions & 0 deletions wallaby.js
@@ -0,0 +1,21 @@
const wallabyWebpack = require('wallaby-webpack'); // eslint-disable-line

const webpackConfig = require('./webpack.config.js');

const wallabyPostprocessor = wallabyWebpack(webpackConfig);

module.exports = () => ({
files: [
{ pattern: 'src/**/*.js', load: false },
],
tests: [
{ pattern: 'test/**/*.spec.js', load: false },
],
postprocessor: wallabyPostprocessor,
setup() {
window.__moduleBundler.loadTests(); // eslint-disable-line
},
env: {
kind: 'chrome',
},
});
27 changes: 26 additions & 1 deletion yarn.lock
Expand Up @@ -1004,6 +1004,13 @@ boxen@^1.2.1:
term-size "^1.2.0"
widest-line "^2.0.0"

brace-expansion@^1.0.0:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"

brace-expansion@^1.1.7:
version "1.1.8"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
Expand Down Expand Up @@ -2874,7 +2881,7 @@ got@^8.0.1:
url-parse-lax "^3.0.0"
url-to-options "^1.0.1"

graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.4, graceful-fs@^4.1.6, graceful-fs@^4.1.9:
version "4.1.11"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"

Expand Down Expand Up @@ -3736,6 +3743,10 @@ lodash@4.17.2:
version "4.17.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.2.tgz#34a3055babe04ce42467b607d700072c7ff6bf42"

lodash@^3.5.0:
version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"

lodash@^4.0.0, lodash@^4.1.0, lodash@^4.11.2, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
Expand Down Expand Up @@ -3881,6 +3892,12 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"

minimatch@3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
dependencies:
brace-expansion "^1.0.0"

minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
Expand Down Expand Up @@ -5411,6 +5428,14 @@ vm-browserify@0.0.4:
dependencies:
indexof "0.0.1"

wallaby-webpack@^3.9.4:
version "3.9.4"
resolved "https://registry.yarnpkg.com/wallaby-webpack/-/wallaby-webpack-3.9.4.tgz#0987aa167ddb44e244d5f4618bd8ea009eec38a7"
dependencies:
graceful-fs "^4.1.3"
lodash "^3.5.0"
minimatch "3.0.3"

watchpack@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.4.0.tgz#4a1472bcbb952bd0a9bb4036801f954dfb39faac"
Expand Down

0 comments on commit 9297bde

Please sign in to comment.