UNPKG

styled-components-breakpoint

Version:

Utility functions for creating breakpoints in `styled-components` 💅.

77 lines (76 loc) • 2.45 kB
{ "name": "styled-components-breakpoint", "version": "3.0.0-preview.20", "description": "Utility functions for creating breakpoints in `styled-components` 💅.", "keywords": [ "react", "styled-components", "breakpoint", "breakpoints", "media", "style", "tablet", "desktop" ], "repository": "jameslnewell/styled-components-breakpoint", "files": [ "dist" ], "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.m.js", "types": "dist/index.d.ts", "peerDependencies": { "@types/styled-components": "^4.1.19", "styled-components": ">= 1 <= 4" }, "devDependencies": { "@jameslnewell/editor-config": "^1.0.1", "@jameslnewell/eslint-config": "^0.12.0", "@jameslnewell/prettier-config": "^1.0.1", "@jameslnewell/typescript-config": "^3.0.0", "@jameslnewell/jest-preset-test": "^4.0.0", "@testing-library/react": "^9.1.4", "@types/jest": "^24.0.18", "@types/react": "^16.9.2", "@types/styled-components": "^4.1.19", "eslint": "^6.3.0", "gh-pages": "^2.1.1", "husky": "^3.0.5", "jest": "^24.9.0", "jest-styled-components": "^6.3.3", "lint-staged": "^9.2.5", "microbundle": "^0.11.0", "parcel-bundler": "^1.12.3", "prettier": "^1.18.2", "react": "^16.9.0", "react-dom": "^16.9.0", "styled-components": "^4.3.2", "typescript": "^3.6.2" }, "scripts": { "clean": "rm -rf dist .cache .rts2_cache* example/dist example.cache", "check:linting": "eslint --fix --ext .ts,.js,.jsx src", "check:types": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project example/tsconfig.json", "check": "yarn run check:linting && yarn run check:types", "build:bundle": "microbundle build -f es,cjs --tsconfig tsconfig.build.json", "build:example": "parcel build example/src/index.html --public-url /styled-components-breakpoint --out-dir example/dist", "build": "yarn run build:bundle && yarn run build:example", "test": "jest", "deploy": "gh-pages -d example/dist", "start": "parcel example/src/index.html --out-dir example/dist", "prepublishOnly": "yarn run clean && yarn run check && yarn run build && yarn run test && yarn run deploy" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{md,json,js,jsx,ts,tsx}": [ "prettier --write", "git add" ] }, "license": "MIT" }