@rollup-umd/documentation
Version:
Extension for react-styleguidist, Featured generated react-documentation, generated jsdom documentation, default react-styleguidist configuration including react-native, layout package with auto-configuration, internals layouts, configured CI
386 lines (385 loc) • 10.5 kB
JSON
{
"name": "@rollup-umd/documentation",
"version": "2.1.1",
"description": "Extension for react-styleguidist, Featured generated react-documentation, generated jsdom documentation, default react-styleguidist configuration including react-native, layout package with auto-configuration, internals layouts, configured CI",
"main": "lib/index.js",
"bin": {
"jsdoc-documentation": "lib/cli/jsdoc"
},
"homepage": "https://rollup-umd.github.io/documentation",
"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",
"prebuild:lib": "rimraf lib/*",
"build:lib": "BABEL_ENV=production babel --out-dir lib src --copy-files",
"build:clean": "rimraf lib/*",
"build:readme": "toctoc README.md -w",
"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": "lib/cli/jsdoc",
"jsdoc": "npm run jsdoc-documentation -- --file",
"prestyleguide": "npm run build && npm run jsdoc",
"styleguide": "styleguidist server",
"prestyleguide:build": "npm run build",
"styleguide:build": "styleguidist build"
},
"repository": {
"type": "git",
"url": "https://github.com/rollup-umd/documentation.git"
},
"bugs": {
"url": "https://github.com/rollup-umd/documentation/issues"
},
"keywords": [
"bootstrap",
"bootstrap-styled",
"styled-components",
"react",
"yeutech.vn",
"documentation"
],
"ncurc": {
"reject": [
"react-transition-group",
"css-loader",
"mini-html-webpack-plugin",
"react-styleguidist",
"url-loader"
]
},
"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,
"no-await-in-loop": 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,
"react/jsx-props-no-spreading": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".mjs"
]
}
}
},
"plugins": [
"react"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"pre-commit": [
"build:readme",
"lint-staged"
],
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-json-strings": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@babel/plugin-transform-react-constant-elements": "^7.8.3",
"@babel/plugin-transform-react-inline-elements": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@rollup-umd/ncu": "^1.0.9",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.3",
"@semantic-release/npm": "^7.0.2",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-merge": "^3.0.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-styled-components": "^1.10.7",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cz-conventional-changelog": "^3.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"istanbul-api": "^3.0.0",
"istanbul-reports": "^3.0.0",
"jest-cli": "^25.1.0",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^10.0.7",
"pre-commit": "^1.2.2",
"raf": "^3.4.1",
"react-test-renderer": "^16.12.0",
"semantic-release": "^17.0.2",
"toctoc": "^0.3.2",
"webpack": "^4.41.6"
},
"dependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@bootstrap-styled/rsg-components": "^2.1.7",
"@expo/webpack-config": "^0.11.0",
"acorn": "^6.1.1",
"acorn-jsx": "^5.0.1",
"babel-loader": "^8.0.6",
"babel-plugin-react-native-web": "^0.12.1",
"css-loader": "^2.1.1",
"documentation": "^12.1.4",
"exports-loader": "^0.7.0",
"file-loader": "^5.0.2",
"image-webpack-loader": "^6.0.0",
"lodash.omit": "^4.5.0",
"metro-react-native-babel-preset": "^0.58.0",
"mini-html-webpack-plugin": "^1.0.0",
"parse-author": "^2.0.0",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-ga": "^2.7.0",
"react-native-web": "^0.12.1",
"react-styleguidist": "9.1.2",
"react-transition-group": "^2.9.0",
"style-loader": "^1.1.3",
"styled-components": "^5.0.1",
"url-loader": "^1.1.2",
"webpack-merge": "^4.2.2"
},
"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"
}
},
"jest": {
"testURL": "http://localhost",
"roots": [
"<rootDir>/src/"
],
"testPathIgnorePatterns": [
"<rootDir>/lib/"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}"
],
"coverageThreshold": {
"global": {
"statements": 30,
"branches": 29,
"functions": 30,
"lines": 30
}
},
"moduleDirectories": [
"node_modules",
"src"
],
"testRegex": "tests/.*\\.test\\.js$",
"testResultsProcessor": "jest-sonar-reporter",
"setupFiles": [
"raf/polyfill"
],
"setupFilesAfterEnv": [
"<rootDir>/internals/testing/test-bundler.js"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/internals"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/testing/fileMock.js",
"\\.(css|less)$": "<rootDir>/internals/testing/fileMock.js"
}
},
"jestSonar": {
"reportPath": "reports",
"reportFile": "test-report.xml",
"indent": 2
},
"declinationId": "bs",
"contributors": []
}