UNPKG

@ents24/be-sure

Version:

NPM module for terse, 'throwy' validation

55 lines (54 loc) 1.64 kB
{ "name": "@ents24/be-sure", "version": "2.0.4", "description": "NPM module for terse, 'throwy' validation", "publishConfig": { "access": "public" }, "scripts": { "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json && npm run rename:esm", "build:localpack": "npm run clean && npm run build && npm run copyPackage && cd dist && npm pack --pack-destination ../", "build": "npm run build:cjs && npm run build:esm", "watch": "tsc -w", "test": "jest", "copyPackage": "cd dist && cp -f ../package.json . && cp -f ../README_NPM.md ./README.md && cp -f ../LICENSE .", "prepublishOnly": "sh -c 'if [ \"${PWD##*/}\" != \"dist\" ]; then echo \"Publish must be run from /dist, see README.md for steps\" && exit 1; fi'", "publishDist": "npm run copyPackage && cd dist && npm publish", "clean": "rm -rf dist", "rename:esm": "./scripts/fix-mjs.sh" }, "directories": { "test": "tests" }, "main": "./cjs/index.js", "module": "./esm/index.mjs", "exports": { ".": { "require": "./cjs/index.js", "import": "./esm/index.mjs" } }, "types": "./types/index.d.ts", "devDependencies": { "typescript": "^5.2.2", "ts-jest": "^29.1.1", "@types/jest": "^29.5.6" }, "repository": { "type": "git", "url": "git+https://github.com/Ents24/npm-be-sure.git" }, "keywords": [ "terse", "runtime", "validation", "throwy" ], "author": "Ents24", "license": "MIT", "bugs": { "url": "https://github.com/Ents24/npm-be-sure/issues" }, "homepage": "https://github.com/Ents24/npm-be-sure#readme" }