Permalink
Browse files

chore: configuration update.

  • Loading branch information...
simaQ committed Aug 8, 2018
1 parent 0b60d2b commit 453339369509c439ad024dba18670e61af0b260f
Showing with 6 additions and 7 deletions.
  1. +1 −1 bin/compress.sh
  2. +5 −5 package.json
  3. +0 −1 webpack.config.js
@@ -3,7 +3,7 @@
# compress the standard version
uglifyjs --compress --mangle --output dist/f2.min.js -- build/f2.js
# compress the common version
uglifyjs --compress --mangle --output dist/f2-common.min.js -- build/f2-common.js
# uglifyjs --compress --mangle --output dist/f2-common.min.js -- build/f2-common.js
# compress the simple version
uglifyjs --compress --mangle --output dist/f2-simple.min.js -- build/f2-simple.js
# compress the full version
@@ -60,7 +60,7 @@
"build": "webpack",
"build-lib": "babel src --out-dir lib",
"bundler": "electron ./bundler/app.js",
"ci": "npm run lint && npm run test",
"ci": "npm run lint && npm run test-all",
"compress": "sh ./bin/compress.sh",
"coverage": "npm run coverage-generator && npm run coverage-viewer",
"coverage-generator": "torch --compile --coverage --renderer --source-pattern src/*.js,src/**/*.js --recursive test/unit",
@@ -73,17 +73,17 @@
"lint-fix": "eslint --fix ./",
"prepublishOnly": "npm run build-lib && npm run dist",
"screenshot": "DEBUG=app:* ./bin/screenshot.js",
"test": "npm run test-unit && npm run test-bug",
"test-all": "npm run test && npm run test-bug",
"test": "torch --compile --renderer --recursive ./test/unit",
"test-bug": "torch --compile --renderer --recursive ./test/bug",
"test-bug-live": "torch --compile --interactive --recursive ./test/bug",
"test-unit": "torch --compile --renderer --recursive ./test/unit",
"test-unit-live": "torch --compile --interactive --recursive ./test/unit",
"test-live": "torch --compile --interactive --recursive ./test/unit",
"watch": "webpack --config webpack-dev.config.js"
},
"pre-commit": {
"run": [
"lint",
"test"
"test-all"
],
"silent": false
},
@@ -5,7 +5,6 @@ module.exports = {
entry: {
f2: './src/index.js',
'f2-simple': './src/index-simple.js',
'f2-common': './src/index-common.js',
'f2-all': './src/index-all.js'
},
output: {

0 comments on commit 4533393

Please sign in to comment.