├── .gitignore ├── .npmignore ├── README.md ├── cli.js ├── config.json ├── index.js ├── lib └── util.js ├── package.json └── test └── files ├── baz.ejs ├── baz └── index.ejs ├── css └── main.css ├── foo ├── bar.ejs └── index.ejs ├── img └── hrflp.gif ├── index.ejs ├── templates ├── footer.ejs └── header.ejs └── woo.ejs /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | files 2 | .idea -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/README.md -------------------------------------------------------------------------------- /cli.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require('./index') -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/config.json -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/index.js -------------------------------------------------------------------------------- /lib/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/lib/util.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/package.json -------------------------------------------------------------------------------- /test/files/baz.ejs: -------------------------------------------------------------------------------- 1 |

I'm the right baz

-------------------------------------------------------------------------------- /test/files/baz/index.ejs: -------------------------------------------------------------------------------- 1 |

I'm the wrong baz

-------------------------------------------------------------------------------- /test/files/css/main.css: -------------------------------------------------------------------------------- 1 | body { 2 | font-family: Helvetica, Arial, sans-serif; 3 | } -------------------------------------------------------------------------------- /test/files/foo/bar.ejs: -------------------------------------------------------------------------------- 1 |

BAR

-------------------------------------------------------------------------------- /test/files/foo/index.ejs: -------------------------------------------------------------------------------- 1 |

FOO

2 | 3 |

The value of x is <%= _GET.x %>

-------------------------------------------------------------------------------- /test/files/img/hrflp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/test/files/img/hrflp.gif -------------------------------------------------------------------------------- /test/files/index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/test/files/index.ejs -------------------------------------------------------------------------------- /test/files/templates/footer.ejs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/files/templates/header.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/test/files/templates/header.ejs -------------------------------------------------------------------------------- /test/files/woo.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seldo/PNP/HEAD/test/files/woo.ejs --------------------------------------------------------------------------------