UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

128 lines (127 loc) 4.2 kB
{ "name": "@drivy/cobalt", "version": "4.0.0", "description": "Opinionated design system for Drivy's projects.", "main": "index.js", "types": "types/src/index.d.ts", "sideEffects": [ "*.css", "*.scss" ], "engines": { "node": ">=24.14.1" }, "packageManager": "pnpm@11.6.0+sha512.9a36518224080c6fe5165afdcfe79bfa118c29be703f3f462b1e32efe1e98e47e8750b148e08286250aad4113cc7993ca413c4e2cd447752708c2ee5751bc95f", "module": "index.js", "license": "MIT", "author": { "name": "Tim Petricola", "email": "tim@drivy.com", "url": "https://github.com/TimPetricola" }, "dependencies": { "@ark-ui/react": "5.37.2", "@floating-ui/react": "0.27.10", "@juggle/resize-observer": "3.4.0", "@lottiefiles/react-lottie-player": "3.6.0", "classnames": "2.5.1", "date-fns": "2.30.0", "lodash.throttle": "4.1.1", "media-typer": "1.1.0", "nanoid": "5.1.11", "postcss": "8.5.15", "tailwindcss": "3.4.19" }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@biomejs/biome": "2.4.4", "@getaround-eu/biome-config": "1.0.0", "@getaround-eu/stylelint-config": "4.0.1", "@getaround-eu/ts-config": "3.0.0", "@rsbuild/core": "1.7.5", "@rsbuild/plugin-react": "1.4.6", "@rsbuild/plugin-sass": "1.5.3", "@rslib/core": "0.22.1", "@storybook/addon-docs": "10.4.4", "@svgr/cli": "7.0.0", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.2", "@types/fs-extra": "11.0.4", "@types/jest": "29.5.14", "@types/lodash.throttle": "4.1.9", "@types/media-typer": "1.1.3", "@types/node": "24.12.2", "@types/react": "18.3.28", "@types/react-dom": "18.3.7", "@types/react-syntax-highlighter": "^15.5.13", "autoprefixer": "10.5.0", "fs-extra": "11.3.5", "html-entities": "2.6.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "nested-object-access": "^0.2.5", "np": "11.2.1", "postcss-flexbugs-fixes": "5.0.2", "publint": "0.3.21", "react": "18.3.1", "react-dom": "18.3.1", "react-syntax-highlighter": "15.6.6", "react-test-renderer": "18.3.1", "react-textarea-autosize": "8.5.9", "remark-gfm": "^4.0.1", "sass": "1.100.0", "sharp-cli": "5.2.0", "storybook": "10.4.4", "storybook-react-rsbuild": "3.3.4", "stylelint": "17.5.0", "svg2vectordrawable": "2.9.1", "svgo": "3.3.3", "svgo-loader": "5.0.0", "ts-jest": "29.4.11", "typescript": "6.0.2" }, "scripts": { "build": "./scripts/build.sh", "build:dev": "pnpm build && yalc publish dist/", "build:publish": "pnpm build && pnpm np --contents dist --package-manager npm", "deploy": "./scripts/publishToBranch.sh", "lint": "biome check && stylelint \"src/**/*.scss\"", "lint:fix": "biome check --fix && stylelint \"src/**/*.scss\" --fix", "scss:vars": "node -e 'console.log(require(\"./utils/tailwindcssThemeHelpers.js\").getFlattenedTheme())'", "binary": "sh ./scripts/buildCobaltBinary.sh", "storybook:prepare": "PLAYGROUND_GENERATION=true npx tailwindcss -i ./src/utilities.css -o ./src/_generated_tailwind_playground.css && PLAYGROUND_GENERATION=false", "storybook": "pnpm storybook:prepare && storybook dev -p 6006", "storybook:build": "pnpm storybook:prepare && storybook build", "build:icons": "./scripts/buildIcons.sh", "build:illustrations": "./scripts/buildIllustrations.sh", "build:theme": "node ./scripts/buildThemeCSSVariables.mts", "test": "jest", "verify:dist": "node ./scripts/verifyDist.mjs", "publint": "publint ./dist", "typecheck": "tsc", "version": "cp package.json dist/package.json" }, "keywords": [ "drivy", "cobalt" ], "homepage": "https://github.com/drivy/cobalt", "bugs": { "url": "https://github.com/drivy/cobalt/issues" }, "repository": { "type": "git", "url": "git+https://github.com/drivy/cobalt.git" }, "files": [ "tokens/**/*", "**/*.{scss,css,d.ts,js,js.map,svg,png,woff,woff2,md}" ], "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" } }