@tsxo/assure
Version:
A lightweight, zero dependancy, and typesafe suite of assert functions.
58 lines (57 loc) • 1.9 kB
JSON
{
"name": "@tsxo/assure",
"version": "0.1.3",
"author": "TSxo",
"license": "MIT",
"description": "A lightweight, zero dependancy, and typesafe suite of assert functions.",
"keywords": [
"assure",
"assert",
"assertions",
"safe",
"typesafe",
"typescript",
"zero-dependency"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/TSxo/assure.git"
},
"bugs": {
"url": "https://github.com/TSxo/assure/issues"
},
"homepage": "https://github.com/TSxo/assure",
"engines": {
"node": ">=18"
},
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && npm run build:all && npm run format",
"build:all": "npm run build:types && npm run build:esm && npm run build:cjs && node scripts/generate-package-files.mjs",
"build:types": "tsc -p tsconfig.types.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"format": "prettier --write .",
"format:check": "prettier --check .",
"exports": "attw --pack .",
"test": "vitest run --reporter=verbose",
"coverage": "vitest run --coverage",
"dev": "vitest",
"ci": "npm run build && npm run format:check && npm run exports && npm test",
"local-release": "changeset version && changeset publish",
"prepublishOnly": "npm run ci"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@changesets/cli": "^2.27.9",
"@types/node": "^22.7.7",
"@vitest/coverage-v8": "^3.0.9",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"vitest": ">=2.1.9"
}
}