Skip to content

Commit

Permalink
chore: configuration update.
Browse files Browse the repository at this point in the history
  • Loading branch information
simaQ committed Aug 8, 2018
1 parent 0b60d2b commit 4533393
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/compress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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
},
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 4533393

Please sign in to comment.