UNPKG

simple-artifact-builder

Version:

A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.

141 lines (140 loc) 5.36 kB
{ "name": "simple-artifact-builder", "author": "ehmpathy", "description": "A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.", "version": "1.1.15", "repository": "ehmpathy/simple-artifact-builder", "homepage": "https://github.com/ehmpathy/simple-artifact-builder", "keywords": [ "declarative", "best", "practice", "best-practice", "best-practices", "maintainable", "scalable", "repository", "linting", "fix" ], "bugs": "https://github.com/ehmpathy/simple-artifact-builder/issues", "engines": { "node": ">=12.0.0" }, "oclif": { "commands": "./dist/contract/commands", "bin": "simple-artifact-builder", "plugins": [ "@oclif/plugin-help" ] }, "license": "MIT", "main": "dist/contract/index.js", "types": "dist/contract/index.d.ts", "bin": { "simple-artifact-builder": "./bin/run" }, "files": [ "/bin", "/dist" ], "scripts": { "generate:cli-readme": "npm run build && oclif-dev readme", "build:static-assets": "copyfiles -u 1 src/logic/contents/*.js dist/", "commit:with-cli": "npx cz", "fix:format:prettier": "prettier --write '**/*.ts' --config ./prettier.config.js", "fix:format:terraform": "echo 'no terraform'", "fix:format": "npm run fix:format:prettier", "fix:lint": "eslint -c ./.eslintrc.js src/**/*.ts --fix", "build:artifact": "echo 'no artifact'", "build:clean": "rm dist/ -rf", "build:compile": "tsc -p ./tsconfig.build.json", "build": "npm run build:clean && npm run build:compile && npm run build:static-assets && npm run build:artifact", "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.build.json --noEmit", "test:format:prettier": "prettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js", "test:format:terraform": "echo 'no terraform'", "test:format": "npm run test:format:prettier", "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml", "test:lint:eslint": "eslint -c ./.eslintrc.js src/**/*.ts", "test:lint": "npm run test:lint:eslint && 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": "[ -d .git ] && npm run prepare:husky || exit 0" }, "dependencies": { "@ehmpathy/error-fns": "1.0.2", "@oclif/core": "2.0.11", "@oclif/plugin-help": "3.3.1", "@vercel/nft": "0.27.3", "archiver": "5.3.0", "chalk": "4.1.2", "domain-objects": "0.31.0", "fast-glob": "3.2.2", "helpful-errors": "1.5.3", "joi": "17.4.0", "oclif": "3.6.5", "pretty-bytes": "5.6.0", "simple-leveled-log-methods": "0.1.4", "ts-node": "8.6.2", "type-fns": "1.21.0", "uuid": "9.0.0", "yaml": "1.6.0" }, "devDependencies": { "@babel/core": "7.28.5", "@babel/preset-env": "7.28.5", "@commitlint/cli": "19.3.0", "@commitlint/config-conventional": "13.1.0", "@oclif/dev-cli": "1.26.10", "@trivago/prettier-plugin-sort-imports": "4.3.0", "@tsconfig/node-lts-strictest": "18.12.1", "@types/archiver": "5.1.1", "@types/jest": "29.2.4", "@types/joi": "17.2.3", "@types/node": "18.11.17", "@types/uuid": "9.0.0", "@types/yaml": "1.0.2", "@typescript-eslint/eslint-plugin": "7.8.0", "@typescript-eslint/parser": "7.8.0", "babel-jest": "30.2.0", "copyfiles": "2.4.1", "core-js": "3.26.1", "cz-conventional-changelog": "3.3.0", "declapract": "0.12.3", "declapract-typescript-ehmpathy": "0.42.3", "declastruct": "1.3.0", "declastruct-github": "1.0.3", "depcheck": "1.4.3", "eslint": "8.56.0", "eslint-config-airbnb-typescript": "18.0.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-unused-imports": "4.1.4", "husky": "8.0.3", "jest": "29.3.1", "node-stream-zip": "1.15.0", "prettier": "2.8.1", "test-fns": "1.4.2", "ts-jest": "29.4.5", "ts-node": "10.9.2", "tsx": "4.20.6", "typescript": "5.4.5", "uuid": "3.3.2" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "packageManager": "pnpm@10.24.0" }