Commit 71192cdf authored by maggie's avatar maggie

save

parent 8e3a9bd9
...@@ -3,17 +3,17 @@ ...@@ -3,17 +3,17 @@
const gulp = require('gulp') const gulp = require('gulp')
const rename = require('gulp-rename') const rename = require('gulp-rename')
const nunjucksRender = require('gulp-nunjucks-render') const nunjucksRender = require('gulp-nunjucks-render')
const codeGenerate = require('./templates/generate') const codeGenerate = require('./generate')
var jsScript = 'node' var jsScript = 'node'
if (process.env.npm_config_argv !== undefined && process.env.npm_config_argv.indexOf('debug') > 0) { if (process.env.npm_config_argv !== undefined && process.env.npm_config_argv.indexOf('debug') > 0) {
jsScript = 'node debug' jsScript = 'node debug'
} }
const ServerFullPath = require('./package.json').ServerFullPath const ServerFullPath = '../src'
//const FrontendFullPath = require('./package.json').FrontendFullPath;
const nunjucksRenderConfig = { const nunjucksRenderConfig = {
path: 'templates/server', path: 'templates',
envOptions: { envOptions: {
tags: { tags: {
blockStart: '<%', blockStart: '<%',
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"ServerFullPath": "lazy-mock",
"devDependencies": { "devDependencies": {
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-nunjucks-render": "^2.2.3", "gulp-nunjucks-render": "^2.2.3",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment