UNPKG

bootstrap-styled

Version:

Bootstrap Styled is a front-end ecosystem for React made with Bootstrap 4 philosophy, using the power of css-in-js thanks to styled-components.

292 lines (291 loc) 8.66 kB
{ "name": "bootstrap-styled", "version": "2.7.2", "description": "Bootstrap Styled is a front-end ecosystem for React made with Bootstrap 4 philosophy, using the power of css-in-js thanks to styled-components.", "main": "lib/index.js", "jsnext:main": "dist/bootstrap-styled.esm.js", "module": "dist/bootstrap-styled.esm.js", "homepage": "https://bootstrap-styled.github.io/bootstrap-styled", "browserslist": [ "IE >= 9", "last 2 versions" ], "engines": { "node": ">=7.9.0" }, "scripts": { "prebuild": "npm run build:clean", "build": "npm run build:lib && npm run build:dist", "prebuild:lib": "rimraf lib/*", "build:lib": "BABEL_ENV=production babel --out-dir lib src --copy-files", "prebuild:dist": "rimraf dist/*", "build:clean": "rimraf lib/* dist/*", "build:dist": "rollup -c && rollup -c --environment PRODUCTION", "build:readme": "toctoc README.md -w", "build:dist:watch": "rollup -c --watch", "build:lib:watch": "npm run build:lib -- --watch", "test": "npm run lint && npm run test:web", "test:web": "NODE_ENV=test jest --coverage", "test:clean": "rimraf ./coverage", "test:watch": "npm run test -- --watch", "lint": "eslint src", "prepublish": "npm run build", "lint-staged": "lint-staged", "jsdoc-documentation": "jsdoc-documentation", "jsdoc": "jsdoc-documentation --file", "prestyleguide": "npm run jsdoc", "styleguide": "styleguidist server", "styleguide:build": "styleguidist build" }, "repository": { "type": "git", "url": "https://github.com/bootstrap-styled/bootstrap-styled.git" }, "bugs": { "url": "https://github.com/bootstrap-styled/bootstrap-styled/issues" }, "keywords": [ "rollup", "bootstrap", "bootstrap-styled", "styled", "styled-components", "react" ], "author": "Dimitri Kopriwa <dimitri.kopriwa@yeutech.vn> (https://github.com/kopax)", "contributor": [ "Alexander Janet <alexander.janet@yeutech.vn>", "Adrien Gadaud <adrien.gadaud@yeutech.vn>" ], "license": "MIT", "devDependencies": { "@babel/cli": "^7.6.3", "@babel/core": "^7.6.3", "@babel/plugin-external-helpers": "^7.2.0", "@babel/plugin-proposal-class-properties": "^7.5.5", "@babel/plugin-proposal-decorators": "^7.6.0", "@babel/plugin-proposal-json-strings": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.6.2", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-import-meta": "^7.2.0", "@babel/plugin-transform-modules-commonjs": "^7.6.0", "@babel/plugin-transform-react-constant-elements": "^7.6.3", "@babel/plugin-transform-react-inline-elements": "^7.2.0", "@babel/preset-env": "^7.6.3", "@babel/preset-react": "^7.6.3", "@bootstrap-styled/documentation": "^2.0.0", "@bootstrap-styled/provider": "^1.5.3", "@rollup-umd/documentation": "^2.0.7", "@rollup-umd/documentation-cli": "^1.1.3", "@rollup-umd/ncu": "^1.0.9", "@rollup-umd/rollup": "^1.0.13", "@semantic-release/changelog": "^3.0.4", "@semantic-release/git": "^7.0.16", "@semantic-release/github": "^5.5.3", "@semantic-release/npm": "^5.2.0", "babel-eslint": "^10.0.3", "babel-jest": "^24.9.0", "babel-loader": "^8.0.6", "babel-plugin-add-module-exports": "^1.0.2", "babel-plugin-array-includes": "^2.0.3", "babel-plugin-dynamic-import-node": "^2.3.0", "babel-plugin-macros": "^2.6.1", "babel-plugin-react-intl": "^4.1.20", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-styled-components": "^1.10.6", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "babel-preset-react-hmre": "^1.1.1", "cz-conventional-changelog": "^3.0.2", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.15.0", "eslint": "^6.5.1", "eslint-config-airbnb": "^18.0.1", "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.16.0", "immutable": "^4.0.0-rc.12", "jest-cli": "^24.9.0", "jest-sonar-reporter": "^2.0.0", "lint-staged": "^9.4.2", "pre-commit": "^1.2.2", "raf": "^3.4.1", "react": "^16.10.2", "react-dom": "^16.10.2", "react-redux": "^7.1.1", "react-test-renderer": "^16.10.2", "redux": "^4.0.4", "redux-immutable": "^4.0.0", "rimraf": "^3.0.0", "rollup": "^1.23.1", "rollup-watch": "^4.3.1", "semantic-release": "^15.13.24", "styled-components": "^4.4.0", "toctoc": "^0.3.2", "webpack": "^4.41.0" }, "jest": { "roots": [ "<rootDir>/src/" ], "setupFiles": [ "raf/polyfill" ], "setupFilesAfterEnv": [ "<rootDir>/internals/testing/test-bundler.js" ], "transformIgnorePatterns": [ "<rootDir>/node_modules", "<rootDir>/internals" ], "testURL": "http://localhost", "testPathIgnorePatterns": [ "<rootDir>/dist/", "<rootDir>/lib/" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}", "!src/**/*.test.{js,jsx}" ], "coverageThreshold": { "global": { "statements": 84, "branches": 94, "functions": 42, "lines": 85 } }, "moduleDirectories": [ "node_modules", "src" ], "testRegex": "tests/.*\\.test\\.js$", "testResultsProcessor": "jest-sonar-reporter" }, "jestSonar": { "reportPath": "reports", "reportFile": "test-report.xml", "indent": 2 }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "pre-commit": [ "build:readme", "lint-staged" ], "dependencies": { "@bootstrap-styled/color": "^1.0.9", "@bootstrap-styled/css-utils": "^1.4.0", "@bootstrap-styled/utils": "^1.8.1", "basic-math-utils": "^0.3.4", "debounce": "^1.2.0", "hoist-non-react-statics": "^3.3.0", "lodash.merge": "^4.6.2", "prop-types": "^15.7.2", "react-event-listener": "^0.6.6" }, "peerDependencies": { "react": "^16.10.2", "react-dom": "^16.10.2", "styled-components": "^4.4.0" }, "publishConfig": { "registry": "https://registry.npmjs.org", "tag": "latest", "access": "public" }, "release": { "branch": "master", "npmPublish": true, "verifyConditions": [ "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git", "@semantic-release/github" ], "prepare": [ "@semantic-release/changelog", "@semantic-release/npm", { "path": "@semantic-release/git", "assets": [ "package.json", "src/**", "CHANGELOG.md", "README.md", "LICENSE.md" ] } ], "publish": [ "@semantic-release/npm", { "path": "@semantic-release/github", "assets": [ { "path": "package.json" }, { "path": "LICENSE.md" }, { "path": "CHANGELOG.md" }, { "path": "README.md" }, { "path": "dist/*.esm.js", "label": "ES module" }, { "path": "dist/*.esm.js.map", "label": "ES module source map" }, { "path": "dist/*.min.js", "label": "UMD compressed" }, { "path": "dist/*.min.js.map", "label": "UMD compressed source map" }, { "path": "dist/*.cjs.min.js", "label": "CJS compressed" }, { "path": "dist/*.cjs.min.js.map", "label": "CJS compressed source map" }, { "path": "lib/*.js", "label": "CJS folder" } ] } ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "greenkeeper": { "label": "dependency", "commitMessages": { "initialBadge": "docs(readme): add Greenkeeper badge", "initialDependencies": "chore(package): update dependencies", "initialBranches": "chore(travis): whitelist greenkeeper branches", "dependencyUpdate": "fix(package): update ${dependency} to version ${version}", "devDependencyUpdate": "chore(package): update ${dependency} to version ${version}", "dependencyPin": "fix: pin ${dependency} to ${oldVersion}", "devDependencyPin": "chore: pin ${dependency} to ${oldVersion}", "closes": "\n\nCloses #${number}" } } }