UNPKG

prepare-package

Version:

Prepare a Node.js package before being published

58 lines 1.45 kB
{ "name": "prepare-package", "version": "2.1.0", "description": "Prepare a Node.js package before being published", "main": "dist/index.js", "bin": { "prepare-package": "./dist/cli.js", "pp": "./dist/cli.js" }, "exports": { ".": "./dist/index.js", "./watch": "./dist/watch.js" }, "files": [ "dist" ], "scripts": { "test": "./node_modules/mocha/bin/mocha test/ --recursive --timeout=10000", "start": "npm run prepare:watch", "prepare": "node -e \"require('./src/index.js')()\"", "prepare:watch": "node -e \"require('./src/watch.js')()\"", "postinstall": "node -e \"require('./dist/index.js')({cwd: process.env.INIT_CWD, isPostInstall: true})\"" }, "engines": { "node": ">=12" }, "repository": { "type": "git", "url": "git+https://github.com/itw-creative-works/prepare-package.git" }, "keywords": [ "management", "backend", "frontend", "productivity" ], "author": "ITW Creative Works", "license": "ISC", "bugs": { "url": "https://github.com/itw-creative-works/prepare-package/issues" }, "homepage": "https://itwcreativeworks.com", "preparePackage": { "input": "src", "output": "dist", "replace": {} }, "dependencies": { "chalk": "^5.6.2", "chokidar": "^5.0.0", "esbuild": "^0.28.0", "fs-jetpack": "^5.1.0", "wonderful-fetch": "^2.0.5" }, "devDependencies": { "mocha": "^11.7.5" } }