UNPKG

af-conditionals

Version:

A library that provides tools for making decisions in your code

83 lines (82 loc) 2.52 kB
{ "name": "af-conditionals", "version": "1.3.2", "description": "A library that provides tools for making decisions in your code", "keywords": [ "logic", "decisions" ], "main": "build/lib/index.js", "scripts": { "build": "npm run clean:all && npm run ready:check && npm run compile", "clean:all": "npm run clean:build && npm run clean:reports && npm run clean:coverage", "clean:build": "npx rimraf ./build/", "clean:reports": "npx rimraf ./reports/", "clean:coverage": "npx rimraf ./.nyc_output/", "compile": "npx tsc", "commit:check": "npm run build", "coverage": "npm nyc report --reporter=text-lcov | coveralls", "coverage:check": "npx nyc report --check-coverage --branches 100 --functions 100 --statements 100 --lines 100", "fix": "npx eslint --fix '**/*.ts'", "fix:all": "npm run fix && npm run format", "format": "npx prettier --write .", "format:check": "npx prettier --check .", "lint": "npx eslint '**/*.ts'", "ready:check": "npm run lint && npm run format:check && npm run test && npm run coverage:check", "test": "npx nyc mocha --config ./test/.mocharc.json --reporter-options reportDir='./reports/testing'" }, "files": [ "build" ], "nyc": { "include": [ "src" ], "extension": [ ".ts", ".tsx" ], "reporter": [ "html", "lcov" ], "all": true, "report-dir": "./reports/coverage" }, "author": "Michael Coakley <mcoakley@acmeframework.com>", "repository": { "type": "git", "url": "https://github.com/acmeframework/af-conditionals" }, "bugs": { "url": "https://github.com/acmeframework/af-conditionals/issues" }, "homepage": "https://github.com/acmeframework/af-conditionals#readme", "license": "MIT", "dependencies": { "tslib": "^2.1.0", "type-detect": "^4.0.8" }, "devDependencies": { "@types/chai": "^4.2.15", "@types/mocha": "^8.2.1", "@types/node": "^14.14.31", "@types/sinon": "^9.0.10", "@types/type-detect": "^4.0.1", "@typescript-eslint/eslint-plugin": "^4.15.2", "@typescript-eslint/parser": "^4.15.2", "chai": "^4.3.0", "coveralls": "^3.1.0", "eslint": "^7.20.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-prettier": "^3.3.1", "mocha": "^8.3.0", "mochawesome": "^6.2.2", "nyc": "^15.1.0", "prettier": "^2.2.1", "sinon": "^9.2.4", "source-map-support": "^0.5.19", "ts-node": "^9.1.1", "typescript": "^4.2.2" } }