UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

132 lines (131 loc) 4.37 kB
{ "name": "@drivy/cobalt", "version": "3.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.1.3+sha512.c85357fe17ca12dd23dd7071822666dfd7e3cb76fe214e3370b5ea2fb34f2a231185509b63e717f3cd0acb38dd3f8d82bcd5e8172400ae678b70ea4fbed0896d", "module": "index.js", "license": "MIT", "author": { "name": "Tim Petricola", "email": "tim@drivy.com", "url": "https://github.com/TimPetricola" }, "dependencies": { "@ark-ui/react": "5.30.0", "@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.14", "tailwindcss": "3.4.19" }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@biomejs/biome": "2.4.4", "@getaround-eu/babel-preset-app": "2.0.0", "@getaround-eu/biome-config": "1.0.0", "@getaround-eu/stylelint-config": "4.0.1", "@getaround-eu/ts-config": "2.2.1", "@rollup/plugin-commonjs": "28.0.9", "@rollup/plugin-json": "6.1.0", "@storybook/addon-docs": "10.3.6", "@storybook/addon-webpack5-compiler-babel": "^4.0.1", "@storybook/react-webpack5": "10.3.5", "@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", "css-loader": "7.1.4", "fs-extra": "11.3.4", "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", "postcss-loader": "8.2.1", "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", "rollup": "2.80.0", "rollup-plugin-copy": "3.5.0", "rollup-plugin-svgo": "2.0.0", "rollup-plugin-typescript2": "0.37.0", "sass": "1.99.0", "sass-loader": "13.3.3", "sharp-cli": "5.2.0", "storybook": "10.3.6", "style-loader": "4.0.0", "stylelint": "17.5.0", "svg2vectordrawable": "2.9.1", "svgo": "3.3.3", "ts-jest": "29.4.9", "typescript": "5.9.3" }, "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": "ts-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", "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" } }