Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
71192cdf
Commit
71192cdf
authored
Nov 03, 2020
by
maggie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
8e3a9bd9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2355 additions
and
5 deletions
+2355
-5
gulpfile.js
v2.0/compileServer/gulpfile.js
+4
-4
package.json
v2.0/compileServer/package.json
+0
-1
yarn.lock
v2.0/compileServer/yarn.lock
+2351
-0
No files found.
v2.0/compileServer/gulpfile.js
View file @
71192cdf
...
@@ -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
:
'<%'
,
...
...
v2.0/compileServer/package.json
View file @
71192cdf
...
@@ -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"
,
...
...
v2.0/compileServer/yarn.lock
0 → 100644
View file @
71192cdf
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment