@nfdi4plants/swate-components
Version:
Customizable React components for ontology annotation, based on Swate and the ARC.
90 lines (89 loc) • 2.8 kB
JSON
{
"name": "@nfdi4plants/swate-components",
"version": "1.0.6",
"description": "Customizable React components for ontology annotation, based on Swate and the ARC.",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"private": false,
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./style.css": "./dist/swate-components.css"
},
"scripts": {
"fable": "dotnet fable ./src/Swate.Components.fsproj --lang ts",
"start": "npm run fable -- --watch --run vite",
"test": "npm run fable -- --watch --run npx vitest --project=storybook",
"test:run": "npm run fable -- --run npx vitest run --project=storybook",
"prelink": "npm run build",
"storybook": "npm run fable -- --watch --run storybook dev -p 6006",
"prebuild:net": "npx @tailwindcss/cli -o ./src/swateBundleStyle.css -m",
"build": "dotnet fable clean -e fs.ts --yes && npm run fable -- --fableLib @fable-org/fable-library-js --noCache -e fs.ts -o src/output && vite build",
"build:net": "dotnet pack ./src/Swate.Components.fsproj",
"prebuild:storybook": "npm run fable -- --noCache",
"build:storybook": "storybook build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nfdi4plants/Swate.git"
},
"keywords": [
"rdm",
"ontology",
"term",
"react"
],
"author": "Kevin Frey <freymaurer@gmx.de>",
"license": "MIT",
"bugs": {
"url": "https://github.com/nfdi4plants/Swate/issues"
},
"homepage": "https://github.com/nfdi4plants/Swate#readme",
"dependencies": {
"@fable-org/fable-library-js": "^1.8.0",
"@floating-ui/react": "^0.27.15",
"@nfdi4plants/arctrl": "^3.0.0-alpha.4",
"@tanstack/react-virtual": "^3.13.2",
"@uidotdev/usehooks": "^2.4.1"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@chromatic-com/storybook": "^4.0.1",
"@storybook/addon-docs": "^9.0.17",
"@storybook/addon-onboarding": "^9.0.17",
"@storybook/addon-themes": "^9.0.17",
"@storybook/addon-vitest": "9.0.17",
"@storybook/react-vite": "^9.0.17",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/cli": "^4.1.14",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/browser": "^3.1.4",
"globals": "^15.14.0",
"playwright": "^1.49.1",
"storybook": "^9.0.17",
"typescript": "^5.6.3",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.1.4"
}
}