@run-z/project-config
v0.20.4
Published
Development tools for TypeScript projects
Downloads
106
Readme
Development Tools for TypeScript Projects
Provides a set of build tools.
Such as
build-z
to bundle project files, orclean-z
to clean the output.Provides configuration support for various development tools.
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: