visyn_scripts
v11.3.0
Published
[![NPM version](https://badge.fury.io/js/visyn_scripts.svg)](https://npmjs.org/package/visyn_scripts) [![build](https://github.com/datavisyn/visyn_scripts/actions/workflows/build.yml/badge.svg)](https://github.com/datavisyn/visyn_scripts/actions/workflows
Downloads
795
Readme
visyn_scripts
This package includes scripts and configuration files used by datavisyn repositories. Collecting everything in a single installable repository unifies configurations across many repositories, thus reducing the maintenance overhead.
Usage
Install visyn_scripts via npm: npm i --save-dev git+ssh://[email protected]/datavisyn/visyn_scripts.git#develop
Add visyn_scripts to your package.json scripts, i.e. add "compile": "visyn_scripts compile"
and execute it with npm run compile
, or alternatively directly execute it with npx visyn_scripts compile
.
Configurations
visyn_scripts also includes default configurations for ESLint, Prettier, Typescript, ...
To integrate them in an existing repository, simply switch to .js
configurations and reexport the configurations found in visyn_scripts. This way, any editor will look for a .prettierrc.js
in the repository, and will find one exporting the common configuration.
module.exports = require('visyn_scripts/config/prettierrc.template');
FAQ
...