UNPKG

@maddimathon/build-utilities

Version:

Opinionated utilities for easy build systems in npm projects.

206 lines (168 loc) 6.45 kB
{ "name": "@maddimathon/build-utilities", "version": "0.3.0-alpha.5", "author": "Maddi Mathon (www.maddimathon.com)", "description": "Opinionated utilities for easy build systems in npm projects.", "keywords": [ "javascript-build-utilities", "npm-package", "npm-package-typescript", "typescript-build-utilities" ], "homepage": "https://maddimathon.github.io/npm-build-utilities", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/maddimathon/npm-build-utilities.git" }, "config": { "title": "NPM Build Utilities", "paths": { "releases": "@releases", "snapshots": ".snapshots" } }, "engines": { "node": ">=22" }, "type": "module", "files": [ "./dist/**/*", "./LICENSE.md", "./package-lock.json", "./package.json", "./README.md", "./tsconfig.base.json" ], "main": "./dist/js/index.js", "types": "./dist/js/index.d.ts", "bin": { "build-utils": "./dist/js/bin/index.js" }, "exports": { ".": { "types": "./dist/js/index.d.ts", "default": "./dist/js/index.js" }, "./bin": { "types": "./dist/js/bin/index.d.ts", "default": "./dist/js/bin/index.js" }, "./internal": { "types": "./dist/js/lib/@internal.d.ts", "default": "./dist/js/lib/@internal.js" }, "./jest.config": "./jest.config.js", "./jest.config.js": "./jest.config.js", "./package.json": "./package.json", "./prettierrc": "./dist/json/prettierrc.json", "./prettierrc.json": "./dist/json/prettierrc.json", "./tsconfig": "./tsconfig.base.json", "./tsconfig.json": "./tsconfig.base.json", "./types": "./dist/js/types/index.d.ts", "./types/*": [ "./dist/js/types/*.d.ts", "./dist/js/types/*/index.d.ts", "./dist/js/types/*" ], "./*": { "types": [ "./dist/js/*.d.ts", "./dist/js/*/index.d.ts" ], "default": [ "./dist/js/*.js", "./dist/js/*/index.js", "./dist/js/*" ] } }, "bugs": { "url": "https://github.com/maddimathon/npm-build-utilities/issues" }, "scripts": { "test-utils": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts --config .scripts/build.config.ts", "commit": "sh .scripts/commit.sh", "snap": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts snapshot --config .scripts/build.config.ts", "snapshot": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts snapshot --config .scripts/build.config.ts", "compile": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts compile --config .scripts/build.config.ts", "build": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts build --config .scripts/build.config.ts", "quick-build": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts build --config .scripts/build.config.ts --without minimize,prettify,readme,demo", "doc": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts document --config .scripts/build.config.ts", "test": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts test --config .scripts/build.config.ts", "prewatch": "npm run --silent quick-build -- --starting", "watch": "run-p --silent watch:*", "watch:docs": "watch -p 'src/docs/**/*' -p 'README.md' -c 'npm run --silent quick-build -- --only document --watchedWatcher \"watch:js\" --watchedChange --watchedFilename \"$FILENAME\" --watchedEvent \"$EVENT\"'", "watch:js": "watch -p 'src/ts/**/*' -c 'npm run --silent quick-build -- --only-compile js --watchedWatcher \"watch:js\" --watchedChange --watchedFilename \"$FILENAME\" --watchedEvent \"$EVENT\"'", "package": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts package --config .scripts/build.config.ts", "dryrun": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts release --config .scripts/build.config.ts --dryrun --without-package snapshot,zip", "release": "tsx --tsconfig .scripts/tsconfig.json src/ts/bin/index.ts release --config .scripts/build.config.ts" }, "dependencies": { "@maddimathon/utility-typescript": "2.0.0-beta.1", "@tsconfig/node20": "~20.1.6", "glob": "~11.0.3", "jest": "^30.2.0", "luxon": "^3.7.2", "minimist": "~1.2.8", "postcss-preset-env": "^10.4.0", "postcss": "^8.5.6", "prettier": "^3.6.2", "sass-embedded": "^1.93.2", "semver": "~7.7.3", "typedoc": "^0.28.14", "typedoc-plugin-inline-sources": "^1.3.0", "typescript": "^5.9.3" }, "devDependencies": { "@types/jest": "30.0.0", "@types/luxon": "3.7.1", "@types/minimist": "1.2.5", "@types/node": "22.15.30", "@types/semver": "7.7.1", "npm-run-all": "4.1.5", "tsx": "4.20.6", "watch-cli": "0.2.3" }, "peerDependencies": { "jest": "^30.2.0", "postcss": "^8.5.6", "postcss-preset-env": "^10.4.0", "prettier": "^3.6.2", "sass-embedded": "^1.93.2", "typedoc": "^0.28.14", "typedoc-plugin-inline-sources": "^1.3.0", "typescript": "^5.9.3" }, "peerDependenciesMeta": { "jest": { "optional": true }, "postcss": { "optional": true }, "postcss-preset-env": { "optional": true }, "prettier": { "optional": true }, "sass-embedded": { "optional": true }, "typedoc": { "optional": true }, "typedoc-plugin-inline-sources": { "optional": true }, "typescript": { "optional": true } }, "browserslist": [ "last 3 major versions", "> 0.5%", "not dead" ] }