mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
refactor(repo): centralize package subpaths
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"package": "@hyperframes/studio",
|
||||
"subpaths": {
|
||||
".": {
|
||||
"source": "./src/index.ts",
|
||||
"runtime": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"environments": ["browser", "bun", "node"]
|
||||
},
|
||||
"./tailwind-preset": {
|
||||
"source": "./src/styles/tailwind-preset.ts",
|
||||
"runtime": "./dist/styles/tailwind-preset.js",
|
||||
"types": "./dist/styles/tailwind-preset.d.ts",
|
||||
"environments": ["browser", "bun", "node"]
|
||||
},
|
||||
"./package.json": {
|
||||
"source": "./package.json",
|
||||
"runtime": "./package.json",
|
||||
"types": null,
|
||||
"environments": ["browser", "bun", "node"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,8 +15,16 @@
|
||||
"main": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"exports": {
|
||||
".": "./src/index.ts",
|
||||
"./tailwind-preset": "./src/styles/tailwind-preset.ts",
|
||||
".": {
|
||||
"bun": "./src/index.ts",
|
||||
"import": "./src/index.ts",
|
||||
"types": "./src/index.ts"
|
||||
},
|
||||
"./tailwind-preset": {
|
||||
"bun": "./src/styles/tailwind-preset.ts",
|
||||
"import": "./src/styles/tailwind-preset.ts",
|
||||
"types": "./src/styles/tailwind-preset.ts"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
||||
Reference in New Issue
Block a user