chore: isolate frontend and backend via npm workspaces and @mmapp/contracts

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-05-12 10:59:05 +07:00
co-authored by Cursor
parent b9a75b6831
commit dfbaa859ad
26 changed files with 2917 additions and 3633 deletions
+21 -5
View File
@@ -3,14 +3,30 @@
"version": "0.1.0",
"private": true,
"type": "module",
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json"
"build": "tsc -p tsconfig.json",
"prepare": "npm run build"
},
"exports": {
".": "./dist/index.js",
"./servers": "./dist/servers.js",
"./alerts": "./dist/alerts.js",
"./events": "./dist/events.js"
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./servers": {
"types": "./dist/servers.d.ts",
"default": "./dist/servers.js"
},
"./alerts": {
"types": "./dist/alerts.d.ts",
"default": "./dist/alerts.js"
},
"./events": {
"types": "./dist/events.d.ts",
"default": "./dist/events.js"
}
},
"dependencies": {
"zod": "^4.4.1"