77 lines
2 KiB
JSON
77 lines
2 KiB
JSON
{
|
|
"name": "@open-pencil/dom-css",
|
|
"version": "0.13.2",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"imports": {
|
|
"#dom-css/*": {
|
|
"types": "./src/*",
|
|
"bun": "./src/*",
|
|
"default": "./dist/*"
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"bun": "./src/index.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./browser": {
|
|
"types": "./dist/src/browser.d.ts",
|
|
"bun": "./src/browser.ts",
|
|
"import": "./dist/browser.js",
|
|
"default": "./dist/browser.js"
|
|
},
|
|
"./jsx-runtime": {
|
|
"types": "./dist/src/jsx/runtime.d.ts",
|
|
"bun": "./src/jsx/runtime.ts",
|
|
"import": "./dist/jsx-runtime.js",
|
|
"default": "./dist/jsx-runtime.js"
|
|
},
|
|
"./jsx-dev-runtime": {
|
|
"types": "./dist/src/jsx/dev-runtime.d.ts",
|
|
"bun": "./src/jsx/dev-runtime.ts",
|
|
"import": "./dist/jsx-dev-runtime.js",
|
|
"default": "./dist/jsx-dev-runtime.js"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "bunx tsdown --config tsdown.config.ts && bunx tsc --emitDeclarationOnly -p tsconfig.json",
|
|
"check": "bun run typecheck && bun run test && bun run build && bun run smoke:dist",
|
|
"prepack": "bun run build",
|
|
"smoke:dist": "bun scripts/smoke-dist.ts",
|
|
"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/core": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.14",
|
|
"tsdown": "^0.21.7",
|
|
"typescript": "~5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@acemir/cssom": "^0.9.31",
|
|
"parse5": "^8.0.1",
|
|
"tailwindcss": "^4.2.1"
|
|
}
|
|
}
|