@thermopylae/dev.environment
v1.0.1
Published
Development environment for Thermopylae modules.
Downloads
3
Readme
Development environment for Thermopylae modules.
Install
npm install @thermopylae/dev.environment --dev
Description
This package contains a collection of tools used in the development process of Thermopylae packages, such as:
- gulp tasks (e.g. build, lint, test, doc)
- dependencies to dev tools (e.g. eslint, mocha, typedoc)
- configs for dev tools
Usage
Bellow are simple examples of how this module can be used:
- gulpfile.cjs
"use strict";
module.exports = require('@thermopylae/dev.environment').gulpfile;
- .eslintrc.cjs
module.exports = require('@thermopylae/dev.environment').configs.eslint;
- tsconfig.json
{
"extends": "../../node_modules/@thermopylae/dev.environment/lib/configs/tsconfig.json",
"compilerOptions": {
"rootDir": ".",
"tsBuildInfoFile": "build/tsbuildinfo",
"outDir": "dist",
"module": "commonjs"
},
"include": [
"lib/**/*.ts",
"test/**/*.ts"
]
}
Author
👤 Rusu Marin
- GitHub: @marinrusu1997
- Email: [email protected]
- LinkedIn: @marinrusu1997
📝 License
Copyright © 2021 Rusu Marin. This project is MIT licensed.