UNPKG

@times-components/message-bar

Version:

A component for showing user notifications

72 lines (71 loc) 2.37 kB
{ "name": "@times-components/message-bar", "version": "0.7.129", "description": "A component for showing user notifications ", "main": "dist/index", "dev": "src/index", "scripts": { "depcheck": "depcheck --ignores='@babel/*,babel-*,depcheck,eslint,@thetimes/jest-lint,jest,prettier,webpack*' --ignore-bin-package=false --skip-missing", "fmt": "eslint . --fix && prettier --write '**/*.{js,json}'", "prettier:diff": "prettier --list-different '**/*.{js,json}'", "lint": "eslint . && yarn prettier:diff && yarn depcheck", "test:web": "jest --config='./__tests__/jest.config.js'", "test:web:updatesnapshot": "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", "web", "message-bar", "component" ], "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/newsuk/times-components/issues" }, "homepage": "https://github.com/newsuk/times-components#readme", "devDependencies": { "@times-components/eslint-config-thetimes": "0.8.18", "@times-components/jest-configurator-web": "0.8.2", "@times-components/jest-serializer": "3.18.10", "@times-components/storybook": "4.16.20", "@times-components/test-utils": "2.4.2", "@times-components/webpack-configurator": "2.1.1", "enzyme": "3.9.0", "eslint": "5.9.0", "jest": "24.8.0", "prettier": "1.14.3", "react": "16.9.0", "react-dom": "16.9.0", "react-test-renderer": "16.9.0", "webpack": "4.30.0" }, "resolutions": { "react": "16.9.0", "react-dom": "16.9.0" }, "peerDependencies": { "react": ">=16.9", "react-dom": ">=16.9" }, "dependencies": { "@times-components/icons": "2.23.43", "@times-components/responsive": "0.33.0", "@times-components/ts-styleguide": "1.56.21", "@times-components/utils": "6.36.0", "prop-types": "15.7.2", "styled-components": "4.3.2" }, "publishConfig": { "access": "public" }, "gitHead": "ecd6abd7dc1ea261018351fb5cb82d1c18ab0599" }