UNPKG

common-services

Version:
183 lines (182 loc) 4.57 kB
{ "metapak": { "data": { "files": "'src/**/*.ts'", "testsFiles": "'src/**/*.test.ts'", "distFiles": "'dist/**/*.js'", "ignore": [ "dist" ], "bundleFiles": [ "dist", "src" ] }, "configs": [ "main", "readme", "eslint", "tsesm", "jest", "jsdocs", "jsarch", "ghactions", "coveralls", "codeclimate" ] }, "name": "common-services", "version": "17.1.2", "description": "A module to gather very common services.", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "author": { "name": "Nicolas Froidure", "email": "nicolas.froidure@insertafter.com", "url": "http://insertafter.com/en/index.html" }, "license": "MIT", "devDependencies": { "@eslint/js": "^9.30.1", "@swc/cli": "^0.7.8", "@swc/core": "^1.12.11", "@swc/helpers": "^0.5.17", "@swc/jest": "^0.2.39", "@types/node": "^24.0.3", "commitizen": "^4.3.1", "conventional-changelog-cli": "^5.0.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.30.1", "eslint-config-prettier": "^10.1.5", "eslint-config-typescript": "^3.0.0", "eslint-plugin-jest": "^29.0.1", "eslint-plugin-prettier": "^5.5.1", "jest": "^30.0.4", "jsarch": "^6.2.1", "jsdoc-to-markdown": "^9.1.1", "metapak": "^6.0.4", "metapak-nfroidure": "20.0.5", "prettier": "^3.6.2", "rimraf": "^6.0.1", "typescript": "^5.8.3", "typescript-eslint": "^8.36.0" }, "dependencies": { "knifecycle": "^19.1.3", "type-fest": "^5.2.0", "yerror": "^8.0.0" }, "scripts": { "architecture": "jsarch 'src/**/*.ts' > ARCHITECTURE.md && git add ARCHITECTURE.md", "build": "rimraf 'dist' && tsc --outDir dist", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "cli": "env NODE_ENV=${NODE_ENV:-cli}", "cover": "node --run jest -- --coverage", "cz": "env NODE_ENV=${NODE_ENV:-cli} git cz", "doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md", "format": "node --run prettier", "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest", "lint": "eslint 'src/**/*.ts'", "metapak": "metapak", "precz": "node --run build && node --run test && node --run lint && node --run architecture && node --run doc && node --run metapak -- -s", "prettier": "prettier --write 'src/**/*.ts'", "preversion": "node --run build && node --run test && node --run lint && node --run architecture && node --run doc && node --run metapak -- -s", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", "test": "node --run jest", "version": "node --run changelog" }, "repository": { "type": "git", "url": "git+https://github.com/nfroidure/common-services.git" }, "keywords": [ "services", "common", "knifecycle" ], "bugs": { "url": "https://github.com/nfroidure/common-services/issues" }, "homepage": "https://github.com/nfroidure/common-services#readme", "engines": { "node": ">=22.16.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "contributors": [], "files": [ "dist", "src", "LICENSE", "README.md", "CHANGELOG.md" ], "greenkeeper": { "ignore": [ "commitizen", "cz-conventional-changelog", "conventional-changelog-cli", "eslint", "prettier", "eslint-config-prettier", "eslint-plugin-prettier", "typescript-eslint", "typescript", "rimraf", "@swc/cli", "@swc/core", "@swc/helpers", "jest", "@swc/jest", "jsdoc-to-markdown", "jsarch" ] }, "prettier": { "semi": true, "printWidth": 80, "singleQuote": true, "trailingComma": "all", "proseWrap": "always" }, "jest": { "coverageReporters": [ "lcov" ], "testPathIgnorePatterns": [ "/node_modules/" ], "roots": [ "<rootDir>/src" ], "transform": { "^.+\\.tsx?$": [ "@swc/jest", {} ] }, "testEnvironment": "node", "moduleNameMapper": { "(.+)\\.js": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ], "prettierPath": null }, "jsarch": { "parserOptions": { "plugins": [ "typescript" ] } }, "funding": { "type": "individual", "url": "https://github.com/sponsors/nfroidure" } }