Generate documentation as part of build process
"test": "npm run test:schema && npm run test:ts",
"test:schema": "gulp test",
"test:ts": "jest --verbose --coverage",
- "build": "npm run build:jsonschema && npm run build:jsonld && npm run build:ts",
+ "build": "npm run build:schema && npm run build:docs",
+ "build:docs": "npm run build:schema && gatsby build --prefix-paths",
"build:jsonschema": "gulp jsonschema",
"build:jsonld": "gulp jsonld",
+ "build:schema": "npm run build:jsonschema && npm run build:jsonld && npm run build:ts",
"build:ts": "gulp ts && tsc",
+ "dev:docs": "npm run build:schema && gatsby develop",
"release": "semantic-release",
- "docs": "npm run docs:build",
- "docs:build": "npm run build && gatsby build --prefix-paths",
- "docs:develop": "npm run build && gatsby develop",
"watch": "gulp watch",
"clean": "gulp clean"
},
