mirror of https://github.com/CesiumGS/obj2gltf.git
Merge pull request #254 from CesiumGS/update-npm-libraries
Update npm dependencies
This commit is contained in:
commit
edc8e8e063
|
@ -1,6 +1,6 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "10"
|
- "12"
|
||||||
script:
|
script:
|
||||||
- npm run eslint
|
- npm run eslint
|
||||||
- npm run test -- --failTaskOnError --suppressPassed
|
- npm run test -- --failTaskOnError --suppressPassed
|
||||||
|
|
|
@ -25,6 +25,9 @@ const argv = yargs
|
||||||
type : 'string',
|
type : 'string',
|
||||||
demandOption : true,
|
demandOption : true,
|
||||||
coerce : function (p) {
|
coerce : function (p) {
|
||||||
|
if (!defined(p)) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
if (p.length === 0) {
|
if (p.length === 0) {
|
||||||
throw new Error('Input path must be a file name');
|
throw new Error('Input path must be a file name');
|
||||||
}
|
}
|
||||||
|
@ -36,6 +39,9 @@ const argv = yargs
|
||||||
describe : 'Path of the converted glTF or glb file.',
|
describe : 'Path of the converted glTF or glb file.',
|
||||||
type : 'string',
|
type : 'string',
|
||||||
coerce : function (p) {
|
coerce : function (p) {
|
||||||
|
if (!defined(p)) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
if (p.length === 0) {
|
if (p.length === 0) {
|
||||||
throw new Error('Output path must be a file name');
|
throw new Error('Output path must be a file name');
|
||||||
}
|
}
|
||||||
|
|
26
package.json
26
package.json
|
@ -27,24 +27,24 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bluebird": "^3.7.2",
|
"bluebird": "^3.7.2",
|
||||||
"cesium": "^1.71.0",
|
"cesium": "^1.83.0",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^10.0.0",
|
||||||
"jpeg-js": "^0.4.1",
|
"jpeg-js": "^0.4.3",
|
||||||
"mime": "^2.4.6",
|
"mime": "^2.5.2",
|
||||||
"pngjs": "^5.0.0",
|
"pngjs": "^6.0.0",
|
||||||
"yargs": "^15.4.1"
|
"yargs": "^17.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cloc": "^2.5.1",
|
"cloc": "^2.8.0",
|
||||||
"coveralls": "^3.1.0",
|
"coveralls": "^3.1.1",
|
||||||
"eslint": "^7.5.0",
|
"eslint": "^7.31.0",
|
||||||
"eslint-config-cesium": "^8.0.1",
|
"eslint-config-cesium": "^8.0.1",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"jasmine": "^3.6.1",
|
"jasmine": "^3.8.0",
|
||||||
"jasmine-spec-reporter": "^5.0.2",
|
"jasmine-spec-reporter": "^7.0.0",
|
||||||
"jsdoc": "^3.6.5",
|
"jsdoc": "^3.6.7",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"open": "^7.1.0"
|
"open": "^8.2.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"jsdoc": "jsdoc ./lib -R ./README.md -d doc",
|
"jsdoc": "jsdoc ./lib -R ./README.md -d doc",
|
||||||
|
|
Loading…
Reference in New Issue