@seroh/template-npm-package
Version:
Template for authoring an NPM package
71 lines (70 loc) • 1.73 kB
JSON
{
"name": "@seroh/template-npm-package",
"author": "Serohman",
"license": "MIT",
"description": "Template for authoring an NPM package",
"publishConfig": {
"access": "public"
},
"keywords": [
"typescript",
"npm",
"template",
"base",
"seed",
"package",
"bootstrap",
"boilerplate",
"npm-module",
"starter",
"module-template",
"eslint",
"prettier",
"jest",
"semantic-release",
"ci-cd",
"github-actions",
"husky",
"static-typing",
"typescript-template",
"npm-starter"
],
"version": "1.6.3",
"main": "dist/index.js",
"files": [
"dist",
"readme.md"
],
"scripts": {
"prepare": "husky",
"start": "npm run build",
"build": "tsc --watch",
"test": "jest --watch",
"lint": "npx eslint ./src",
"format": "npx prettier --write ./src",
"precommit": "lint-staged",
"precommit:format": "prettier --ignore-unknown --write",
"precommit:lint": "eslint --fix",
"precommit:test": "jest --bail --findRelatedTests",
"precommit:typecheck": "tsc --noEmit",
"ci:lint": "npx eslint ./src --config eslint.config.ci.mjs",
"ci:test": "jest --config jest.config.js --bail",
"ci:build": "tsc --build",
"ci:format": "npx prettier --check ./src"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/recommended": "^1.0.8",
"@types/jest": "^29.5.14",
"eslint": "^9.15.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"semantic-release": "^24.2.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3",
"typescript-eslint": "^8.15.0"
}
}