UNPKG

rollup-documentation

Version:

rollup-documentation

208 lines (207 loc) 5.81 kB
{ "name": "rollup-documentation", "version": "0.0.12", "description": "rollup-documentation", "main": "lib/index.js", "jsnext:main": "dist/rollup-documentation.es.js", "module": "dist/rollup-documentation.es.js", "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", "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", "ci-publish": "ci-publish" }, "repository": { "type": "git", "url": "ssh://git@module.kopaxgroup.com:20024/dev-tools/rollup-documentation.git" }, "bugs": { "url": "https://module.kopaxgroup.com/dev-tools/rollup-documentation/issues" }, "files": [ "LICENSE.md", "styleguide", "lib", "dist" ], "keywords": [ "yeutech", "rollup-umd" ], "authors": [ "Dimitri Kopriwa <dimitri.kopriwa@yeutech.com>", "Yeutech Company Limited <contact@yeutech.com>" ], "license": "UNLICENSED", "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/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 } }, "devDependencies": { "babel-loader": "^7.1.4", "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", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-array-includes": "^2.0.3", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-dynamic-import-node": "^1.1.0", "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-class-properties": "^6.24.1", "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-cli": "^6.26.0", "babel-eslint": "^7.2.3", "babel-jest": "^22.4.1", "eslint": "^4.18.2", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.9.0", "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", "react-dom": "^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", "sinon": "^2.3.2", "toctoc": "^0.3.0", "ci-publish": "^1.3.1" }, "jest": { "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" ], "testRegex": "tests/.*\\.test\\.js$", "testResultsProcessor": "jest-sonar-reporter" }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "pre-commit": [ "build:lib", "build:readme", "lint-staged" ], "dependencies": { "react": "^16.3.2", "prop-types": "^15.6.1", "styled-components": "^3.2.6", "react-transition-group": "^2.2.1", "bootstrap-styled": "^1.6.5", "classnames": "^2.2.5", "rsg-components": "^3.0.0", "webpack": "^4.6.0", "react-styleguidist": "^7.0.8", "webpack-merge": "^4.1.2" }, "peerDependencies": {} }