66 lines
2.2 KiB
JSON
66 lines
2.2 KiB
JSON
{
|
|
"name": "@panic/web-ui",
|
|
"version": "0.1.5",
|
|
"license": "AGPL-3.0-only",
|
|
"description": "Core components for panic.haus web applications",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./components/MDXEditorField": {
|
|
"types": "./dist/components/MDXEditorField.d.ts",
|
|
"import": "./dist/components/MDXEditorField.js"
|
|
},
|
|
"./styles/base.css": "./dist/styles/base.css",
|
|
"./styles/components.css": "./dist/styles/components.css",
|
|
"./styles/utilities.css": "./dist/styles/utilities.css",
|
|
"./tailwind-preset": "./dist/tailwind-preset.cjs"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "yarn clean && vite build && tsc -p tsconfig.build.json && mkdir -p dist/styles && cp src/styles/base.css dist/styles/base.css && tailwindcss -c tailwind.build.config.cjs -i src/styles/components.css -o dist/styles/components.css --minify && tailwindcss -c tailwind.build.config.cjs -i src/styles/utilities.css -o dist/styles/utilities.css --minify && cp tailwind-preset.cjs dist/tailwind-preset.cjs",
|
|
"prepublishOnly": "yarn build",
|
|
"publish:nexus": "npm publish --registry ${NEXUS_NPM_REGISTRY:-https://nexus.beatrice.wtf/repository/npm-hosted/}"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://nexus.beatrice.wtf/repository/npm-hosted/",
|
|
"access": "restricted"
|
|
},
|
|
"peerDependencies": {
|
|
"@heroicons/react": "^2.2.0",
|
|
"@mdxeditor/editor": "^3.52.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-router-dom": "^7.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@mdxeditor/editor": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@codemirror/language": "^6.11.3",
|
|
"@heroicons/react": "^2.2.0",
|
|
"@lezer/highlight": "^1.2.1",
|
|
"@mdxeditor/editor": "^3.52.4",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-router-dom": "^7.0.0",
|
|
"tailwindcss": "^3.4.16",
|
|
"typescript": "^5.6.2",
|
|
"vite": "^7.0.0",
|
|
"yjs": "^13.6.24"
|
|
}
|
|
}
|