UNPKG

bootstrap-styled-provider

Version:

BootstrapProvider and UtilityProvider components help you manage reset, global styles and original bootstrap class utilities

321 lines (320 loc) 8.97 kB
{ "name": "bootstrap-styled-provider", "version": "1.1.7", "description": "BootstrapProvider and UtilityProvider components help you manage reset, global styles and original bootstrap class utilities", "main": "lib/index.js", "jsnext:main": "dist/bootstrap-styled-provider.esm.js", "module": "dist/bootstrap-styled-provider.esm.js", "homepage": "https://bootstrap-styled.yeutech.com/bootstrap-styled-provider", "browserslist": [ "IE >= 9", "last 2 versions" ], "author": "Alexander Janet <alexander.janet@yeutech.vn> (https://github.com/santaclauze)", "contributor": [ "Dimitri Kopriwa <dimitri.kopriwa@yeutech.vn> (https://github.com/kopax)" ], "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:dev": "rollup -c", "build:dist": "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 TEST_REPORT_PATH=reports jest --coverage", "test:clean": "rimraf ./coverage", "test:watch": "npm run test -- --watch", "lint": "eslint src", "prepublish": "npm run build", "lint-staged": "lint-staged", "styleguide": "styleguidist server", "styleguide:build": "styleguidist build" }, "repository": { "type": "git", "url": "https://module.kopaxgroup.com/bootstrap-styled/bootstrap-styled-provider.git" }, "bugs": { "url": "https://module.kopaxgroup.com/bootstrap-styled/bootstrap-styled-provider/issues" }, "keywords": [ "bootstrap", "bootstrap-styled", "styled-components", "react", "yeutech.vn", "providers" ], "license": "MIT", "eslintConfig": { "parser": "babel-eslint", "extends": "airbnb", "env": { "browser": true, "node": true, "jest": true, "es6": true }, "parserOptions": { "ecmaVersion": 6, "sourceType": "module" }, "rules": { "arrow-parens": [ "error", "always" ], "arrow-body-style": [ 2, "as-needed" ], "comma-dangle": [ 2, "always-multiline" ], "import/extensions": [ "error", "always", { "js": "never", "mjs": "never" } ], "import/imports-first": 0, "import/newline-after-import": 0, "import/no-dynamic-require": 0, "import/no-extraneous-dependencies": 0, "import/no-named-as-default": 0, "import/no-unresolved": 2, "import/prefer-default-export": 0, "indent": [ 2, 2, { "SwitchCase": 1 } ], "max-len": 0, "newline-per-chained-call": 0, "no-confusing-arrow": 0, "no-console": 1, "no-use-before-define": 0, "prefer-template": 2, "class-methods-use-this": 0, "require-yield": 0, "jsx-a11y/aria-props": 2, "jsx-a11y/heading-has-content": 0, "jsx-a11y/href-no-hash": "off", "jsx-a11y/anchor-is-valid": [ "warn", { "aspects": [ "invalidHref" ] } ], "jsx-a11y/label-has-for": 2, "jsx-a11y/mouse-events-have-key-events": 2, "jsx-a11y/role-has-required-aria-props": 2, "jsx-a11y/role-supports-aria-props": 2, "react/forbid-prop-types": 0, "react/jsx-first-prop-new-line": [ 2, "multiline" ], "react/jsx-filename-extension": 0, "react/jsx-no-target-blank": 0, "react/require-extension": 0, "react/self-closing-comp": 0 }, "settings": { "import/resolver": { "node": { "extensions": [ ".js", ".mjs" ] } } }, "plugins": [ "react" ] }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "pre-commit": [ "build:readme", "lint-staged" ], "devDependencies": { "@semantic-release/changelog": "^2.0.2", "@semantic-release/exec": "^2.2.4", "@semantic-release/git": "^5.0.0", "@semantic-release/gitlab": "^2.1.4", "@semantic-release/npm": "^3.2.5", "@yeutech-lab/rollup-umd-documentation": "^2.3.19", "babel-cli": "^6.26.0", "babel-eslint": "^7.2.3", "babel-jest": "^22.4.1", "babel-loader": "^7.1.4", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-array-includes": "^2.0.3", "babel-plugin-dynamic-import-node": "^1.1.0", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-styled-components": "^1.5.1", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-plugin-transform-react-constant-elements": "^6.23.0", "babel-plugin-transform-react-inline-elements": "^6.22.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.13", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-2": "^6.24.1", "babel-preset-stage-3": "^6.24.1", "cz-conventional-changelog": "^2.1.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^4.18.2", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.12.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.9.1", "exports-loader": "^0.7.0", "istanbul-api": "1.2.2", "istanbul-reports": "1.1.4", "jest-cli": "^22.4.2", "jest-sonar-reporter": "^1.3.0", "lint-staged": "^4.1.3", "pre-commit": "^1.2.2", "raf": "^3.4.0", "react": "^16.4.0", "react-dom": "^16.4.0", "react-styleguidist": "7.1.1", "react-test-renderer": "^16.4.0", "rollup": "^0.57.1", "rollup-plugin-babel": "^3.0.3", "rollup-plugin-cleanup": "^2.0.0", "rollup-plugin-commonjs": "^9.1.0", "rollup-plugin-inject": "^2.0.0", "rollup-plugin-json": "^2.3.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-uglify": "^3.0.0", "rollup-plugin-visualizer": "^0.5.0", "rollup-watch": "^4.3.1", "semantic-release": "^15.5.0", "sinon": "^2.3.2", "styled-components": "^3.3.0", "toctoc": "^0.3.0", "webpack": "^4.12.0" }, "dependencies": { "bootstrap-styled-mixins": "^1.0.4", "classnames": "^2.2.6", "prop-types": "^15.6.1", "react-transition-group": "^2.3.1" }, "peerDependencies": { "react": "^16.4.0", "react-dom": "^16.4.0", "styled-components": "^3.3.0" }, "publishConfig": { "tag": "latest", "registry": "https://registry.npmjs.org" }, "release": { "branch": "master", "success": false, "fail": false, "npmPublish": true, "verifyConditions": [ "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git", { "path": "@semantic-release/gitlab", "gitlabUrl": "https://module.kopaxgroup.com" } ], "prepare": [ "@semantic-release/changelog", "@semantic-release/npm", { "path": "@semantic-release/git", "assets": [ "package.json", "dist/**/*.{js|es}", "lib/**/*.js", "CHANGELOG.md", "README.md", "LICENSE.md" ] } ], "publish": [ "@semantic-release/npm", { "path": "@semantic-release/exec", "cmd": "echo ${nextRelease.version} > ~/release_version" }, { "path": "@semantic-release/gitlab", "gitlabUrl": "https://module.kopaxgroup.com" } ] }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "jest": { "roots": [ "<rootDir>/src/" ], "testPathIgnorePatterns": [ "<rootDir>/dist/", "<rootDir>/lib/" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}", "!src/**/*.test.{js,jsx}" ], "coverageThreshold": { "global": { "statements": 50, "branches": 18, "functions": 50, "lines": 50 } }, "moduleDirectories": [ "node_modules", "src" ], "testRegex": "tests/.*\\.test\\.js$", "testResultsProcessor": "jest-sonar-reporter", "setupFiles": [ "raf/polyfill" ], "setupTestFrameworkScriptFile": "<rootDir>/internals/testing/test-bundler.js" }, "declinationId": "bs", "private": false }