UNPKG

@times-components/card

Version:

The card component fades in and lays out content that typically consists of an image and a collection of textual elements (although this content could be anything). Card manages the layout of these elements, whilst providing a consistent loading state for

77 lines (76 loc) 2.5 kB
{ "name": "@times-components/card", "version": "6.17.9", "main": "dist/card", "dev": "src/card", "scripts": { "fmt": "eslint . --fix && prettier --write '**/*.*'", "prettier:diff": "prettier --list-different '**/*.*'", "depcheck": "depcheck --ignores='@babel/*,babel-*,depcheck,eslint,jest,prettier,react-art,stylelint*,webpack*' --ignore-bin-package=false --skip-missing", "lint": "eslint . && stylelint . && yarn prettier:diff && yarn depcheck", "test:web": "jest --config='./__tests__/jest.config.js'", "test:web:updatesnapshot": "TZ=UTC yarn test:web -u", "prepublishOnly": "yarn transpile && yarn bundle", "watch": "watch 'yarn bundle' ./src --ignoreDotFiles --ignoreUnreadable", "cleanup-dist": "rm -rf dist", "transpile": "yarn cleanup-dist && babel src -d dist", "bundle": "NODE_ENV=production webpack -p" }, "repository": { "type": "git", "url": "git+https://github.com/newsuk/times-components.git" }, "keywords": [ "react", "card", "component" ], "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/newsuk/times-components/issues" }, "homepage": "https://github.com/newsuk/times-components#readme", "devDependencies": { "@babel/core": "7.4.4", "@times-components/eslint-config-thetimes": "0.8.18", "@times-components/jest-configurator-web": "0.8.2", "@times-components/jest-serializer": "3.18.0", "@times-components/storybook": "4.16.0", "@times-components/test-utils": "2.4.2", "@times-components/webpack-configurator": "2.1.1", "babel-jest": "24.8.0", "babel-loader": "8.0.5", "depcheck": "0.6.9", "enzyme": "3.9.0", "eslint": "5.9.0", "jest": "24.8.0", "jest-styled-components": "6.3.1", "prettier": "1.14.3", "react": "16.9.0", "react-dom": "16.9.0", "react-test-renderer": "16.9.0", "stylelint": "9.4.0", "webpack": "4.30.0" }, "dependencies": { "@times-components/gradient": "3.5.83", "@times-components/image": "6.19.9", "@times-components/responsive": "0.29.7", "@times-components/ts-styleguide": "1.56.1", "@times-components/utils": "6.31.13", "prop-types": "15.7.2", "styled-components": "4.3.2" }, "resolutions": { "react": "16.9.0", "react-dom": "16.9.0" }, "peerDependencies": { "react": ">=16.9", "react-dom": ">=16.9" }, "publishConfig": { "access": "public" }, "gitHead": "5e246285252a2c3dfc42af7badd2ed24106af398" }