6.0.4 • Published 3 years ago

get-packages v6.0.4

Weekly downloads
101
License
MIT
Repository
github
Last release
3 years ago

Get packages NPM version Build Status Dependency Status

Version: 6.0.4

Yii 1/2 Packages command Node.js wrapper

Installation

Run npm install get-packages

Usage

var gp = require('get-packages').init();

API

gp.init(options)

Options

Type: String | Object

options.applicationPath
  • Type: String
  • Default: protected
options.yiiPackagesCommand
  • Type: String
  • Default: yiic packages
options.isAbsoluteCommandPath
  • Type: Boolean
  • Default: true
options.verbose
  • Type: Boolean
  • Default: false

Methods

  • gp.init(options)
  • gp.get()
  • gp.getPackagesDistPath()
  • gp.getPackagesDistPathWithoutImageDir()
  • gp.getStylesPaths()
  • gp.getStylesPathsByFilepath(filepath, glob)
  • gp.getStylesSourcePath()
  • gp.getStylesSourcePathWithGlob(glob)
  • gp.getScriptsSourcePath()
  • gp.getScriptsSourcePathWithoutFile()
  • gp.getScriptsSourcePathWithGlob(glob)
  • gp.getScriptsSourcePathBeforeTranspiling()
  • gp.getScriptsSourcePathBeforeTranspilingWithGlob(glob)
  • gp.getScriptsToBuild()
  • gp.getScriptsToTranspiling()
  • gp.getImagesPaths()
  • gp.getImagesSourcePath()
  • gp.getImagesSourcePathWithGlob(glob)
  • gp.getFontsPaths()
  • gp.getOtherPaths()
  • gp.getExtraParamsByModule(module)
  • gp.getCustomPaths(key)
  • gp.getCustomPathsWithGlob(key)

Backward compatible methods

  • gp.getCssPaths(filepath, glob)
  • gp.getAllCssPath(glob)
  • gp.getAllJsFile()
  • gp.getAllDistPaths()
  • gp.getBuildJs()
  • gp.getImagePaths()
  • gp.getAllImagePaths(glob)
  • gp.getFontPaths()

Utilities

  • gp.util.match(filepaths, patterns, options)

Requirement

  • Yii 1/2 Packages command

License

MIT © 2021 Gergely Kovács (gg.kovacs@gmail.com)

6.0.4

3 years ago

6.0.3

4 years ago

6.0.2

5 years ago

6.0.1

5 years ago

5.0.1

6 years ago

5.0.0

8 years ago

4.2.2

8 years ago

4.2.1

8 years ago

4.2.0

8 years ago

4.1.0

8 years ago

4.0.0

8 years ago

3.0.1

8 years ago

2.2.3

8 years ago

2.2.2

8 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.1.6

9 years ago

2.1.5

9 years ago

2.1.4

9 years ago

2.1.3

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

3.0.0

9 years ago

2.0.5

9 years ago

2.0.4

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago