mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-02 18:18:35 +09:00
78 lines
2.5 KiB
JSON
78 lines
2.5 KiB
JSON
{
|
|
"name": "@webstudio-is/content-engine",
|
|
"version": "0.0.0-webstudio-version",
|
|
"description": "Compile file-based content into a portable query runtime",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "AGPL-3.0-or-later",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"benchmark:index": "NODE_OPTIONS=--conditions=webstudio pnpm tsx scripts/benchmark-index.mjs",
|
|
"benchmark:scale": "NODE_OPTIONS=--conditions=webstudio pnpm tsx scripts/benchmark-scale.mjs",
|
|
"build": "rm -rf lib && esbuild src/index.ts src/compiler.ts src/limits.ts src/markdown-assets.ts src/markdown-references.ts src/published-runtime.ts --outdir=lib --bundle --format=esm --packages=external",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hyperjump/json-pointer": "1.1.2",
|
|
"@webstudio-is/expression": "workspace:*",
|
|
"@webstudio-is/query-builder": "workspace:*",
|
|
"canonicalize": "3.0.0",
|
|
"micromark": "4.0.2",
|
|
"micromark-util-decode-string": "2.0.1",
|
|
"remark-parse": "10.0.2",
|
|
"unified": "10.1.2",
|
|
"yaml": "2.9.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"esbuild": "^0.25.3",
|
|
"vitest": "^3.1.2"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"webstudio": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./compiler": {
|
|
"webstudio": "./src/compiler.ts",
|
|
"types": "./lib/types/compiler.d.ts",
|
|
"import": "./lib/compiler.js",
|
|
"default": "./src/compiler.ts"
|
|
},
|
|
"./runtime": {
|
|
"webstudio": "./src/published-runtime.ts",
|
|
"types": "./lib/types/published-runtime.d.ts",
|
|
"import": "./lib/published-runtime.js",
|
|
"default": "./src/published-runtime.ts"
|
|
},
|
|
"./limits": {
|
|
"webstudio": "./src/limits.ts",
|
|
"types": "./lib/types/limits.d.ts",
|
|
"import": "./lib/limits.js",
|
|
"default": "./src/limits.ts"
|
|
},
|
|
"./markdown-assets": {
|
|
"webstudio": "./src/markdown-assets.ts",
|
|
"types": "./lib/types/markdown-assets.d.ts",
|
|
"import": "./lib/markdown-assets.js",
|
|
"default": "./src/markdown-assets.ts"
|
|
},
|
|
"./markdown-references": {
|
|
"webstudio": "./src/markdown-references.ts",
|
|
"types": "./lib/types/markdown-references.d.ts",
|
|
"import": "./lib/markdown-references.js",
|
|
"default": "./src/markdown-references.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"lib/**/*",
|
|
"!*.test.*"
|
|
]
|
|
}
|