UNPKG

@ptkdev/node-module-boilerplate

Version:

Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library/module

104 lines (103 loc) 4.27 kB
{ "name": "@ptkdev/node-module-boilerplate", "displayName": "Node NPM Library Boilerplate", "description": "Create your npm library with this user friendly boilerplate. Use this respository as template for your new node library/module", "version": "2.0.7", "main": "dist/functions/module.js", "publishConfig": { "access": "public" }, "author": "Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)", "license": "MIT", "license-docs": "CC BY 4.0", "license-translations": "CC BY 4.0", "license-images": "CC BY-NC 4.0", "homepage": "https://github.com/ptkdev-boilerplate/node-module-boilerplate", "repository": { "type": "git", "url": "https://github.com/ptkdev-boilerplate/node-module-boilerplate.git" }, "bugs": { "url": "https://github.com/ptkdev-boilerplate/node-module-boilerplate/issues" }, "engines": { "node": ">=14.0.0" }, "scripts": { "setup": "ts-node --skip-project scripts/setup.ts && ts-node --skip-project scripts/changelog.ts && npm run pre-commit", "start": "npm run git-hash && node dist/core/run.js", "start-example-ts": "npm run release && ts-node examples/example.ts", "start-example-js": "npm run release && node examples/example.js", "dev": "npm run git-hash && ts-node scripts/configs.ts && ts-node scripts/rmdist.ts && nodemon --exec 'ts-node app/core/run.ts'", "build": "tsc", "release": "npm run git-hash && ts-node scripts/configs.ts && npm run build && tsc --declaration --emitDeclarationOnly", "test": "jest app", "docs": "git submodule update --recursive && markserv ./README.md", "lint": "npm run lint-prettify && eslint . --cache --ext .ts,.js", "lint-fix": "npm run lint-prettify && eslint . --cache --ext .ts,.js --fix", "lint-prettify": "prettier --write --ignore-unknown '**/*.{ts,js,md,json}'", "git-set-upstream": "git remote add upstream git@github.com:ptkdev-boilerplate/node-module-boilerplate.git && git fetch upstream", "git-pull-upstream": "git pull upstream main && git pull upstream beta && git pull upstream nightly", "git-pull": "git pull --recursive", "git-hash": "ts-node scripts/githash.ts", "git-ignore-reset": "git rm -r --cached . && git add . && git commit -m \"[Fix] Removing all files in .gitignore\"", "github-workflow-next-version": "ts-node scripts/version.ts", "github-workflow-changelog": "ts-node scripts/changelog_release.ts", "npm-publish-main": "git checkout main && npm publish", "npm-publish-beta": "git checkout beta && npm publish --tag beta", "npm-publish-nightly": "git checkout nightly && npm publish --tag nightly", "contributors-generate": "all-contributors generate", "all-shields-generate": "all-shields-generate", "pre-commit": "npm run contributors-generate && npm run all-shields-generate && npm run lint-fix && npm run test", "pkg-clean": "rm -rf node_modules package-lock.json && npm install && npm install eslint@7 @types/yargs@16 --save-dev && husky install", "pkg-update": "npm update", "pkg-upgrade": "npx --yes npm-check-updates -u && npm install && npm install eslint@7 @types/yargs@16 --save-dev && husky install", "prepare": "ts-patch install -s && husky install" }, "dependencies": { "@ptkdev/logger": "^1.8.0" }, "devDependencies": { "@ptkdev/all-shields-cli": "^2.0.2", "@types/jest": "^27.4.0", "@types/node": "^17.0.18", "@types/shelljs": "^0.8.11", "@types/yargs": "^16.0.4", "@typescript-eslint/eslint-plugin": "^5.12.0", "@typescript-eslint/parser": "^5.12.0", "all-contributors-cli": "^6.20.0", "eslint": "^7.32.0", "eslint-plugin-jest": "^26.1.1", "eslint-plugin-jsdoc": "^37.9.4", "husky": "^7.0.4", "jest": "^27.5.1", "json": "^11.0.0", "markserv": "^1.17.4", "nodemon": "^2.0.15", "pm2": "^5.2.0", "prettier": "^2.5.1", "replace-in-file": "^6.3.2", "shelljs": "^0.8.5", "ts-jest": "^27.1.3", "ts-node": "^10.5.0", "ts-patch": "^2.0.1", "typescript": "^4.5.5", "typescript-transform-paths": "^3.3.1", "yargs": "^17.3.1" }, "keywords": [ "ptkdev", "node", "node-module", "node-library", "npm-module", "npm-library", "node-module-boilerplate", "node-library-boilerplate", "npm-module-boilerplate", "npm-library-boilerplate", "boilerplate", "github-template" ], "contributors": [] }