UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

79 lines (78 loc) 2.37 kB
{ "name": "@intility/bifrost-react", "version": "6.1.1", "description": "React library for Intility's design system, Bifrost.", "type": "module", "main": "dist/index.js", "scripts": { "build": "run-p build:*", "build:css": "postcss src/bifrost-app.css ../bifrost-css/src/bifrost-bundle.css ../bifrost-css/src/font-imports.css --dir dist --ext .css", "build:module": "swc ./src -d dist --strip-leading-paths", "build:types": "tsc", "start": "run-p watch:*", "watch:css": "npm run build:css -- --watch", "watch:module": "npm run build:module -- --watch", "watch:types": "npm run build:types -- --watch --preserveWatchOutput", "clean": "rimraf dist", "lint": "eslint ./src/**/*.{ts,tsx}" }, "exports": { "./package.json": "./package.json", "./dist/*.css": "./dist/*.css", "./*.css": "./dist/*.css", "./locales/*": "./dist/locales/*.js", "./hooks/*": "./dist/hooks/*.js", ".": "./dist/index.js", "./*": "./dist/components/*/index.js" }, "homepage": "https://bifrost.intility.com", "keywords": [ "react", "typescript", "intility", "design system", "bifrost" ], "author": "Intility AS", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/intility/bifrost", "directory": "packages/bifrost-react" }, "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "peerDependencies": { "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "dependencies": { "@floating-ui/react": "^0.27.15", "@fortawesome/fontawesome-svg-core": "^7.0.0", "@fortawesome/free-regular-svg-icons": "^7.0.0", "@fortawesome/free-solid-svg-icons": "^7.0.0", "@fortawesome/react-fontawesome": "^0.2.3", "@intility/bifrost-css": "6.0.0", "classnames": "^2.2.6", "focus-trap-react": "^11.0.4", "react-transition-group": "^4.4.2" }, "devDependencies": { "@csstools/postcss-sass": "^5.1.1", "@types/node": "^24.2.1", "@types/postcss-import": "^14.0.3", "@types/postcss-url": "^10.0.4", "postcss-cli": "^11.0.1", "postcss-import": "^16.1.1", "postcss-load-config": "^6.0.1", "postcss-scss": "^4.0.9", "postcss-url": "^10.1.3" }, "files": [ "CHANGELOG.md", "dist/**/*", "!dist/**/*.test.*" ] }