UNPKG

sync-content

Version:

Synchronize the contents of one folder to another location, only copying files if contents differ.

79 lines (78 loc) 1.98 kB
{ "name": "sync-content", "version": "2.0.1", "description": "Synchronize the contents of one folder to another location, only copying files if contents differ.", "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "bin": "./dist/esm/bin.mjs", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } } }, "files": [ "dist" ], "license": "BlueOak-1.0.0", "scripts": { "preversion": "npm test", "postversion": "npm publish", "prepublishOnly": "git push origin --follow-tags", "prepare": "tshy", "pretest": "npm run prepare", "presnap": "npm run prepare", "test": "tap", "snap": "tap", "format": "prettier --write . --loglevel warn", "typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts" }, "prettier": { "experimentalTernaries": true, "semi": false, "printWidth": 75, "tabWidth": 2, "useTabs": false, "singleQuote": true, "jsxSingleQuote": false, "bracketSameLine": true, "arrowParens": "avoid", "endOfLine": "lf" }, "dependencies": { "glob": "^11.0.0", "mkdirp": "^3.0.1", "path-scurry": "^2.0.0", "rimraf": "^6.0.0", "tshy": "^3.0.0" }, "devDependencies": { "@types/node": "^20.14.10", "prettier": "^3.3.2", "tap": "^20.0.3", "typedoc": "^0.26.3" }, "engines": { "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" }, "repository": "https://github.com/isaacs/sync-content", "type": "module", "tshy": { "exports": { "./package.json": "./package.json", ".": "./src/index.ts" } }, "types": "./dist/commonjs/index.d.ts" }