preversion
Version:
A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version
127 lines (126 loc) • 3.59 kB
JSON
{
"name": "preversion",
"version": "0.2.1",
"type": "module",
"description": "A tiny cli helps you to publish alpha/beta versions to npm before releasing the final latest version",
"repository": "git+https://github.com/un-ts/preversion.git",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"funding": "https://opencollective.com/unts",
"license": "MIT",
"packageManager": "yarn@4.9.2",
"engines": {
"node": ">=18.0.0"
},
"bin": "./lib/cli.js",
"main": "./lib/index.cjs",
"types": "./lib/index.d.cts",
"module": "./lib/index.js",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/index.d.cts",
"default": "./lib/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"lib",
"!**/*.tsbuildinfo"
],
"keywords": [
"prerelease",
"preversion",
"release"
],
"scripts": {
"build": "concurrently -r 'yarn:build:*'",
"build:tsc": "tsc -p src",
"build:tsdown": "tsdown -d lib --clean false --format cjs src/index.ts",
"dev": "vitest",
"docs:build": "vite build docs --emptyOutDir",
"docs:dev": "vite docs",
"format": "prettier --write .",
"lint": "concurrently -r 'yarn:lint:*'",
"lint:es": "eslint . --cache --max-warnings 10",
"lint:style": "stylelint . --cache",
"lint:tsc": "tsc --noEmit",
"prepare": "patch-package && simple-git-hooks && yarn-berry-deduplicate || exit 0",
"release": "yarn build && changeset publish",
"release:beta": "yarn build && yarn preversion",
"serve": "vite preview docs",
"test": "vitest run --coverage",
"typecov": "type-coverage",
"vercel-build": "yarn docs:build",
"version": "changeset version && yarn --no-immutable"
},
"dependencies": {
"@pkgr/core": "^0.3.0",
"commander": "^13.0.0 || ^14.0.0",
"semver": "^7.7.2"
},
"devDependencies": {
"@1stg/app-config": "^14.0.0",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.4",
"@commitlint/cli": "^19.8.1",
"@mdx-js/rollup": "^3.1.0",
"@size-limit/preset-small-lib": "^11.2.0",
"@types/mdx": "^2.0.13",
"@types/node": "^22.15.18",
"@types/react": "^19.1.4",
"@types/react-dom": "^19.1.5",
"@types/semver": "^7.7.0",
"@types/web": "^0.0.262",
"@unts/patch-package": "^8.1.1",
"@vitejs/plugin-react-swc": "^4.0.0",
"@vitest/coverage-v8": "^3.1.3",
"concurrently": "^9.1.2",
"eslint": "^9.27.0",
"github-markdown-css": "^5.8.1",
"nano-staged": "^0.8.0",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-router-dom": "^7.6.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.1",
"simple-git-hooks": "^2.13.0",
"size-limit": "^11.2.0",
"size-limit-preset-node-lib": "^0.4.0",
"stylelint": "^16.19.1",
"tsdown": "^0.14.0",
"type-coverage": "^2.29.7",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.1.3",
"yarn-berry-deduplicate": "^6.1.3"
},
"resolutions": {
"prettier": "^3.5.3"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"size-limit": [
{
"config": "size-limit.esbuild.js",
"path": "lib/cli.js",
"limit": "22kB"
}
],
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreAsAssertion": true,
"ignoreNonNullAssertion": true,
"showRelativePath": true,
"strict": true,
"update": true
}
}