@mapeo/schema
Version:
JSON schema and flow types for Mapeo
69 lines (68 loc) • 2 kB
JSON
{
"name": "@mapeo/schema",
"version": "3.0.0-next.0",
"description": "JSON schema and flow types for Mapeo",
"main": "src/index.js",
"type": "module",
"exports": {
"types/": "./types/index.d.ts",
"types/schema": "./types/schema/index.d.ts",
"types/proto": "./types/proto/index.d.ts"
},
"scripts": {
"example": "node examples/schema_test.js",
"protobuf": "buf generate ./proto",
"jsonschema": "scripts/./jsonts",
"tsc": "tsc",
"tsc-index": "tsc index.js -d --emitDeclarationOnly --allowJs --allowSyntheticDefaultImports --module es2022 --target es2019 --moduleResolution node",
"generate": "node scripts/generate.js",
"doc": "typedoc --plugin typedoc-plugin-markdown",
"clean": "rm -rf types dist docs",
"build": "npm-run-all protobuf jsonschema generate tsc tsc-index doc",
"prepublishOnly": "npm run build",
"test": "tape 'test/**/*.js'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digidem/mapeo-schema.git"
},
"keywords": [
"mapeo",
"schema"
],
"author": "Digital Democracy",
"license": "MIT",
"bugs": {
"url": "https://github.com/digidem/mapeo-schema/issues"
},
"homepage": "https://github.com/digidem/mapeo-schema#readme",
"devDependencies": {
"@types/tape": "^4.13.2",
"c8": "^7.12.0",
"eslint": "^8.28.0",
"eslint-plugin-prettier": "^4.2.1",
"hypercore": "^10.4.1",
"json-schema-to-typescript": "^11.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"random-access-memory": "^6.0.0",
"tape": "^5.6.1",
"ts-proto": "^1.138.0",
"typescript": "^4.8.4"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"@sinclair/typebox": "^0.25.8",
"ajv": "^8.11.2",
"ajv-formats": "^2.1.1",
"b4a": "^1.6.1",
"compact-encoding": "^2.11.0",
"glob": "^8.0.3",
"glob-promise": "^5.0.0",
"typedoc": "^0.23.21",
"typedoc-plugin-markdown": "^3.13.6"
}
}