UNPKG

@jointly/cache-candidate-plugin-base

Version:

This is a library providing types needed to create a plugin for cache-candidate.

79 lines (78 loc) 2.51 kB
{ "name": "@jointly/cache-candidate-plugin-base", "description": "This is a library providing types needed to create a plugin for cache-candidate.", "private": false, "version": "2.0.0", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js" }, "./package.json": "./package.json" }, "scripts": { "ts-types": "tsc --emitDeclarationOnly", "check": "npm run prettier && npm run lint && npm test", "build": "npm run check && rimraf dist && NODE_ENV=production node esbuild.js && npm run ts-types", "prettier": "prettier --write ./src", "lint": "eslint ./src --ext .ts", "dev": "jest --watch", "test": "jest --no-cache", "coverage": "jest --coverage", "release:common": "npm run build && git push --follow-tags origin main && npm publish --access public", "release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version patch && npm run release:common", "release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version minor && npm run release:common", "release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'docs: updated changelog' && npm version major && npm run release:common" }, "prepublish": "npm run build", "devDependencies": { "@commitlint/cli": "^17.3.0", "@commitlint/config-conventional": "^17.3.0", "@types/jest": "^29.2.4", "@types/node": "^18.11.12", "@typescript-eslint/eslint-plugin": "^5.46.0", "@typescript-eslint/parser": "^5.46.0", "esbuild": "^0.16.4", "eslint": "^8.29.0", "generate-changelog": "^1.8.0", "husky": "^8.0.2", "jest": "^29.3.1", "lint-staged": "^13.1.0", "prettier": "^2.8.1", "rimraf": "^3.0.2", "ts-jest": "^29.0.3", "typescript": "^4.9.4" }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx}": [ "npx prettier --write", "npx eslint --fix" ] }, "repository": { "type": "git", "url": "git://github.com/JointlyTech/cache-candidate-plugin-base.git" }, "license": "MIT", "author": "Michael Di Prisco <cadienvan@gmail.com>", "keywords": [ "npm", "package", "typescript", "javascript", "cache", "candidate", "plugin", "base", "cache-candidate", "types", "type", "type-definitions" ] }