|
|
|
@ -65,16 +65,16 @@ let modules_path = "./node_modules/";
|
|
|
|
|
copyFolderRecursiveSync(filePath, modules_path);
|
|
|
|
|
|
|
|
|
|
let downFiles =
|
|
|
|
|
{
|
|
|
|
|
name: "three",
|
|
|
|
|
urlPath: "https://raw.githubusercontent.com/FishOrBear/DefinitelyTyped/master/types/three/",
|
|
|
|
|
files: [
|
|
|
|
|
// "index.d.ts",
|
|
|
|
|
// "three-core.d.ts",
|
|
|
|
|
// "three-outlinepass.d.ts",
|
|
|
|
|
// "three-smaapass.d.ts"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
name: "three",
|
|
|
|
|
urlPath: "https://raw.githubusercontent.com/FishOrBear/DefinitelyTyped/master/types/three/",
|
|
|
|
|
files: [
|
|
|
|
|
// "index.d.ts",
|
|
|
|
|
"three-core.d.ts",
|
|
|
|
|
// "three-outlinepass.d.ts",
|
|
|
|
|
// "three-smaapass.d.ts"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
filePath = path.resolve("./node_modules/@types/" + downFiles.name) + "\\";
|
|
|
|
|
console.log('filePath: ', filePath);
|
|
|
|
|