UNPKG

@bootstrap-styled/color

Version:

Qix/color wrapper for bootstrap-styled, it help you use color without worrying if the provided css color can be manipulated with color.

318 lines (317 loc) 8.64 kB
{ "name": "@bootstrap-styled/color", "version": "1.0.9", "description": "Qix/color wrapper for bootstrap-styled, it help you use color without worrying if the provided css color can be manipulated with color.", "main": "lib/index.js", "jsnext:main": "dist/@bootstrap-styled/color.esm.js", "module": "dist/@bootstrap-styled/color.esm.js", "homepage": "https://bootstrap-styled.github.io/color", "engines": { "node": ">=8" }, "browserslist": [ "IE >= 9", "last 2 versions" ], "author": "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 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", "prestyleguide:build": "npm run jsdoc", "styleguide:build": "styleguidist build" }, "repository": { "type": "git", "url": "https://github.com/bootstrap-styled/color.git" }, "bugs": { "url": "https://github.com/bootstrap-styled/color/issues" }, "keywords": [ "yeutech.vn", "color" ], "license": "MIT", "eslintConfig": { "parser": "babel-eslint", "extends": "airbnb-base", "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, "no-await-in-loop": 0 }, "settings": { "import/resolver": { "node": { "extensions": [ ".js", ".mjs" ] } } } }, "jest": { "testURL": "http://localhost", "roots": [ "<rootDir>/src/" ], "testPathIgnorePatterns": [ "<rootDir>/dist/", "<rootDir>/lib/" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}", "!src/**/*.test.{js,jsx}" ], "coverageThreshold": { "global": { "statements": 20, "branches": 20, "functions": 20, "lines": 20 } }, "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" ], "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-transform-async-to-generator": "^7.0.0", "@babel/plugin-transform-modules-commonjs": "^7.0.0", "@babel/plugin-transform-react-constant-elements": "^7.0.0", "@babel/plugin-transform-react-inline-elements": "^7.0.0", "@babel/plugin-transform-runtime": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "@rollup-umd/documentation": "^1.0.17", "@semantic-release/changelog": "^3.0.1", "@semantic-release/git": "^7.0.5", "@semantic-release/github": "^5.2.5", "@semantic-release/npm": "^5.1.1", "@yeutech-lab/documentation": "^1.0.3", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "^23.4.2", "babel-loader": "^8.0.0", "babel-merge": "^2.0.1", "babel-plugin-add-module-exports": "^1.0.0", "babel-plugin-array-includes": "^2.0.3", "babel-plugin-dynamic-import-node": "^2.2.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.13", "cz-conventional-changelog": "^2.1.0", "eslint": "^5.10.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.12.0", "exports-loader": "^0.7.0", "istanbul-api": "2.0.6", "istanbul-reports": "2.0.1", "jest-cli": "^23.6.0", "jest-sonar-reporter": "^2.0.0", "lint-staged": "^8.1.0", "pre-commit": "^1.2.2", "react-styleguidist": "^8.0.6", "rollup": "^0.68.0", "rollup-plugin-babel": "^4.0.1", "rollup-plugin-cleanup": "^3.0.0", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-inject": "^2.2.0", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-builtins": "^2.1.2", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^3.0.0", "rollup-plugin-visualizer": "^0.9.2", "rollup-watch": "^4.3.1", "semantic-release": "^15.12.4", "sinon": "^7.2.2", "toctoc": "^0.3.2", "webpack": "^4.27.0" }, "dependencies": { "@babel/runtime": "^7.0.0", "color": "^3.1.0" }, "peerDependencies": {}, "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/**/*.js", "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" } }, "contributors": [] }