react-with-breakpoints
Version:
Utility React component for altering the visual experience of responsive and lean webpages.
160 lines (159 loc) • 4.29 kB
JSON
{
"name": "react-with-breakpoints",
"version": "4.0.4",
"description": "Utility React component for altering the visual experience of responsive and lean webpages.",
"main": "dist/react-with-breakpoints.umd.js",
"module": "dist/react-with-breakpoints.es5.js",
"typings": "dist/types/react-with-breakpoints.d.ts",
"files": [
"dist"
],
"homepage": "https://github.com/kristof0425/react-with-breakpoints#readme",
"author": "Kristof Dombi <dombi.kristof@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"css",
"styles",
"display-none",
"toggle",
"utility-function",
"higher-order-component",
"airbnb",
"breakpoint",
"breakpoints",
"alter",
"ux",
"display",
"react-display",
"hide-at",
"react-hide-at",
"show-at",
"react-show-at"
],
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "NODE_ENV=production tsc --module commonjs && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged",
"travis-deploy-once": "travis-deploy-once"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kristof0425/react-with-breakpoint.git"
},
"bugs": {
"url": "https://github.com/kristof0425/react-with-breakpoints/issues"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"setupTestFrameworkScriptFile": "jest-enzyme",
"testEnvironment": "jsdom",
"verbose": true,
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/enzyme": "^3.1.15",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.2",
"@types/node": "^10.11.0",
"@types/react": "^16.7.21",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.8.0",
"husky": "^1.0.1",
"jest": "^23.6.0",
"jest-config": "^23.6.0",
"jest-environment-enzyme": "^7.0.1",
"jest-enzyme": "^7.0.1",
"jsdom": "^13.2.0",
"lint-staged": "^8.0.0",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.14.3",
"prompt": "^1.0.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"rollup": "^0.67.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^4.0.3",
"rollup-plugin-typescript2": "^0.18.0",
"semantic-release": "^15.9.16",
"travis-deploy-once": "^5.0.9",
"ts-jest": "^23.10.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.12.0",
"typescript": "^3.0.3"
},
"dependencies": {},
"peerDependencies": {
"react": ">= 16.8.x"
}
}