UNPKG

@pmoo/testy

Version:

A minimal testing framework, for educational purposes.

63 lines (62 loc) 2.12 kB
{ "name": "@pmoo/testy", "version": "8.0.0", "description": "A minimal testing framework, for educational purposes.", "homepage": "https://ngarbezza.github.io/testy/", "repository": { "type": "git", "url": "https://github.com/ngarbezza/testy" }, "bugs": { "url": "https://github.com/ngarbezza/testy/issues" }, "engines": { "node": ">= 20.*" }, "type": "module", "main": "lib/testy.js", "scripts": { "jsdoc": "npx jsdoc@latest --package package.json --recurse lib/ --destination doc/jsdoc --configure config/jsdoc.json", "see:jsdoc": "open doc/jsdoc/index.html", "lint": "eslint --config config/eslint.config.js", "lint:fix": "eslint --config config/eslint.config.js --fix", "test": "bin/testy_cli.js", "playground:run": "npm t tests/playground_test.js", "playground:reset": "cp tests/playground_test.js.template tests/playground_test.js", "playground:clear": "rm tests/playground_test.js", "test:coverage": "npx c8@latest --reporter lcov --reporter text --report-dir reports/coverage npm test", "see:coverage": "open reports/coverage/lcov-report/index.html", "test:mutation": "npx @stryker-mutator/core@latest run config/stryker.conf.json", "test:mutation:ci": "npx @stryker-mutator/core@latest run --reporters json,dashboard --inPlace config/stryker.conf.json", "see:mutation": "open reports/mutation/mutation.html", "see:dependencies": "npx madge@latest -i reports/testy-dependencies.png lib/ bin/", "see:complexity": "npx code-complexity@latest . --filter='lib/**' --sort=score", "contributors:add": "npx all-contributors@latest add", "contributors:generate": "npx all-contributors@latest generate" }, "bin": { "testy": "bin/testy_cli.js" }, "files": [ "bin", "lib" ], "directories": { "lib": "./lib" }, "keywords": [ "unit-test", "testing", "tdd", "simple", "learning", "teaching", "oop" ], "author": "Nahuel Garbezza <n.garbezza@gmail.com>", "license": "MIT", "devDependencies": { "@eslint/js": "^9.24.0", "eslint": "^9.24.0" } }