UNPKG

@make-everything-simple/npm-template-typescript

Version:
66 lines (65 loc) 2.34 kB
{ "name": "@make-everything-simple/npm-template-typescript", "version": "1.0.4", "description": "Typescript template to build npm package", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "prebuild": "rimraf dist", "build": "tsup --config ./configs/tsup.config.ts", "start": "npm run build && node dist/index.js", "start:watch": "tsup src/index.ts --config ./configs/tsup.config.ts --watch --onSuccess 'node dist/index.js'", "pretest": "rimraf coverage", "test": "jest --config ./configs/jest.config.ts", "lint": "eslint \"{src,tests}/**/*.ts\" --config ./configs/.eslintrc.cjs", "lint:fix": "npm run lint -- --fix", "prettier:format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc", "prepare": "husky install" }, "repository": { "type": "git", "url": "git+https://github.com/make-everything-simple/npm-template-typescript.git" }, "keywords": [ "npm", "template", "npm-typescript", "package-template" ], "author": "make-everything-simple", "license": "MIT", "bugs": { "url": "https://github.com/make-everything-simple/npm-template-typescript/issues" }, "homepage": "https://github.com/make-everything-simple/npm-template-typescript#readme", "devDependencies": { "@tsconfig/node18": "^18.2.2", "@types/jest": "^29.5.11", "@typescript-eslint/eslint-plugin": "^6.20.0", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.10", "jest": "^29.7.0", "lint-staged": "^15.2.1", "node-notifier": "^10.0.1", "prettier": "3.2.4", "rimraf": "^5.0.5", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tsup": "^8.0.1", "typescript": "^5.3.3" }, "lint-staged": { "**/*": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc --ignore-unknown" }, "engines": { "node": ">=18.0.0" }, "type": "module" }