@infinitetoolbox/bmi-calculator
Version:
BMI calculator
100 lines (99 loc) • 2.85 kB
JSON
{
"name": "@infinitetoolbox/bmi-calculator",
"version": "0.2.89",
"description": "BMI calculator",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"repository": "https://github.com/infinitetoolbox/calculators/packages/bmi-calculator",
"license": "MIT",
"keywords": [
"bmi",
"calculator"
],
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
"test:unit": "nyc --silent ava",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "nyc --silent ava --watch",
"cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:lcov": "nyc report --reporter=lcov",
"cov:send": "run-s cov:lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && npm i",
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
},
"engines": {
"node": ">=14"
},
"devDependencies": {
"@ava/typescript": "3.0.1",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@types/node": "16.18.10",
"@typescript-eslint/eslint-plugin": "5.47.0",
"@typescript-eslint/parser": "5.47.0",
"ava": "5.1.0",
"codecov": "3.8.3",
"cspell": "6.17.0",
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-functional": "4.4.1",
"eslint-plugin-import": "2.26.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"open-cli": "7.1.0",
"prettier": "2.8.1",
"standard-version": "9.5.0",
"typescript": "4.9.4"
},
"ava": {
"failFast": true,
"timeout": "60s",
"typescript": {
"rewritePaths": {
"src/": "build/main/"
},
"compile": false
},
"files": [
"!diff",
"!test",
"!build/module/**"
],
"ignoredByWatcher": [
"diff",
"test"
]
},
"prettier": {
"singleQuote": true
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
},
"gitHead": "ce82783a2b0aeeb82c7dbeff5a1ee63ba17300ca"
}