2024-05-27 19:18:48 +08:00

45 lines
1.0 KiB
JSON

{
"version": "1.4.6",
"name": "@tmagic/schema",
"type": "module",
"sideEffects": false,
"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"
},
"./*": "./*"
},
"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.2.11"
},
"peerDependencies": {
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
}