task-handler
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "task-handler", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Handle Javascript Timers in a manageable way", | ||
"main": "lib/index.js", | ||
"main": "dist/index.js", | ||
"author": "Braden R. Napier", | ||
@@ -28,7 +28,9 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production rimraf dist && npm-run-all -p build:**", | ||
"build:pubchan:babel": "cross-env NODE_ENV=production babel src --out-dir dist", | ||
"build:pubchan:flow": "flow-copy-source src dist", | ||
"coverage": "npm-run-all coverage:*", | ||
"coverage:tests": "cross-env NODE_ENV=test nyc yarn test && nyc report --reporter=html --reporter=text-lcov | coveralls", | ||
"coverage:flow": "flow-coverage-report", | ||
"flow": "flow", | ||
"build": "cross-env NODE_ENV=production rimraf lib registry && npm-run-all -p build:**", | ||
"build:pubchan:babel": "cross-env NODE_ENV=production babel src --out-dir lib", | ||
"build:pubchan:flow": "flow-copy-source src lib", | ||
"coverage": "cross-env NODE_ENV=test nyc yarn test && nyc report --reporter=html --reporter=text-lcov | coveralls", | ||
"prepublishOnly": "npm-run-all build", | ||
@@ -52,4 +54,18 @@ "test": "cross-env NODE_ENV=test nyc mocha --require @babel/register --recursive ./tests/tests/*.js", | ||
"sourceMap": false, | ||
"instrument": false | ||
"instrument": false, | ||
"report-dir": "dev/coverage/tests" | ||
}, | ||
"flow-coverage-report": { | ||
"globIncludePatterns": [ | ||
"src/**/*.js", | ||
"src/**/*.jsx" | ||
], | ||
"reportTypes": [ | ||
"text", | ||
"html" | ||
], | ||
"outputDir": "dev/coverage/flow", | ||
"flowCommandPath": "node_modules/.bin/flow" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -76,2 +92,3 @@ "@babel/cli": "^7.1.5", | ||
"flow-copy-source": "^2.0.2", | ||
"flow-coverage-report": "^0.6.0", | ||
"mocha": "^5.2.0", | ||
@@ -78,0 +95,0 @@ "npm-run-all": "^4.1.5", |
@@ -7,4 +7,5 @@ # task-handler | ||
[](https://coveralls.io/github/odo-network/task-handler?branch=master) | ||
[](https://odo-network.github.io/task-handler/dev/coverage/flow/index.html) | ||
[](https://github.com/odo-network/task-handler) | ||
[](https://github.com/odo-network/task-handler) | ||
[](https://github.com/odo-network/task-handler) | ||
@@ -78,5 +79,3 @@ A simple, dependency-free task scheduling manager that makes it easy to handle tasks like a boss. | ||
}, | ||
1, | ||
2, | ||
3 | ||
[1, 2, 3] | ||
); | ||
@@ -83,0 +82,0 @@ |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances in 1 package
2
1
16374
28
4
134