fbx-gltf-pipeline
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,9 +5,13 @@ #!/usr/bin/env node | ||
const convert = require("../src/index"); | ||
const fs = require("fs-extra"); | ||
const path = require("path"); | ||
const package = fs.readJSONSync(path.join(__dirname, "..", "package.json")); | ||
program | ||
.arguments('<src>') | ||
.version(package.version) | ||
.usage('<src> [options]') | ||
.option("-o, --out <out>", "The directory to output the file.") | ||
.option("-c, --components <components>", "The path to the components json file") | ||
.option("-u, --unlit <unlit>", "Use KHR_materials-unlit.") | ||
.action((src) => { | ||
.option("-u, --unlit", "Use KHR_materials-unlit.") | ||
.action((src, options) => { | ||
convert(src, program).then(() => { | ||
@@ -22,4 +26,4 @@ process.exit(0); | ||
if (!program.args.length) { | ||
if (program.args.length === 0) { | ||
program.outputHelp(); | ||
} |
{ | ||
"name": "fbx-gltf-pipeline", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "src/index.js", | ||
"license": "MIT", | ||
"license": "MPL-2.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/MozillaReality/fbx-gltf-pipeline.git" | ||
}, | ||
"dependencies": { | ||
@@ -7,0 +11,0 @@ "@robertlong/fbx2gltf": "^0.10.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
17704
4
65
2
70