Skip to content

dv-usama-ansari/visyn_scripts

 
 

Repository files navigation

visyn_scripts

NPM version Build Status

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://git@github.com/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.

Scripts

The main purpose of visyn_scripts are the unified scripts:

build

Builds a workspace using webpack.

compile

Builds a repository using typescript.

copy

Copies assets, styles, and static files to the dist folder.

docs

Generates docs of a repository using typedoc.

lint

Lints a repository using ESLint.

test

Tests a repository using Jest.

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

...


This repository is part of the Target Discovery Platform (TDP). For tutorials, API docs, and more information about the build and deployment process, see the documentation page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.4%
  • HTML 1.9%
  • Batchfile 0.8%
  • Shell 0.8%
  • TypeScript 0.7%
  • SCSS 0.6%
  • Other 0.8%