Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating custom json output? #19

Closed
CGTS opened this issue Mar 11, 2017 · 1 comment
Closed

Creating custom json output? #19

CGTS opened this issue Mar 11, 2017 · 1 comment

Comments

@CGTS
Copy link

CGTS commented Mar 11, 2017

Is it possible to achieve the following with gulp-filelist?

If I have a folder structure like:

pages/
├── lesson01/
│   ├── 01_001
│   ├── 01_002
├── lesson02/
│   ├── 02_001
│   ├── 02_002

How can I output a json file like this:

{
  "lesson01": [
    "01_001",
    "01_002"
  ],
  "lesson02": [
    "02_001",
    "02_002"
  ]
}

Any help is appreciated.

@cjroth
Copy link
Owner

cjroth commented Oct 14, 2018

Hey no unfortunately that is not possible, but PRs are welcome.

@cjroth cjroth closed this as completed Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants