refactor: move typescript stuff to 'schemas' directory

This commit is contained in:
yusing
2025-03-28 09:28:02 +08:00
parent f966ca8b83
commit a9e4f82e30
5 changed files with 10 additions and 6 deletions

36
schemas/package.json Normal file
View File

@@ -0,0 +1,36 @@
{
"name": "godoxy-schemas",
"version": "0.10.0-3",
"description": "JSON Schema and typescript types for GoDoxy configuration",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/yusing/godoxy"
},
"files": [
"schemas/",
"README.md",
"LICENSE"
],
"type": "module",
"main": "./index.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.ts",
"require": "./index.js"
}
},
"devDependencies": {
"prettier": "^3.4.2",
"typescript": "^5.7.3",
"typescript-json-schema": "^0.65.1"
},
"displayName": "GoDoxy Types",
"packageManager": "bun@1.2.0",
"publisher": "yusing",
"scripts": {
"gen-schema": "make gen-schema",
"format:write": "prettier --write \"schemas/**/*.ts\" --cache"
}
}