| 1 | {
|
|---|
| 2 | "name": "simple-update-notifier",
|
|---|
| 3 | "version": "2.0.0",
|
|---|
| 4 | "description": "Simple update notifier to check for npm updates for cli applications",
|
|---|
| 5 | "main": "build/index.js",
|
|---|
| 6 | "types": "build/index.d.ts",
|
|---|
| 7 | "repository": {
|
|---|
| 8 | "type": "git",
|
|---|
| 9 | "url": "https://github.com/alexbrazier/simple-update-notifier.git"
|
|---|
| 10 | },
|
|---|
| 11 | "homepage": "https://github.com/alexbrazier/simple-update-notifier.git",
|
|---|
| 12 | "author": "alexbrazier",
|
|---|
| 13 | "license": "MIT",
|
|---|
| 14 | "engines": {
|
|---|
| 15 | "node": ">=10"
|
|---|
| 16 | },
|
|---|
| 17 | "scripts": {
|
|---|
| 18 | "test": "jest src --noStackTrace",
|
|---|
| 19 | "build": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|---|
| 20 | "prettier:check": "prettier --check src/**/*.ts",
|
|---|
| 21 | "prettier": "prettier --write src/**/*.ts",
|
|---|
| 22 | "eslint": "eslint src/**/*.ts",
|
|---|
| 23 | "lint": "yarn prettier:check && yarn eslint",
|
|---|
| 24 | "prepare": "yarn lint && yarn build",
|
|---|
| 25 | "release": "release-it"
|
|---|
| 26 | },
|
|---|
| 27 | "dependencies": {
|
|---|
| 28 | "semver": "^7.5.3"
|
|---|
| 29 | },
|
|---|
| 30 | "devDependencies": {
|
|---|
| 31 | "@babel/preset-env": "^7.22.5",
|
|---|
| 32 | "@babel/preset-typescript": "^7.22.5",
|
|---|
| 33 | "@release-it/conventional-changelog": "^5.1.1",
|
|---|
| 34 | "@types/jest": "^29.5.2",
|
|---|
| 35 | "@types/node": "^20.3.1",
|
|---|
| 36 | "@typescript-eslint/eslint-plugin": "^5.60.0",
|
|---|
| 37 | "@typescript-eslint/parser": "^5.60.0",
|
|---|
| 38 | "eslint": "^8.43.0",
|
|---|
| 39 | "eslint-config-prettier": "^8.8.0",
|
|---|
| 40 | "eslint-plugin-prettier": "^4.0.0",
|
|---|
| 41 | "jest": "^29.5.0",
|
|---|
| 42 | "prettier": "^2.8.8",
|
|---|
| 43 | "release-it": "^15.11.0",
|
|---|
| 44 | "rollup": "^3.25.2",
|
|---|
| 45 | "rollup-plugin-ts": "^3.2.0",
|
|---|
| 46 | "typescript": "^5.1.3"
|
|---|
| 47 | },
|
|---|
| 48 | "resolutions": {
|
|---|
| 49 | "semver": "^7.5.3"
|
|---|
| 50 | },
|
|---|
| 51 | "publishConfig": {
|
|---|
| 52 | "registry": "https://registry.npmjs.org/"
|
|---|
| 53 | },
|
|---|
| 54 | "files": [
|
|---|
| 55 | "build",
|
|---|
| 56 | "src"
|
|---|
| 57 | ],
|
|---|
| 58 | "release-it": {
|
|---|
| 59 | "git": {
|
|---|
| 60 | "commitMessage": "chore: release ${version}",
|
|---|
| 61 | "tagName": "v${version}"
|
|---|
| 62 | },
|
|---|
| 63 | "npm": {
|
|---|
| 64 | "publish": true
|
|---|
| 65 | },
|
|---|
| 66 | "github": {
|
|---|
| 67 | "release": true
|
|---|
| 68 | },
|
|---|
| 69 | "plugins": {
|
|---|
| 70 | "@release-it/conventional-changelog": {
|
|---|
| 71 | "preset": "angular",
|
|---|
| 72 | "infile": "CHANGELOG.md"
|
|---|
| 73 | }
|
|---|
| 74 | }
|
|---|
| 75 | },
|
|---|
| 76 | "eslintConfig": {
|
|---|
| 77 | "plugins": [
|
|---|
| 78 | "@typescript-eslint",
|
|---|
| 79 | "prettier"
|
|---|
| 80 | ],
|
|---|
| 81 | "extends": [
|
|---|
| 82 | "prettier",
|
|---|
| 83 | "eslint:recommended",
|
|---|
| 84 | "plugin:@typescript-eslint/recommended"
|
|---|
| 85 | ],
|
|---|
| 86 | "parser": "@typescript-eslint/parser",
|
|---|
| 87 | "rules": {
|
|---|
| 88 | "prettier/prettier": [
|
|---|
| 89 | "error",
|
|---|
| 90 | {
|
|---|
| 91 | "quoteProps": "consistent",
|
|---|
| 92 | "singleQuote": true,
|
|---|
| 93 | "tabWidth": 2,
|
|---|
| 94 | "trailingComma": "es5",
|
|---|
| 95 | "useTabs": false
|
|---|
| 96 | }
|
|---|
| 97 | ]
|
|---|
| 98 | }
|
|---|
| 99 | }
|
|---|
| 100 | }
|
|---|