21 lines
1.8 KiB
JSON
21 lines
1.8 KiB
JSON
{
|
|
"name": "generate-classes",
|
|
"version": "1.0.0",
|
|
"description": "Generate C++ classes from a JSON schema",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"generate-3d-tiles": "node index.js --schemas https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/tileset.schema.json https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/common/rootProperty.schema.json https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/PropertyTable/propertyTable.schema.json https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/Subtree/subtree.schema.json https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/Schema/schema.schema.json https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/specification/schema/Statistics/statistics.schema.json --output ../../Cesium3DTiles --readerOutput ../../Cesium3DTilesReader --writerOutput ../../Cesium3DTilesWriter --extensions https://raw.githubusercontent.com/CesiumGS/3d-tiles/main/extensions/ --namespace Cesium3DTiles --readerNamespace Cesium3DTilesReader --writerNamespace Cesium3DTilesWriter --config 3dTiles.json",
|
|
"generate-gltf": "node index.js --schemas https://raw.githubusercontent.com/CesiumGS/glTF/3d-tiles-next/specification/2.0/schema/glTF.schema.json --output ../../CesiumGltf --readerOutput ../../CesiumGltfReader --writerOutput ../../CesiumGltfWriter --extensions https://raw.githubusercontent.com/CesiumGS/glTF/3d-tiles-next/extensions/2.0/ --namespace CesiumGltf --readerNamespace CesiumGltfReader --writerNamespace CesiumGltfWriter --config glTF.json"
|
|
},
|
|
"author": "CesiumGS, Inc.",
|
|
"license": "UNLICENSED",
|
|
"dependencies": {
|
|
"lodash": "^4.17.20",
|
|
"sync-request": "^6.1.0",
|
|
"yargs": "^16.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^2.2.1"
|
|
}
|
|
}
|