0.20.2 • Published 2 months ago

@run-z/project-config v0.20.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Development Tools for TypeScript Projects

NPM Build Status GitHub Project API Documentation

  • Provides a set of build tools.

    Such as build-z to bundle project files, or clean-z to clean the output.

  • Provides configuration support for various development tools.

    Such as Rollup and Jest.

  • Implies project layout.

    All development and build tools respect this layout.

  • Maintains some project configuration files.

    Such as .gitignore and .npmignore.

Installation

Add @run-z/project-config to your project:

npm add --save-dev @run-z/project-config

and start using its tooling.

Project Layout

Project configuration implied to have the following directories:

  • src/ directory for TypeScript sources.
  • dist/ directory for distribution files.
  • target/ directory for build targets not supposed to be published by NPM.

There is also a cache directory created automatically in temporary system directory.

This can me customized.

Build Tools

Build tools are scripts that can be added to project's package.json:

{
  "scripts": {
    "build": "build-z",
    "clean": "clean-z",
    "lint": "lint-z",
    "test": "test-z"
  }
}

Then these tools cab be invoked to perform particular tasks:

npm run clean  # Clean output
npm run lint   # Perform linting
npm run test   # Run project tests
npm run build  # Bundle project files

The following tools supported:

  • build-z - transpiles and bundles TypeScript source files with Rollup.
  • clean-z - cleans the output by deleting output directories (dist/, target/, and cache one, according to project layout).
  • test-z - runs project tests with Jest.
0.20.2

2 months ago

0.20.1

7 months ago

0.20.0

9 months ago

0.19.0

12 months ago

0.19.1

11 months ago

0.19.2

11 months ago

0.19.3

11 months ago

0.15.4

1 year ago

0.15.5

1 year ago

0.16.0

1 year ago

0.17.0

1 year ago

0.15.2

1 year ago

0.18.0

1 year ago

0.15.3

1 year ago

0.15.1

1 year ago

0.15.0

1 year ago

0.14.1

1 year ago

0.11.0

2 years ago

0.12.0

2 years ago

0.13.0

1 year ago

0.12.1

1 year ago

0.14.0

1 year ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.9.1

2 years ago

0.7.0

2 years ago

0.6.2

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.3.3

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago