UNPKG

@dash-ui/compound

Version:

A utility for creating compound styles with dash-ui

179 lines (178 loc) 4.24 kB
{ "name": "@dash-ui/compound", "version": "1.0.1", "homepage": "https://github.com/dash-ui/compound#readme", "repository": "github:dash-ui/compound", "bugs": "https://github.com/dash-ui/compound/issues", "author": "Jared Lunde <jared.lunde@gmail.com> (https://jaredLunde.com)", "license": "MIT", "description": "A utility for creating compound styles with dash-ui", "keywords": [ "dash-ui", "dash", "compound" ], "main": "dist/main/index.js", "module": "dist/module/index.js", "unpkg": "dist/umd/compound.js", "source": "src/index.ts", "types": "types/index.d.ts", "exports": { ".": { "browser": "./dist/module/index.js", "import": "./dist/esm/index.mjs", "require": "./dist/main/index.js", "umd": "./dist/umd/compound.js", "source": "./src/index.ts", "types": "./types/index.d.ts", "default": "./dist/main/index.js" }, "./package.json": "./package.json", "./": "./" }, "files": [ "/dist", "/src", "/types" ], "sideEffects": false, "scripts": { "build": "lundle build", "check-types": "lundle check-types", "dev": "lundle build -f module,cjs -w", "format": "prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,js,md,yml,json}\"", "lint": "eslint . --ext .ts", "test": "jest", "validate": "lundle check-types && npm run lint && jest --coverage" }, "lint-staged": { "package.json": [ "pnpm dlx prettier-package-json --write" ], "**/*.{ts,js}": [ "eslint --ext .ts,.js --fix", "prettier --write" ], "**/*.{md,yml,json}": [ "prettier --write" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "release": { "branches": [ "main", { "name": "next", "prerelease": true }, { "name": "alpha", "prerelease": true } ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "types", "CHANGELOG.md", "package.json" ], "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" } ], "@semantic-release/github" ] }, "eslintConfig": { "extends": [ "lunde" ], "rules": { "@typescript-eslint/explicit-function-return-type": [ "warn" ] } }, "eslintIgnore": [ "node_modules", "coverage", "dist", "/types", "test", "*.config.js" ], "jest": { "testEnvironment": "jsdom", "transform": { "^.+\\.(t|j)sx?$": [ "@swc-node/jest", { "react": { "runtime": "automatic", "development": false, "useBuiltins": true } } ] }, "moduleDirectories": [ "node_modules", "src", "test" ], "testMatch": [ "<rootDir>/src/**/?(*.)test.ts" ], "collectCoverageFrom": [ "**/src/**/*.ts" ], "setupFilesAfterEnv": [ "<rootDir>/test/setup.js" ], "snapshotResolver": "<rootDir>/test/resolve-snapshot.js", "globals": { "__DEV__": true } }, "devDependencies": { "@commitlint/cli": "latest", "@commitlint/config-conventional": "latest", "@dash-ui/responsive": "^1.0.0", "@dash-ui/styles": "^1.0.1", "@semantic-release/changelog": "^6.0.0", "@semantic-release/git": "^10.0.0", "@swc-node/core": "^1.6.0", "@swc-node/jest": "^1.3.2", "@types/jest": "latest", "cli-confirm": "latest", "cross-env": "^7.0.3", "cz-conventional-changelog": "latest", "eslint": "^7.32.0", "eslint-config-lunde": "^0.5.0", "husky": "4", "jest": "27", "lint-staged": "latest", "lundle": "latest", "prettier": "latest", "typescript": "latest" }, "peerDependencies": { "@dash-ui/responsive": ">=1.0.0", "@dash-ui/styles": ">=1.0.1" } }