2024-06-17 16:42:05 +08:00

62 lines
1.5 KiB
JSON

{
"version": "1.4.9",
"name": "@tmagic/data-source",
"type": "module",
"main": "dist/tmagic-data-source.umd.cjs",
"module": "dist/tmagic-data-source.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/tmagic-data-source.js",
"require": "./dist/tmagic-data-source.umd.cjs"
},
"./*": "./*"
},
"files": [
"dist",
"types",
"src"
],
"license": "Apache-2.0",
"scripts": {
"build": "npm run build:type && vite build --mode=es && vite build --mode=umd",
"build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"check:type": "tsc --noEmit --project tsconfig.build.json",
"clear:type": "rimraf ./types"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"keywords": [
"data-source"
],
"dependencies": {
"@tmagic/dep": "workspace:*",
"deep-state-observer": "^5.5.13",
"events": "^3.3.0",
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@types/events": "^3.0.0",
"@types/lodash-es": "^4.17.4",
"@types/node": "^18.19.0",
"tsc-alias": "^1.8.5",
"vite": "^5.3.1"
},
"peerDependencies": {
"@tmagic/schema": "workspace:*",
"@tmagic/utils": "workspace:*",
"typescript": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
}