UNPKG
generator-nodejs-common
Version:
latest (0.0.1)
0.0.1
Yeoman generator
github.com/han4wluc/generator-nodejs-common
han4wluc/generator-nodejs-common
generator-nodejs-common
/
generators
/
express
/
index.js
11 lines
(10 loc)
•
252 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
var
yeoman =
require
(
'yeoman-generator'
);
module
.
exports
= yeoman.
generators
.
Base
.
extend
({
writing
:
function
(
) {
this
.
fs
.
copy
(
this
.
templatePath
(
'express.js'
),
this
.
destinationPath
(
'./config/express.js'
) ); } });