UNPKG

@yeutech-lab/rollup-umd-documentation

Version:

Quickly build awesome documentation for your rollup-umd project.

390 lines (389 loc) 10.9 kB
{ "name": "@yeutech-lab/rollup-umd-documentation", "version": "2.4.7", "description": "Quickly build awesome documentation for your rollup-umd project.", "main": "lib/index.js", "jsnext:main": "@yeutech-lab/rollup-umd-documentation.esm.js", "module": "@yeutech-lab/rollup-umd-documentation.esm.js", "homepage": "https://yeutech-lab.github.io/rollup-umd-documentation", "browserslist": [ "IE >= 9", "last 2 versions" ], "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 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", "prestyleguide": "npm run build:lib", "styleguide": "styleguidist server", "prestyleguide:build": "npm run build:lib", "styleguide:build": "styleguidist build" }, "repository": { "type": "git", "url": "https://github.com/yeutech-lab/rollup-umd-documentation.git" }, "bugs": { "url": "https://github.com/yeutech-lab/rollup-umd-documentation/issues" }, "keywords": [ "yeutech", "rollup-umd" ], "author": "Dimitri Kopriwa <dimitri.kopriwa@yeutech.com>", "contributor": [ "Adrien Gadaud <adrien.gadaud@yeutech.com>" ], "license": "UNLICENSED", "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/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" ] } ], "import/extensions": [ "error", "always", { "js": "never", "mjs": "never" } ], "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, "function-paren-newline": [ "error", "consistent" ] }, "settings": { "import/resolver": { "node": { "extensions": [ ".js", ".mjs" ] }, "alias": [ [ "rsg-components", "./node_modules/react-styleguidist/lib/rsg-components" ] ] } }, "plugins": [ "react" ] }, "devDependencies": { "@semantic-release/changelog": "^3.0.1", "@semantic-release/exec": "^3.3.0", "@semantic-release/git": "^7.0.5", "@semantic-release/github": "^5.2.5", "@semantic-release/npm": "^5.1.1", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "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-inline-react-svg": "^0.5.4", "babel-plugin-module-resolver": "^3.1.1", "babel-plugin-react-transform": "^3.0.0", "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-import-resolver-alias": "^1.1.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.8.2", "exports-loader": "^0.7.0", "identity-obj-proxy": "^3.0.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", "node-fetch": "^2.3.0", "pre-commit": "^1.2.2", "raf": "^3.4.0", "react-styleguidist": "^8.0.4", "react-test-renderer": "^16.3.2", "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.12.1", "sinon": "^2.3.2", "toctoc": "^0.3.2" }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "pre-commit": [ "build:lib", "build:readme", "lint-staged" ], "dependencies": { "@bootstrap-styled/css-mixins": "^1.1.1", "@bootstrap-styled/navigation-bar": "^1.8.21", "@bootstrap-styled/provider": "^1.3.0", "@bootstrap-styled/v4": "^1.2.8", "bootstrap-styled": "^2.1.2", "buble": "^0.19.3", "classnames": "^2.2.5", "clipboard-copy": "^2.0.0", "css-loader": "^0.28.11", "eslint-plugin-import": "^2.12.0", "file-loader": "^1.1.11", "font-awesome": "^4.7.0", "glogg": "^1.0.1", "javascript-stringify": "^1.6.0", "lodash.debounce": "^4.0.8", "lodash.map": "^4.6.0", "lodash.omit": "^4.5.0", "map-to-css-modules": "^1.0.6", "markdown-to-jsx": "^6.6.3", "mini-html-webpack-plugin": "^0.2.3", "parse-author": "^2.0.0", "prop-types": "^15.6.1", "react": "^16.6.3", "react-codemirror2": "^5.0.1", "react-dom": "^16.5.0", "react-ga": "^2.5.3", "react-group": "^1.0.6", "react-transition-group": "^2.2.1", "style-loader": "^0.21.0", "styled-components": "^4.1.1", "url-loader": "^0.5.8", "webpack": "^4.6.0", "webpack-merge": "^4.1.2" }, "peerDependencies": {}, "jest": { "testURL": "http://localhost", "roots": [ "<rootDir>/src/" ], "testPathIgnorePatterns": [ "<rootDir>/dist/", "<rootDir>/lib/" ], "collectCoverageFrom": [ "src/**/*.{js,jsx}", "!src/**/*.test.{js,jsx}" ], "coverageThreshold": { "global": { "statements": 0, "branches": 0, "functions": 0, "lines": 0 } }, "moduleDirectories": [ "node_modules", "src" ], "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js", "\\.(css|less|scss|sass)$": "identity-obj-proxy" }, "testRegex": "tests/.*\\.test\\.js$", "testResultsProcessor": "jest-sonar-reporter", "setupFiles": [ "raf/polyfill" ], "setupTestFrameworkScriptFile": "<rootDir>/internals/testing/test-bundler.js" }, "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" } }, "private": false }