@leichtgewicht/pack-ts
Optionionated pack script for typescript libraries
Last updated 7 months ago by leichtgewicht .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @leichtgewicht/pack-ts 
SYNC missed versions from official npm registry.

@leichtgewicht/pack-ts

Package script for typescript libraries. Prepares a ./dist folder with reduced package.json that can then be published

npx @leichtgewicht/pack-ts

Warning: very opinionated built tool

This tool:

  • runs npm run build-ts to build the typescript code
  • removes unnecessary parts from the package.json like private or devDependencies in the dist folder.
  • removes compiled versions of __tests__
  • makes ./dist a root which makes deep require statements easier
  • adds ./src to the ./dist folder (without the __tests__!)
  • subsequentally fixes all the sourcemap entries to to point to the right sources.
  • copies a Readme.md and LICENSE file into the distribution

License

MIT

Current Tags

  • 1.0.1                                ...           latest (7 months ago)

2 Versions

  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 1
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |