lamed_test
Version:
Mocha unit testing made easy
121 lines (120 loc) • 4.83 kB
JSON
{
"name": "lamed_test",
"version": "2.11.36",
"description": "Mocha unit testing made easy",
"main": "src/lTest.js",
"url": "https://www.npmjs.com/package/lamed_test",
"scripts": {
"test": "mocha \"./{,!(node_modules)/**/}*.runner.js\" --timeout 6000",
"test2": "nodemon --exec \"npm test\"",
"coverage_test": "npm run line && nyc mocha \"./{,!(node_modules)/**/}*.runner.js\" --timeout 3000",
"coverage_report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"coverage": "npm run coverage_test && npm run coverage_report",
"rules": "standard | snazzy",
"fix": "standard --fix",
"commit": "cd && git add . && git commit -a -m \"config updates\" && cd",
"patch": "npm version patch -m \"Patch version %s\"",
"push": "npm run line && echo PUSH and release to MASTER... && git push origin master",
"release": "cd && npm run fix && npm test && npm run patch && start npm run push",
"ncu": "cd && ncu -u -l info --timeout 70000 && cd && npm run yarn2",
"bump": "npm version patch -m \"Bumping to %s\"",
"prep": "npm run fix && npm test && npm run patch",
"commitAll": "npm run yarn2 && npm run fix && npm run commit && npm test && npm run push",
"commitFast": "cd && npm run line && npm run commit && npm run push && git status && cd",
"gitfix": "npm run commitfix && npm run v_patch && npm run push",
"test_yarn": "npm run yarn2 && npm test && npm run fix",
"pull": "cd && npm run line && git pull && npm run yarn2 && npm test && cd",
"upgrade": "npm run ncu && npm run commit && npm run release && npm run line",
"beta": "npm run commit && npm run release",
"install2": "npm install -g npm@latest",
"yarn2": "cd && del package-lock.json && yarn --ignore-scripts",
"yarnfast": "yarn --ignore-scripts --offline",
"line": "echo ----------------------- && cd && echo -----------------------",
"local": "npm run yarn2",
"clean": "rmdir node_modules /s /q",
"qa": "cd && npm run coverage_test && cd",
"add": "cd && yarn --ignore-scripts add --",
"testall": "cd && npm run fix && npm run test && cd",
"commitfix": "npm run testall && cd && git add . && git commit -a -m \"Bug fixes\" && cd",
"commitnew": "npm run testall && cd && git add . && git commit -a -m \"Added new features\" && cd",
"git": "cd && git add . && git commit -a -m \"sync changes\" && cd",
"gitnew": "npm run commitnew && npm run v_minor && npm run push",
"v_patch": "npm version patch -m \"Patch version to %s\"",
"v_minor": "npm version minor -m \"Upgrade version to %s\"",
"gitfixrep": "git rm -r --cached . && git add . && git commit -m \".gitignore fix\"",
"commitredo": "npm run testall && cd && git add . && git commit -a -m \"Refactor and improve code\" && cd",
"gitredo": "npm run commitredo && npm run v_patch && npm run push",
"global": "cd && npm i -g eslint babel-eslint codecov mocha nyc snazzy standard symlink-dir console-countdown",
"compiler": "cd && npm i --dev webpack webpack-cli webpack-strip-block uglifyjs-webpack-plugin",
"log": "npm run line && git log --since=2.weeks --pretty=format:\"%h - %an, %ar : %s\" && git status",
"log2": "npm run line && git --no-pager log --pretty=format:\"%h - %an, %ar : %s\" > log.txt && git status > log2.txt && dir log*.txt"
},
"nyc": {
"exclude": [
"**/test.runner.js",
"**/readline.js**"
]
},
"standard": {
"env": [
"mocha"
],
"ignore": [
"**/out/",
"**/output/",
"/lib/select2/",
"/lib/ckeditor/",
"tmp.js",
"**/templates/",
"**/dist/",
"**/docs/",
"**/cdn/"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/perezLamed/lamed_test.git"
},
"bugs": {
"url": "https://github.com/perezLamed/lamed_test/issues"
},
"homepage": "https://github.com/perezLamed/lamed_test#readme",
"dependencies": {
"io_format": "^1.2.20",
"io_format_array": "^1.0.22",
"is-travis": "^2.0.0",
"lamed_console": "^1.7.16",
"lamed_core": "^1.8.33",
"lodash.isequal": "^4.5.0"
},
"devDependencies": {},
"author": "Perez Lamed van Niekerk",
"license": "MIT",
"about": {
"role": "JavaScript developer",
"task": "test functions quickly and easily and get simple detailed feedback",
"reason": "identify and fix bugs quickly",
"npm": true,
"repo_const": [
"const { Ok, notOk, con, unZip } = require('lamed_test')",
"// con.useChalk(require('chalk'))",
"// con.traceSet(0)"
],
"include": []
},
"keywords": [
"lamed",
"framework",
"test",
"testing",
"debug",
"console",
"logging",
"tracing",
"generate",
"code samples",
"terminal",
"cli",
"command-line"
]
}