1.0.3 • Published 4 years ago

pkg-local v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

pkg-local

Generate package.json for local package

usage

pkg-local targetPath

example

  • Original state

pakage.json

{
  "name": "example",
  "version": "1.0.0",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin":{"abc":"dist/abc.js"}
}
  • Execute command pkg-local dist

dist/package.json

{
  "name": "example",
  "version": "1.0.0",
  "main": "index.js",
  "types": "index.d.ts",
  "bin":{"abc":"abc.js"}
}

Install local module

  • You can install packages that do not include node_modules
npm install ../example/dist
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago