49 lines
1.1 KiB
JSON

{
"version": "1.4.8",
"name": "@tmagic/schema",
"type": "module",
"main": "dist/tmagic-schema.umd.cjs",
"module": "dist/tmagic-schema.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/tmagic-schema.js",
"require": "./dist/tmagic-schema.umd.cjs"
},
"./*": "./*"
},
"files": [
"dist",
"types",
"src"
],
"scripts": {
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"clear:type": "rimraf ./types",
"check:type": "tsc --noEmit --project tsconfig.build.json"
},
"engines": {
"node": ">=18"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"devDependencies": {
"@types/node": "^18.19.0",
"rimraf": "^3.0.2",
"vite": "^5.3.1"
},
"peerDependencies": {
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
}