Skip to content

datavisyn/visyn_scripts

Repository files navigation

visyn_scripts

NPM version build

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

...