Start development of a package with pre-defined eslint, prettier, babel and rollup configuration
Last updated 2 months ago by markusjwetzel .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install packsy 
SYNC missed versions from official npm registry.

???? Packsy

This package helps you to set up a new npm package blazing fast. Use eslint, prettier, babel and rollup with zero configuration.

???? See packsy-starter for usage example and starter kit.


npm install packsy
# or
yarn add packsy


Name Description
packsy build Builds production ready bundles with Rollup. Output directory is dist.
packsy dev Compiles files for development with Babel. Output directory is lib.
packsy format Formats all files. All Prettier cli options can be used.
packsy lint Lints all files. All ESLint cli options can be used.
packsy pre-commit Formats and lints all staged files, validates package.json.
packsy validate Lints all files. validates package.json.

Prettier and ESLint configs

The package provides a default Prettier and ESLint configuration. See .prettierrc.js and .eslintrc.js in packsy-starter for usage.

Development workflow (linked package)

Link the package as usual using yarn's or npm's link/unlink commands first. Then execute packsy dev.

packsy dev compiles all files with babel in watch mode, so that a file will be compiled every time that you change it.

Projects that use Packsy


What is the difference between packsy build and packsy dev?

First the output folders are different (dist for build and lib for dev command). Second the build command uses Rollup (with Babel) while dev uses only Babel. Using only Babel leads to faster compile times, which is useful for development. Also the dev command uses the watch mode of Babel.


This package is inspired by Kent C. Dodds's awesome package kcd-scripts.


This package is released under the MIT License.

Current Tags

  • 0.2.1                                ...           latest (2 months ago)

11 Versions

  • 0.2.1                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 11
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © |