2024-03-29 14:20:35 +08:00

37 lines
903 B
JSON

{
"version": "1.4.3",
"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"
},
"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",
"typescript": "^5.4.2",
"vite": "^5.1.6"
}
}