UNPKG

semtest

Version:

NodeJs Unit test framework combining Tape, Proxyquire and Sinon

71 lines (70 loc) 2.64 kB
{ "name": "semtest", "version": "3.0.2", "engines": { "node": ">=6", "npm": ">=3" }, "description": "NodeJs Unit test framework combining Tape, Proxyquire and Sinon", "main": "dist/main.js", "config": {}, "scripts": { "docs": "jsdoc -c jsdoc.json", "lint": "jslint 'src/**/*.js'", "unit-tests-console": "tape -r babel-core/register 'src/**/*.spec.js'", "unit-tests-faucet": "npm run -s unit-tests-console | faucet", "unit-tests": "nyc --require babel-core/register --reporter=text --all npm run -s unit-tests-faucet && nyc report --reporter=$REPORTER && nyc check-coverage --lines 100 --functions 100 --branches 100", "test": "npm run -s lint && REPORTER=html npm run -s unit-tests", "test-ci": "npm run -s lint && REPORTER=text-lcov npm run -s unit-tests | coveralls", "tdd": "npm run -s lint && npm run -s unit-tests-console", "transpile": "babel src --out-dir dist --source-maps", "build": "npm run -s transpile", "new-git-tag": "git tag -a $npm_package_version -m $npm_package_version", "commit-new-version": "git add --all && git commit -m $npm_package_version -m '(Autogenerated, please update !)'", "bump-version": "echo Have you updated the version number ? If not please Ctrl-C NOW ! && read test", "new-version": "npm run -s bump-version && npm run -s test && npm run -s build && npm run -s docs && npm run -s new-git-tag && npm run -s commit-new-version" }, "keywords": [ "tape", "blue-tape", "test", "unit", "nodejs" ], "author": "Stéphane Trébel", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/StephaneTrebel/semtest.git" }, "bugs": { "url": "https://github.com/StephaneTrebel/semtest/issues" }, "homepage": "https://github.com/StephaneTrebel/semtest#readme", "devDependencies": { "coveralls": "~2.11.15", "faucet": "~0.0.1", "jsdoc": "~3.4.3", "jslint": "stephanetrebel/node-jslint", "nyc": "~10.0.0" }, "dependencies": { "babel-cli": "~6.18.0", "babel-plugin-rewire-exports": "0.0.6", "babel-preset-node6": "~11.0.0", "babel-register": "~6.18.0", "blue-tape": "~1.0.0", "bluebird": "~3.4.6", "lodash": "~4.17.2" }, "nyc": { "exclude": [ "node_modules", "coverage", "docs", "'**/*.spec.js'", "tests", "dist" ] } }