-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
41 lines (29 loc) · 1.45 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = {
// https://github.com/AlexeySokolov/atom-smart-template
name: "Three.js template",
directory: false,
params: ["Name"],
// params: function(){
// var projectName = "Name";
// return projectName;
// },
rules: function(config) {
return({
items: [
//index files
{ destinationFile: "index.html", sourceTemplateFile: "index.template"},
{ destinationFile: "_scripts/main.js", sourceTemplateFile: "_scripts/mainjs.template"},
//css
{ destinationFile: "_style/main.css", sourceTemplateFile: "_style/maincss.template"},
//threejs files
{ destinationFile: "_scripts/THREE/mainThree.js", sourceTemplateFile: "_scripts/THREE/mainThreejs.template"},
{ destinationFile: "_scripts/THREE/OrbitControls.js", sourceTemplateFile: "_scripts/THREE/OrbitControlsjs.template"},
{ destinationFile: "_scripts/THREE/_utilities/materialHelper.js", sourceTemplateFile: "_scripts/THREE/_utilities/materialHelperjs.template"},
{ destinationFile: "_scripts/THREE/_utilities/helperFuntions.js", sourceTemplateFile: "_scripts/THREE/_utilities/helperFunctionsjs.template"},
//misc files
{ destinationFile: ".gitignore", sourceTemplateFile: "gitignore.template"},
{ destinationFile: "_images/improviz-header.jpg", sourceContentFile: "_images/improviz-header.jpg"} //CONTENT
]
});
}
}