Skip to content

Commit

Permalink
Merge 371c93d into a4ba6f6
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiardi committed Jun 19, 2017
2 parents a4ba6f6 + 371c93d commit e223290
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dist/js.spec.bundle.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "clojure.spec for Javascript",
"main": "dist/js.spec.js",
"scripts": {
"build": "webpack --config webpack.config.js -p",
"build": "webpack --config webpack.config.js",
"lint": "eslint index.js lib/**/*.js",
"prepublish": "npm run build",
"test": "mocha --recursive --compilers js:babel-register test",
Expand Down Expand Up @@ -37,6 +37,7 @@
"mocha": "^3.1.2",
"nodemon": "^1.11.0",
"pretty-format": "^18.0.0",
"uglify-es-webpack-plugin": "0.0.2",
"webpack": "2.1.0-beta.25"
},
"dependencies": {
Expand Down
5 changes: 3 additions & 2 deletions webpack.config.js
Expand Up @@ -2,6 +2,7 @@ var fs = require('fs')
var path = require('path')
var node_modules = fs.readdirSync('node_modules')

var uglifyEsPlugin = require('uglify-es-webpack-plugin');

module.exports = [{
// node library
Expand Down Expand Up @@ -29,7 +30,7 @@ module.exports = [{
}
}]
},
plugins: []
plugins: [new uglifyEsPlugin()]
}, {
// <script>
entry: './index.js',
Expand All @@ -55,5 +56,5 @@ module.exports = [{
}
}]
},
plugins: []
plugins: [new uglifyEsPlugin()]
}]
27 changes: 26 additions & 1 deletion yarn.lock
Expand Up @@ -884,7 +884,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
dependencies:
delayed-stream "~1.0.0"

commander@2.9.0, commander@^2.8.1, commander@^2.9.0:
commander@2.9.0, commander@^2.8.1, commander@^2.9.0, commander@~2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
dependencies:
Expand Down Expand Up @@ -2975,6 +2975,10 @@ sntp@1.x.x:
dependencies:
hoek "2.x.x"

source-list-map@^1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-1.1.2.tgz#9889019d1024cce55cdc069498337ef6186a11a1"

source-list-map@~0.1.0:
version "0.1.6"
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.6.tgz#e1e6f94f0b40c4d28dcf8f5b8766e0e45636877f"
Expand Down Expand Up @@ -3224,6 +3228,20 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"

uglify-es-webpack-plugin@0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/uglify-es-webpack-plugin/-/uglify-es-webpack-plugin-0.0.2.tgz#4d133f8c666ff3f1d61929f29e093c44a25c6a27"
dependencies:
uglify-es "^3.0.10"
webpack-sources "^0.2.3"

uglify-es@^3.0.10:
version "3.0.18"
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.0.18.tgz#ad206e41b5e4b90bfbf5d2a058ef0321b9f118ac"
dependencies:
commander "~2.9.0"
source-map "~0.5.1"

uglify-js@^2.6, uglify-js@~2.7.3:
version "2.7.4"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.7.4.tgz#a295a0de12b6a650c031c40deb0dc40b14568bd2"
Expand Down Expand Up @@ -3328,6 +3346,13 @@ webpack-sources@^0.1.0:
source-list-map "~0.1.0"
source-map "~0.5.3"

webpack-sources@^0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.2.3.tgz#17c62bfaf13c707f9d02c479e0dcdde8380697fb"
dependencies:
source-list-map "^1.1.1"
source-map "~0.5.3"

webpack@2.1.0-beta.25:
version "2.1.0-beta.25"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.1.0-beta.25.tgz#c35ff4da4ee70344a2f14c35258d95412709e9ed"
Expand Down

0 comments on commit e223290

Please sign in to comment.