109 lines
3.2 KiB
JSON
109 lines
3.2 KiB
JSON
{
|
|
"name": "@portaljs/components",
|
|
"version": "0.4.0",
|
|
"type": "module",
|
|
"description": "https://portaljs.org",
|
|
"keywords": [
|
|
"data portal",
|
|
"data catalog",
|
|
"table",
|
|
"charts",
|
|
"visualization"
|
|
],
|
|
"scripts": {
|
|
"dev": "npm run storybook",
|
|
"example": "vite",
|
|
"build": "tsc && vite build && npm run build-tailwind && npm run fix-leaflet",
|
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build && cp ./.storybook/robots.txt ./storybook-static",
|
|
"build-tailwind": "NODE_ENV=production npx tailwindcss --postcss -c tailwind.config.js -i src/index.css -o ./dist/style.css --minify",
|
|
"prepare": "npm run build",
|
|
"fix-leaflet": "node ./scripts/fix-leaflet.cjs"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@githubocto/flat-ui": "^0.14.1",
|
|
"@heroicons/react": "^2.0.17",
|
|
"@planet/maps": "^8.1.0",
|
|
"@react-pdf-viewer/core": "3.6.0",
|
|
"@react-pdf-viewer/default-layout": "3.6.0",
|
|
"@tanstack/react-table": "^8.8.5",
|
|
"ag-grid-react": "^30.0.4",
|
|
"chroma-js": "^2.4.2",
|
|
"flexsearch": "0.7.21",
|
|
"leaflet": "^1.9.4",
|
|
"next-mdx-remote": "^4.4.1",
|
|
"ol": "^7.4.0",
|
|
"papaparse": "^5.4.1",
|
|
"pdfjs-dist": "2.15.349",
|
|
"postcss-url": "^10.1.3",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-hook-form": "^7.43.9",
|
|
"react-leaflet": "^4.2.1",
|
|
"react-query": "^3.39.3",
|
|
"react-vega": "^7.6.0",
|
|
"vega": "5.25.0",
|
|
"vega-lite": "5.1.0",
|
|
"vitest": "^0.31.4",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-essentials": "^7.0.7",
|
|
"@storybook/addon-interactions": "^7.0.7",
|
|
"@storybook/addon-links": "^7.0.7",
|
|
"@storybook/blocks": "^7.0.7",
|
|
"@storybook/react": "^7.0.7",
|
|
"@storybook/react-vite": "^7.0.7",
|
|
"@storybook/testing-library": "^0.0.14-next.2",
|
|
"@swc/core": "^1.3.68",
|
|
"@types/flexsearch": "^0.7.3",
|
|
"@types/leaflet": "^1.9.3",
|
|
"@types/papaparse": "^5.3.7",
|
|
"@types/react": "^18.0.28",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
"@typescript-eslint/parser": "^5.57.1",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
"autoprefixer": "^10.4.14",
|
|
"eslint": "^8.38.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
"eslint-plugin-storybook": "^0.6.11",
|
|
"json": "^11.0.0",
|
|
"postcss": "^8.4.23",
|
|
"postcss-import": "^15.1.0",
|
|
"postcss-import-url": "^7.2.0",
|
|
"prop-types": "^15.8.1",
|
|
"storybook": "^7.0.7",
|
|
"tailwindcss": "^3.3.2",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.3.2",
|
|
"vite-plugin-dts": "^2.3.0",
|
|
"vite-plugin-swc-only": "^0.1.18"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"main": "./dist/components.umd.js",
|
|
"module": "./dist/components.es.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/components.es.js",
|
|
"require": "./dist/components.umd.js"
|
|
},
|
|
"./styles.css": {
|
|
"import": "./dist/style.css"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|