@dozerg/condition
Version:
Preconditions utility for TypeScript and JavaScript.
62 lines (61 loc) • 1.65 kB
JSON
{
"name": "@dozerg/condition",
"version": "1.0.11",
"description": "Preconditions utility for TypeScript and JavaScript.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"private": false,
"scripts": {
"compile": "tsc",
"compile:watch": "tsc -w",
"build": "npm run compile",
"test": "jest src/",
"test:watch": "jest --watch src/",
"clean": "rm -rf dist",
"cleanall": "rm -rf dist node_modules *.tgz docs",
"docs": "rm -rf docs && typedoc --plugin typedoc-plugin-markdown",
"prepublishOnly": "npm run clean && npm i && tsc && jest src/ && eslint src/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/daidodo/condition.git"
},
"keywords": [
"precondition",
"condition",
"assert",
"isNonNull",
"assertNonNull"
],
"author": "Zhao DAI <daidodo@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/daidodo/condition/issues"
},
"homepage": "https://github.com/daidodo/condition#readme",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"arrowParens": "avoid",
"embeddedLanguageFormatting": "off"
},
"devDependencies": {
"@eslint/js": "^9.32.0",
"@tsconfig/recommended": "^1.0.10",
"@types/babel__core": "^7.20.5",
"@types/jest": "^30.0.0",
"eslint": "^9.32.0",
"jest": "^30.0.5",
"prettier": "^3.6.2",
"ts-jest": "^29.4.0",
"typedoc": "^0.28.8",
"typedoc-plugin-markdown": "^4.8.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.38.0"
}
}