UNPKG

sync-npm-packages

Version:

Sync released npm packages to mirror registries automatically.

81 lines 1.97 kB
{ "name": "sync-npm-packages", "version": "0.3.0", "description": "Sync released npm packages to mirror registries automatically.", "keywords": [ "npm", "npmmirror", "package", "registry", "release", "sync" ], "homepage": "https://github.com/ntnyq/sync-npm-packages#readme", "bugs": { "url": "https://github.com/ntnyq/sync-npm-packages/issues" }, "license": "MIT", "author": { "name": "ntnyq", "email": "ntnyq13@gmail.com" }, "repository": "ntnyq/sync-npm-packages", "files": [ "bin.mjs", "dist", "schemas" ], "type": "module", "sideEffects": false, "main": "./dist/index.mjs", "types": "./dist/index.d.mts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" } }, "dependencies": { "cac": "^7.0.0", "tinyglobby": "^0.2.16", "tinyrainbow": "^3.1.0", "unconfig": "^7.5.0" }, "devDependencies": { "@ntnyq/utils": "^0.13.3", "@types/node": "^25.9.1", "@typescript/native-preview": "^7.0.0-dev.20260525.1", "bumpp": "^11.1.0", "husky": "^9.1.7", "nano-staged": "^1.0.2", "npm-run-all2": "^9.0.1", "oxfmt": "^0.51.0", "oxlint": "^1.66.0", "tsdown": "^0.22.0", "vitest": "^4.1.7" }, "nano-staged": { "*.{js,ts,mjs,tsx}": "oxlint --fix", "*": "oxfmt --no-error-on-unmatched-pattern" }, "engines": { "node": "^22.13.0 || >=24.0" }, "scripts": { "build": "tsdown", "dev": "tsdown --watch", "format": "oxfmt", "format:check": "oxfmt --check", "lint": "oxlint", "release": "run-s release:check release:version release:sync", "release:check": "run-s format:check lint typecheck", "release:sync": "npx sync-npm-packages --target npmmirror", "release:version": "bumpp", "test": "vitest", "typecheck": "tsgo --noEmit" }, "bin": { "sync-npm-packages": "./bin.mjs" } }