-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
45 lines (45 loc) · 1.53 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "@markuplint/ml-spec",
"version": "4.0.2",
"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",
"dev": "tsc --build --watch",
"clean": "tsc --build --clean",
"schema": "run-s schema:json schema:content-models schema:attributes schema:aria schema:prettier schema:eslint schema:prettier",
"schema:json": "node --loader ts-node/esm ./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 --config ../../../.eslintrc \"./src/types/*.ts\"",
"schema:prettier": "prettier --write \"./schemas/*.json\" \"./src/types/*.ts\" --log-level warn"
},
"dependencies": {
"@markuplint/ml-ast": "4.0.1",
"@markuplint/types": "4.0.2",
"dom-accessibility-api": "^0.6.3",
"is-plain-object": "^5.0.0",
"type-fest": "^4.10.2"
},
"devDependencies": {
"@markuplint/test-tools": "4.0.2",
"json-schema-to-typescript": "13.1.2"
}
}