narrow-minded
Version:
Easy typeof validations with sophisticated TypeScript inference.
75 lines (74 loc) • 1.93 kB
JSON
{
"name": "narrow-minded",
"description": "Easy typeof validations with sophisticated TypeScript inference.",
"author": "Sebastian Sangervasi",
"license": "MIT",
"version": "1.3.0-alpha+1",
"keywords": [
"validate",
"narrow",
"typescript",
"typeof",
"predicate",
"schema"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ssangervasi/narrow-minded.git"
},
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.mjs",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.modern.mjs"
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">12.0",
"npm": ">6.0"
},
"scripts": {
"build": "rm -rf dist/* && npm run build-web && npm run build-node && npm run docs",
"build-web": "microbundle --target=web --format=modern,esm",
"build-node": "microbundle --target=node --format=cjs",
"docs": "jsdoc -c jsdoc.json",
"lint": "eslint --fix --cache src/**/*.ts tests/**/*.ts",
"jest": "jest --runTestsByPath",
"jest-watch": "jest --watch --runTestsByPath",
"test": "jest tests/*",
"test-watch": "jest --watch tests/*",
"test-packages": "./bin/test-packages",
"watch": "tsc-watch"
},
"devDependencies": {
"@babel/types": "^7.15.0",
"@jsdoc/salty": "^0.2.8",
"@types/jest": "^29.0.0",
"@types/lodash": "^4.14.172",
"@types/node": "^12.20.19",
"@typescript-eslint/eslint-plugin": "^8.0",
"@typescript-eslint/parser": "^8.0",
"better-docs": "^2.3.2",
"eslint": "^9.0",
"eslint-config-prettier": "^8.3",
"eslint-plugin-prettier": "^5.0",
"jest": "^29.0.0",
"jsdoc": "^3.6.7",
"lodash": "^4.17.21",
"microbundle": "^0.15.1",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"ts-loader": "^6.2",
"ts-node": "^10.0.0",
"tsc-watch": "^2.4.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^5.6.0"
}
}