UNPKG

as-procedure

Version:

easily create procedures within a pit-of-success

92 lines (91 loc) 3.69 kB
{ "name": "as-procedure", "author": "ehmpathy", "description": "easily create procedures within a pit-of-success", "version": "1.1.10", "repository": "ehmpathy/as-procedure", "homepage": "https://github.com/ehmpathy/as-procedure", "keywords": [ "procedure", "pit-of-success" ], "bugs": "https://github.com/ehmpathy/as-procedure/issues", "license": "MIT", "main": "dist/index.js", "engines": { "node": ">=8.0.0" }, "files": [ "/dist" ], "scripts": { "build:ts": "tsc -p ./tsconfig.build.json", "commit:with-cli": "npx cz", "fix:format:biome": "biome check --write src", "fix:format": "npm run fix:format:biome", "fix:lint": "biome check --write src", "fix": "npm run fix:format && npm run fix:lint", "build:clean": "rm dist/ -rf", "build:compile": "tsc -p ./tsconfig.build.json", "build": "npm run build:clean && npm run build:compile", "test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose", "test:types": "tsc -p ./tsconfig.json --noEmit", "test:format": "npm run test:format:biome", "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml", "test:format:biome": "biome format src", "test:lint:biome": "biome check src --diagnostic-level=error", "test:lint:biome:all": "biome check src", "test:lint": "npm run test:lint:biome && npm run test:lint:deps", "test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')", "test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')", "test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests", "test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally", "test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests", "prepush": "npm run test && npm run build", "prepublish": "npm run build", "preversion": "npm run prepush", "postversion": "git push origin HEAD --tags --no-verify", "prepare:husky": "npx husky install && chmod ug+x .husky/*", "prepare": "[ -e .git ] && npm run prepare:husky || exit 0" }, "dependencies": { "domain-glossary-procedure": "1.0.0", "domain-objects": "0.31.3", "helpful-errors": "1.5.3", "rhachet": "1.13.1", "rhachet-roles-ehmpathy": "1.13.3", "serde-fns": "1.0.0", "simple-log-methods": "0.6.3", "test-fns": "1.4.2", "type-fns": "1.21.0" }, "devDependencies": { "@biomejs/biome": "2.3.8", "@commitlint/cli": "19.5.0", "@commitlint/config-conventional": "19.5.0", "@swc/core": "1.15.3", "@swc/jest": "0.2.39", "@tsconfig/node20": "20.1.5", "@tsconfig/strictest": "2.0.5", "@types/jest": "30.0.0", "@types/node": "22.15.21", "cz-conventional-changelog": "3.3.0", "declapract": "0.13.0", "declapract-typescript-ehmpathy": "0.43.12", "declastruct": "1.5.1", "declastruct-github": "1.0.7", "depcheck": "1.4.3", "esbuild-register": "3.6.0", "husky": "8.0.3", "jest": "30.2.0", "test-fns": "1.4.2", "tsx": "4.20.6", "typescript": "5.4.5" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "packageManager": "pnpm@10.24.0" }