AI-native design editor. Open-source Figma alternative.
{
"name": "@open-pencil/dom-css",
"version": "0.17.0-beta.1",
"license": "MIT",
"type": "module",
"imports": {
"#dom-css/*": {
"types": "./src/*.ts",
"bun": "./src/*.ts",
"default": "./dist/*.js"
},
"#dom-css-tests/*": "./tests/*.ts"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"bun": "./src/index.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"bun": "./src/browser.ts",
"import": "./dist/browser.js",
"default": "./dist/browser.js"
},
"./export": {
"types": "./dist/export.d.ts",
"bun": "./src/export/index.ts",
"import": "./dist/export.js",
"default": "./dist/export.js"
},
"./scene-graph": {
"types": "./dist/scene-graph.d.ts",
"bun": "./src/import/scene-graph.ts",
"import": "./dist/scene-graph.js",
"default": "./dist/scene-graph.js"
},
"./jsx-runtime": {
"types": "./dist/jsx-runtime.d.ts",
"bun": "./src/import/jsx/runtime.ts",
"import": "./dist/jsx-runtime.js",
"default": "./dist/jsx-runtime.js"
},
"./jsx-dev-runtime": {
"types": "./dist/jsx-dev-runtime.d.ts",
"bun": "./src/import/jsx/dev-runtime.ts",
"import": "./dist/jsx-dev-runtime.js",
"default": "./dist/jsx-dev-runtime.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"build": "bunx tsdown --config tsdown.config.ts",
"check": "bun run typecheck && bun run test && bun run build",
"prepack": "bun run build",
"test": "bun test tests",
"typecheck": "bunx tsc --noEmit -p tsconfig.test.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/open-pencil/open-pencil.git",
"directory": "packages/dom-css"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"@open-pencil/scene-graph": "workspace:*"
},
"devDependencies": {
"@iconify/react": "^6.0.2",
"@iconify/vue": "^5.0.1",
"@types/bun": "^1.3.14",
"@types/css-tree": "^3.2.0",
"@types/cssesc": "^3.0.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.2.0",
"radix-ui": "^1.7.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"reka-ui": "^2.10.5",
"shaders": "4.0.4",
"storybook": "^10.6.2",
"tsdown": "^0.22.14",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vue": "^3.5.43"
},
"dependencies": {
"@acemir/cssom": "^0.9.31",
"@open-pencil/emit": "workspace:*",
"css-tree": "^3.2.1",
"cssesc": "^3.0.0",
"dedent": "^1.7.2",
"entities": "^8.0.0",
"es-toolkit": "^1.52.0",
"js-base64": "^3.9.3",
"parse5": "^8.0.1",
"postcss-value-parser": "^4.2.0",
"tailwindcss": "^4.3.3",
"twirlwind": "^0.4.1"
}
}