Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yl16_ai_cartoon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
template admin
yl16_ai_cartoon
Commits
3aa1f628
Commit
3aa1f628
authored
Mar 12, 2026
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
ab5f0a59
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
337 additions
and
97 deletions
+337
-97
index.css
form/index.css
+23
-0
index.html
form/index.html
+31
-11
index.js
form/index.js
+191
-20
package-lock.json
package-lock.json
+92
-66
No files found.
form/index.css
View file @
3aa1f628
...
...
@@ -283,10 +283,26 @@ body{
flex-wrap
:
wrap
;
}
.quiz-dialog
.el-dialog
{
height
:
70vh
;
display
:
flex
;
flex-direction
:
column
;
}
.quiz-dialog
.el-dialog__body
{
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.quiz-list
{
display
:
flex
;
flex-direction
:
column
;
gap
:
12px
;
overflow
:
auto
;
padding-right
:
6px
;
flex
:
1
;
}
.quiz-item
{
...
...
@@ -351,6 +367,13 @@ body{
gap
:
6px
;
}
.quiz-inline
{
flex
:
1
;
display
:
flex
;
gap
:
8px
;
align-items
:
center
;
}
.quiz-option
,
.quiz-answer
{
display
:
flex
;
...
...
form/index.html
View file @
3aa1f628
...
...
@@ -207,13 +207,15 @@
<el-dialog
title=
"录入习题"
:visible
.
sync=
"quizDialogVisible"
width=
"80%"
width=
"90%"
class=
"quiz-dialog"
@
close=
"closeQuizDialog"
>
<div
class=
"quiz-toolbar"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('choice')"
>
新增选择题
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('
text
')"
>
新增问答题
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('
query
')"
>
新增问答题
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('judge')"
>
新增判断题
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('blank')"
>
新增填空题
</el-button>
<el-button
size=
"mini"
type=
"primary"
@
click=
"addQuestion('reading')"
>
新增跟读题
</el-button>
</div>
<div
class=
"quiz-list"
v-if=
"quizList.length"
>
<div
...
...
@@ -235,9 +237,13 @@
</div>
<div
class=
"quiz-item-body"
>
<div
class=
"quiz-row"
>
<div
class=
"quiz-row"
v-if=
"q.type !== 'reading'"
>
<div
class=
"quiz-label"
>
题干
</div>
<el-input
size=
"mini"
v-model=
"q.question"
@
input=
"saveData"
></el-input>
<el-input
size=
"mini"
:ref=
"'quizQuestionInput_' + qIndex"
v-model=
"q.question"
@
input=
"saveData"
></el-input>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === 'choice'"
>
...
...
@@ -260,16 +266,21 @@
</el-radio-group>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === '
text
'"
>
<div
class=
"quiz-row"
v-if=
"q.type === '
query
'"
>
<div
class=
"quiz-label"
>
参考答案
</div>
<div
class=
"quiz-answers"
>
<div
class=
"quiz-answer"
v-for=
"(ans, ansIndex) in q.answers"
:key=
"ansIndex"
>
<el-input
size=
"mini"
v-model=
"q.answers[ansIndex]"
@
input=
"saveData"
></el-input>
<el-button
size=
"mini"
type=
"text"
:disabled=
"q.answers.length <= 1"
@
click=
"removeAnswer(qIndex, ansIndex)"
>
删除
</el-button>
</div>
<el-button
size=
"mini"
type=
"primary"
plain
@
click=
"addAnswer(qIndex)"
>
新增答案
</el-button>
<el-input
size=
"mini"
v-model=
"q.answer"
@
input=
"saveData"
></el-input>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === 'query'"
>
<div
class=
"quiz-label"
>
备注
</div>
<div
class=
"quiz-inline"
>
<el-input
size=
"mini"
v-model=
"q.hint"
@
input=
"saveData"
></el-input>
<el-button
size=
"mini"
type=
"primary"
plain
@
click=
"fillQueryHint(q)"
>
一键填入图片理解内容
</el-button>
</div>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === 'query'"
>
<div
class=
"quiz-label"
>
提示
</div>
<el-input
size=
"mini"
v-model=
"q.tip"
@
input=
"saveData"
></el-input>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === 'blank'"
>
<div
class=
"quiz-label"
>
参考答案
</div>
...
...
@@ -281,6 +292,15 @@
<el-button
size=
"mini"
type=
"primary"
plain
@
click=
"addAnswer(qIndex)"
>
新增答案
</el-button>
</div>
</div>
<div
class=
"quiz-row"
v-if=
"q.type === 'reading'"
>
<div
class=
"quiz-label"
>
题干
</div>
<el-input
size=
"mini"
:ref=
"'quizReadingInput_' + qIndex"
v-model=
"q.text"
@
input=
"saveData"
></el-input>
</div>
</div>
</div>
</div>
...
...
form/index.js
View file @
3aa1f628
...
...
@@ -87,21 +87,89 @@ new Vue({
if
(
data
.
image
)
{
_this
.
imagePreviewUrl
=
data
.
image
;
}
if
(
data
.
audio_url
)
{
_this
.
audioPreviewUrl
=
data
.
audio_url
;
}
if
(
Array
.
isArray
(
data
.
points
))
{
_this
.
aiTagData
=
data
.
points
;
}
if
(
typeof
data
.
aiImageContent
===
'
string
'
)
{
_this
.
aiImageContent
=
data
.
aiImageContent
;
}
if
(
Array
.
isArray
(
data
.
quizList
))
{
_this
.
quizList
=
data
.
quizList
;
}
if
(
data
.
ai_script
)
{
_this
.
scriptText
=
data
.
ai_script
;
}
if
(
Array
.
isArray
(
data
.
action
))
{
_this
.
quizList
=
[];
data
.
action
.
forEach
(
function
(
item
)
{
if
(
!
item
||
!
item
.
type
)
{
return
;
}
if
(
item
.
type
===
'
lyrics
'
)
{
var
content
=
Array
.
isArray
(
item
.
content
)
?
item
.
content
[
0
]
:
null
;
if
(
content
&&
content
.
audio_url
)
{
_this
.
audioPreviewUrl
=
content
.
audio_url
;
}
if
(
content
&&
Array
.
isArray
(
content
.
points
))
{
_this
.
aiTagData
=
content
.
points
;
}
return
;
}
if
(
item
.
type
===
'
query
'
)
{
_this
.
quizList
.
push
({
id
:
'
q_
'
+
Date
.
now
()
+
'
_
'
+
Math
.
random
().
toString
(
16
).
slice
(
2
),
type
:
'
query
'
,
question
:
item
.
text
||
''
,
answer
:
item
.
answer
||
''
,
hint
:
item
.
hint
||
''
,
tip
:
item
.
tip
||
''
});
return
;
}
if
(
item
.
type
===
'
choice
'
)
{
_this
.
quizList
.
push
({
id
:
'
q_
'
+
Date
.
now
()
+
'
_
'
+
Math
.
random
().
toString
(
16
).
slice
(
2
),
type
:
'
choice
'
,
question
:
item
.
question
||
''
,
options
:
Array
.
isArray
(
item
.
options
)
&&
item
.
options
.
length
?
item
.
options
.
map
(
function
(
opt
)
{
return
{
text
:
opt
.
text
||
''
,
isCorrect
:
!!
opt
.
isCorrect
};
})
:
[
{
text
:
''
,
isCorrect
:
true
},
{
text
:
''
,
isCorrect
:
false
}
]
});
return
;
}
if
(
item
.
type
===
'
judge
'
)
{
var
correct
=
true
;
if
(
Array
.
isArray
(
item
.
options
)
&&
item
.
options
.
length
)
{
correct
=
!!
item
.
options
.
find
(
function
(
opt
)
{
return
opt
.
isCorrect
;
});
}
else
if
(
typeof
item
.
correct
===
'
boolean
'
)
{
correct
=
item
.
correct
;
}
_this
.
quizList
.
push
({
id
:
'
q_
'
+
Date
.
now
()
+
'
_
'
+
Math
.
random
().
toString
(
16
).
slice
(
2
),
type
:
'
judge
'
,
question
:
item
.
question
||
''
,
correct
:
correct
});
return
;
}
if
(
item
.
type
===
'
blank
'
)
{
_this
.
quizList
.
push
({
id
:
'
q_
'
+
Date
.
now
()
+
'
_
'
+
Math
.
random
().
toString
(
16
).
slice
(
2
),
type
:
'
blank
'
,
question
:
item
.
question
||
''
,
answers
:
Array
.
isArray
(
item
.
answers
)
&&
item
.
answers
.
length
?
item
.
answers
:
[
''
]
});
return
;
}
if
(
item
.
type
===
'
reading
'
)
{
_this
.
quizList
.
push
({
id
:
'
q_
'
+
Date
.
now
()
+
'
_
'
+
Math
.
random
().
toString
(
16
).
slice
(
2
),
type
:
'
reading
'
,
text
:
item
.
text
||
''
});
}
});
}
}
_this
.
validateJson
();
},
key
);
...
...
@@ -170,28 +238,52 @@ new Vue({
{
text
:
''
,
isCorrect
:
true
},
{
text
:
''
,
isCorrect
:
false
}
];
}
else
if
(
type
===
'
text
'
)
{
item
.
answers
=
[
''
];
}
else
if
(
type
===
'
query
'
)
{
item
.
answer
=
''
;
item
.
hint
=
''
;
item
.
tip
=
''
;
}
else
if
(
type
===
'
judge
'
)
{
item
.
correct
=
true
;
}
else
if
(
type
===
'
blank
'
)
{
item
.
answers
=
[
''
];
}
else
if
(
type
===
'
reading
'
)
{
item
.
text
=
''
;
}
this
.
quizList
.
push
(
item
);
this
.
saveData
();
this
.
$nextTick
(
function
()
{
this
.
focusNewQuestionInput
(
this
.
quizList
.
length
-
1
,
type
);
}.
bind
(
this
));
},
removeQuestion
:
function
(
index
)
{
if
(
index
<
0
||
index
>=
this
.
quizList
.
length
)
{
return
;
}
this
.
quizList
.
splice
(
index
,
1
);
this
.
saveData
();
this
.
$confirm
(
'
删除后无法恢复,确定删除该题吗?
'
,
'
确认删除
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(
function
()
{
this
.
quizList
.
splice
(
index
,
1
);
this
.
saveData
();
}.
bind
(
this
)).
catch
(
function
()
{});
},
focusNewQuestionInput
:
function
(
index
,
type
)
{
var
refName
=
type
===
'
reading
'
?
'
quizReadingInput_
'
+
index
:
'
quizQuestionInput_
'
+
index
;
var
ref
=
this
.
$refs
[
refName
];
var
inputRef
=
Array
.
isArray
(
ref
)
?
ref
[
0
]
:
ref
;
if
(
inputRef
&&
inputRef
.
$el
)
{
var
inputEl
=
inputRef
.
$el
.
querySelector
(
'
input
'
);
if
(
inputEl
)
{
inputEl
.
focus
();
}
}
},
getQuizTypeLabel
:
function
(
type
)
{
if
(
type
===
'
choice
'
)
{
return
'
选择题
'
;
}
if
(
type
===
'
text
'
)
{
if
(
type
===
'
query
'
)
{
return
'
问答题
'
;
}
if
(
type
===
'
judge
'
)
{
...
...
@@ -200,6 +292,9 @@ new Vue({
if
(
type
===
'
blank
'
)
{
return
'
填空题
'
;
}
if
(
type
===
'
reading
'
)
{
return
'
跟读题
'
;
}
return
'
未知
'
;
},
addChoiceOption
:
function
(
qIndex
)
{
...
...
@@ -237,6 +332,17 @@ new Vue({
item
.
answers
.
splice
(
ansIndex
,
1
);
this
.
saveData
();
},
fillQueryHint
:
function
(
item
)
{
if
(
!
item
||
item
.
type
!==
'
query
'
)
{
return
;
}
if
(
!
this
.
aiImageContent
)
{
this
.
$message
.
warning
(
'
请先进行AI图片理解
'
);
return
;
}
item
.
hint
=
this
.
aiImageContent
;
this
.
saveData
();
},
onQuizDragStart
:
function
(
index
,
event
)
{
this
.
dragIndex
=
index
;
if
(
event
&&
event
.
dataTransfer
)
{
...
...
@@ -358,9 +464,9 @@ new Vue({
this
.
imagePreviewUrl
=
''
;
this
.
saveData
();
var
input
=
this
.
getUploadInput
(
'
imageUpload
'
);
if
(
input
)
{
input
.
value
=
''
;
input
.
click
();
if
(
input
)
{
input
.
value
=
''
;
input
.
click
();
}
},
confirmAudioReupload
:
function
()
{
...
...
@@ -588,12 +694,77 @@ new Vue({
if
(
!
window
.
courseware
||
!
window
.
courseware
.
setData
)
{
return
;
}
var
action
=
[];
if
(
this
.
audioPreviewUrl
||
(
this
.
aiTagData
&&
this
.
aiTagData
.
length
))
{
action
.
push
({
type
:
'
lyrics
'
,
content
:
[
{
audio_url
:
this
.
audioPreviewUrl
,
points
:
this
.
aiTagData
||
[]
}
]
});
}
if
(
Array
.
isArray
(
this
.
quizList
))
{
this
.
quizList
.
forEach
(
function
(
item
)
{
if
(
!
item
||
!
item
.
type
)
{
return
;
}
if
(
item
.
type
===
'
choice
'
)
{
action
.
push
({
type
:
'
choice
'
,
question
:
item
.
question
||
''
,
options
:
Array
.
isArray
(
item
.
options
)
?
item
.
options
.
map
(
function
(
opt
)
{
return
{
text
:
opt
.
text
||
''
,
isCorrect
:
!!
opt
.
isCorrect
};
})
:
[]
});
return
;
}
if
(
item
.
type
===
'
query
'
)
{
action
.
push
({
type
:
'
query
'
,
text
:
item
.
question
||
''
,
answer
:
item
.
answer
||
''
,
hint
:
item
.
hint
||
''
,
tip
:
item
.
tip
||
''
});
return
;
}
if
(
item
.
type
===
'
judge
'
)
{
action
.
push
({
type
:
'
judge
'
,
question
:
item
.
question
||
''
,
options
:
[
{
text
:
'
对
'
,
isCorrect
:
item
.
correct
===
true
},
{
text
:
'
错
'
,
isCorrect
:
item
.
correct
===
false
}
]
});
return
;
}
if
(
item
.
type
===
'
blank
'
)
{
action
.
push
({
type
:
'
blank
'
,
question
:
item
.
question
||
''
,
answers
:
Array
.
isArray
(
item
.
answers
)
?
item
.
answers
:
[]
});
return
;
}
if
(
item
.
type
===
'
reading
'
)
{
action
.
push
({
type
:
'
reading
'
,
text
:
item
.
text
||
''
});
}
});
}
var
data
=
{
image
:
this
.
imagePreviewUrl
,
audio_url
:
this
.
audioPreviewUrl
,
points
:
this
.
aiTagData
,
action
:
action
,
aiImageContent
:
this
.
aiImageContent
,
quizList
:
this
.
quizList
,
ai_script
:
this
.
scriptText
};
// console.log('saveData payload', JSON.stringify(data, null, 2));
...
...
package-lock.json
View file @
3aa1f628
{
"name"
:
"h5-template-generator"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"lockfileVersion"
:
3
,
"requires"
:
true
,
"dependencies"
:
{
"bl"
:
{
"packages"
:
{
""
:
{
"name"
:
"h5-template-generator"
,
"version"
:
"1.0.0"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"compressing"
:
"^1.5.0"
}
},
"node_modules/bl"
:
{
"version"
:
"1.2.2"
,
"resolved"
:
"https://registry.npmjs.org/bl/-/bl-1.2.2.tgz"
,
"integrity"
:
"sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"readable-stream"
:
"^2.3.5"
,
"safe-buffer"
:
"^5.1.1"
}
},
"buffer-alloc"
:
{
"
node_modules/
buffer-alloc"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz"
,
"integrity"
:
"sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-alloc-unsafe"
:
"^1.1.0"
,
"buffer-fill"
:
"^1.0.0"
}
},
"buffer-alloc-unsafe"
:
{
"
node_modules/
buffer-alloc-unsafe"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz"
,
"integrity"
:
"sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg=="
},
"buffer-crc32"
:
{
"
node_modules/
buffer-crc32"
:
{
"version"
:
"0.2.13"
,
"resolved"
:
"https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz"
,
"integrity"
:
"sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
"integrity"
:
"sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
,
"engines"
:
{
"node"
:
"*"
}
},
"buffer-fill"
:
{
"
node_modules/
buffer-fill"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz"
,
"integrity"
:
"sha1-+PeLdniYiO858gXNY39o5wISKyw="
},
"compressing"
:
{
"
node_modules/
compressing"
:
{
"version"
:
"1.5.0"
,
"resolved"
:
"https://registry.npmjs.org/compressing/-/compressing-1.5.0.tgz"
,
"integrity"
:
"sha512-CPMzMd/MswJh7CPRo605FQhXQlP0JbwCjPteh9GZ0jYTQcDBrYJLEW7Fm1dpTdOHk0/2ZE2C8SO5EX4Dp7KZ8w=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"flushwritable"
:
"^1.0.0"
,
"get-ready"
:
"^1.0.0"
,
"iconv-lite"
:
"^0.5.0"
,
...
...
@@ -51,107 +62,117 @@
"tar-stream"
:
"^1.5.2"
,
"yauzl"
:
"^2.7.0"
,
"yazl"
:
"^2.4.2"
},
"engines"
:
{
"node"
:
">= 4.0.0"
}
},
"core-util-is"
:
{
"
node_modules/
core-util-is"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
,
"integrity"
:
"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"end-of-stream"
:
{
"
node_modules/
end-of-stream"
:
{
"version"
:
"1.4.4"
,
"resolved"
:
"https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz"
,
"integrity"
:
"sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"once"
:
"^1.4.0"
}
},
"fd-slicer"
:
{
"
node_modules/
fd-slicer"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz"
,
"integrity"
:
"sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"pend"
:
"~1.2.0"
}
},
"flushwritable"
:
{
"
node_modules/
flushwritable"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/flushwritable/-/flushwritable-1.0.0.tgz"
,
"integrity"
:
"sha1-PjKNj95BKtR+c44751C00pAENJg="
},
"fs-constants"
:
{
"
node_modules/
fs-constants"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz"
,
"integrity"
:
"sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"get-ready"
:
{
"
node_modules/
get-ready"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/get-ready/-/get-ready-1.0.0.tgz"
,
"integrity"
:
"sha1-+RgX8emt7P6hOlYq38jeiDqzR4I="
},
"iconv-lite"
:
{
"
node_modules/
iconv-lite"
:
{
"version"
:
"0.5.0"
,
"resolved"
:
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.0.tgz"
,
"integrity"
:
"sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"safer-buffer"
:
">= 2.1.2 < 3"
},
"engines"
:
{
"node"
:
">=0.10.0"
}
},
"inherits"
:
{
"
node_modules/
inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"isarray"
:
{
"
node_modules/
isarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
,
"integrity"
:
"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"minimist"
:
{
"
node_modules/
minimist"
:
{
"version"
:
"0.0.8"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
,
"integrity"
:
"sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
},
"mkdirp"
:
{
"
node_modules/
mkdirp"
:
{
"version"
:
"0.5.1"
,
"resolved"
:
"https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"
,
"integrity"
:
"sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM="
,
"requires"
:
{
"deprecated"
:
"Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)"
,
"dependencies"
:
{
"minimist"
:
"0.0.8"
},
"bin"
:
{
"mkdirp"
:
"bin/cmd.js"
}
},
"once"
:
{
"
node_modules/
once"
:
{
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmjs.org/once/-/once-1.4.0.tgz"
,
"integrity"
:
"sha1-WDsap3WWHUsROsF9nFC6753Xa9E="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"wrappy"
:
"1"
}
},
"pend"
:
{
"
node_modules/
pend"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/pend/-/pend-1.2.0.tgz"
,
"integrity"
:
"sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"process-nextick-args"
:
{
"
node_modules/
process-nextick-args"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz"
,
"integrity"
:
"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"pump"
:
{
"
node_modules/
pump"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/pump/-/pump-3.0.0.tgz"
,
"integrity"
:
"sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"end-of-stream"
:
"^1.1.0"
,
"once"
:
"^1.3.1"
}
},
"readable-stream"
:
{
"
node_modules/
readable-stream"
:
{
"version"
:
"2.3.6"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz"
,
"integrity"
:
"sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"core-util-is"
:
"~1.0.0"
,
"inherits"
:
"~2.0.3"
,
"isarray"
:
"~1.0.0"
,
...
...
@@ -159,50 +180,49 @@
"safe-buffer"
:
"~5.1.1"
,
"string_decoder"
:
"~1.1.1"
,
"util-deprecate"
:
"~1.0.1"
},
"dependencies"
:
{
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
}
},
"safe-buffer"
:
{
"node_modules/readable-stream/node_modules/safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/safe-buffer"
:
{
"version"
:
"5.2.0"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz"
,
"integrity"
:
"sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg=="
},
"safer-buffer"
:
{
"
node_modules/
safer-buffer"
:
{
"version"
:
"2.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"
,
"integrity"
:
"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"streamifier"
:
{
"
node_modules/
streamifier"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"https://registry.npmjs.org/streamifier/-/streamifier-0.1.1.tgz"
,
"integrity"
:
"sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8="
"integrity"
:
"sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8="
,
"engines"
:
{
"node"
:
">=0.10"
}
},
"string_decoder"
:
{
"
node_modules/
string_decoder"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz"
,
"integrity"
:
"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="
,
"requires"
:
{
"safe-buffer"
:
"~5.1.0"
},
"dependencies"
:
{
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
"safe-buffer"
:
"~5.1.0"
}
},
"tar-stream"
:
{
"node_modules/string_decoder/node_modules/safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/tar-stream"
:
{
"version"
:
"1.6.2"
,
"resolved"
:
"https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz"
,
"integrity"
:
"sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"bl"
:
"^1.0.0"
,
"buffer-alloc"
:
"^1.2.0"
,
"end-of-stream"
:
"^1.0.0"
,
...
...
@@ -210,42 +230,48 @@
"readable-stream"
:
"^2.3.0"
,
"to-buffer"
:
"^1.1.1"
,
"xtend"
:
"^4.0.0"
},
"engines"
:
{
"node"
:
">= 0.8.0"
}
},
"to-buffer"
:
{
"
node_modules/
to-buffer"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz"
,
"integrity"
:
"sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
},
"util-deprecate"
:
{
"
node_modules/
util-deprecate"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
,
"integrity"
:
"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"wrappy"
:
{
"
node_modules/
wrappy"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
,
"integrity"
:
"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xtend"
:
{
"
node_modules/
xtend"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz"
,
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
,
"engines"
:
{
"node"
:
">=0.4"
}
},
"yauzl"
:
{
"
node_modules/
yauzl"
:
{
"version"
:
"2.10.0"
,
"resolved"
:
"https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz"
,
"integrity"
:
"sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-crc32"
:
"~0.2.3"
,
"fd-slicer"
:
"~1.1.0"
}
},
"yazl"
:
{
"
node_modules/
yazl"
:
{
"version"
:
"2.5.1"
,
"resolved"
:
"https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz"
,
"integrity"
:
"sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-crc32"
:
"~0.2.3"
}
}
...
...
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