UNPKG

@markuplint/ml-spec

Version:

Types and schema that specs of the Markup languages for markuplint

47 lines (46 loc) 1.63 kB
{ "name": "@markuplint/ml-spec", "version": "4.9.6", "description": "Types and schema that specs of the Markup languages for markuplint", "repository": "git@github.com:markuplint/markuplint.git", "author": "Yusuke Hirao <yusukehirao@me.com>", "license": "MIT", "private": false, "type": "module", "exports": { ".": { "import": "./lib/index.js", "types": "./lib/index.d.ts" } }, "publishConfig": { "access": "public" }, "typedoc": { "entryPoint": "./src/index.ts" }, "scripts": { "build": "tsc --project tsconfig.build.json", "dev": "tsc --watch --project tsconfig.build.json", "clean": "tsc --build --clean", "schema": "run-s schema:json schema:content-models schema:attributes schema:aria schema:prettier schema:eslint schema:prettier", "schema:json": "tsx ./gen/gen.ts", "schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts", "schema:attributes": "json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts", "schema:aria": "json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts", "schema:eslint": "eslint --fix \"./src/types/*.ts\"", "schema:prettier": "prettier --write \"./schemas/*.json\" \"./src/types/*.ts\" --log-level warn" }, "dependencies": { "@markuplint/ml-ast": "4.4.9", "@markuplint/types": "4.7.6", "dom-accessibility-api": "0.7.0", "is-plain-object": "5.0.0", "type-fest": "4.39.1" }, "devDependencies": { "@markuplint/test-tools": "4.5.19", "json-schema-to-typescript": "15.0.4" }, "gitHead": "eb36d59f7e13d4e59ff3f3c4eabb5ec06c070eb0" }