Skip to content

A plugin for parsing angular projects and extracting meta info for displaying into a styleguide

Notifications You must be signed in to change notification settings

futbotism/stylgyver-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stylgyver!

Stylgyver is a plugin for webpack that generates documentation from your shared angular folder example and docs here!

Install

npm install stylgyver-webpack --save-dev

Import

const StylgyverPlugin = require('../stylgyver-webpack');

Configure

new StylgyverPlugin({
    outputPath: './src/app/styleguide/meta.json',
    sourceOptions: [{
        parseType: 'component',
        name: 'components',
        path: 'src/app/shared/components'
      },{
        name: 'models',
        parseType: 'model',
        path: 'src/app/shared/models',
        addMetaToArray: 'true'
      },{
        name: 'pipes',
        parseType: 'pipe',
        path: 'src/app/shared/pipes',
        addMetaToArray: 'true'
      },{
        name: 'directives',
        parseType: 'directive',
        path: 'src/app/shared/directives',
        addMetaToArray: 'true'
      }
    ]
  })

About

A plugin for parsing angular projects and extracting meta info for displaying into a styleguide

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published