@bootstrap-styled/ra-ui
Version:
UI components for react-admin
459 lines (458 loc) • 12.6 kB
JSON
{
"name": "@bootstrap-styled/ra-ui",
"version": "1.0.24",
"description": "UI components for react-admin",
"main": "lib/index.js",
"homepage": "https://bootstrap-styled.github.io/ra-ui",
"engines": {
"node": ">=8"
},
"browserslist": [
"IE >= 9",
"last 2 versions"
],
"author": "Alexander Janet <alexander.janet@yeutech.vn> (https://github.com/santaclauze)",
"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",
"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",
"styleguide:build": "styleguidist build",
"predemo": "[ -d examples/demo/node_modules ] || npm install --prefix examples/demo",
"demo": "npm start --prefix examples/demo"
},
"repository": {
"type": "git",
"url": "https://github.com/bootstrap-styled/ra-ui.git"
},
"bugs": {
"url": "https://github.com/bootstrap-styled/ra-ui/issues"
},
"keywords": [
"bootstrap",
"bootstrap-styled",
"styled-components",
"react",
"redux",
"react-redux",
"yeutech.vn",
"ra",
"ui",
"ncu",
"@rollup-umd/ncu"
],
"ncurc": {
"reject": [
"ra-core",
"ra-ui-materialui",
"react-admin",
"classnames",
"date-fns",
"inflection",
"lodash",
"node-polyglot",
"query-string",
"ra-language-english",
"react-redux",
"react-router",
"react-router-dom",
"react-router-redux",
"recompose",
"redux",
"redux-form",
"redux-saga",
"reselect",
"@material-ui/core",
"@material-ui/icons",
"autosuggest-highlight",
"react-dropzone",
"react-headroom",
"react-autosuggest",
"material-ui-chip-input",
"papaparse"
]
},
"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",
"as-needed"
],
"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/destructuring-assignment": 0,
"react/require-default-props": 0,
"react/default-props-match-prop-types": 0,
"no-nested-ternary": 0,
"no-shadow": 0,
"react/prop-types": 0,
"react/no-array-index-key": 0
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".mjs"
]
}
}
},
"plugins": [
"react"
]
},
"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.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-async-to-generator": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.3",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@bootstrap-styled/documentation": "^2.0.0",
"@bootstrap-styled/color": "^1.0.9",
"@rollup-umd/build": "^1.0.3",
"@rollup-umd/deploy": "^1.1.0",
"@rollup-umd/documentation": "^2.0.2",
"@rollup-umd/ncu": "^1.0.9",
"@rollup-umd/rollup": "^1.0.10",
"@rollup-umd/test": "^1.0.4",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.10",
"@semantic-release/npm": "^5.1.4",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"babel-loader": "8.0.5",
"babel-merge": "^2.0.1",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-plugin-inline-react-svg": "^1.1.0",
"babel-plugin-react-transform": "^3.0.0",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"cz-conventional-changelog": "^2.1.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"eslint": "5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"exports-loader": "^0.7.0",
"file-api": "^0.10.4",
"istanbul-api": "^2.1.5",
"istanbul-reports": "^2.2.3",
"jest-cli": "^24.7.1",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^8.1.5",
"lodash": "^4.17.11",
"pre-commit": "^1.2.2",
"ra-core": "^2.8.5",
"raf": "^3.4.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "~5.0.7",
"react-router": "~4.2.0",
"react-router-dom": "~4.2.2",
"react-router-redux": "^4.0.8",
"react-test-renderer": "^16.8.6",
"react-transition-group": "^4.0.0",
"redux": "~3.7.2",
"redux-form": "~7.4.0",
"rollup": "^1.10.1",
"semantic-release": "^15.13.3",
"styled-components": "^4.2.0",
"toctoc": "^0.3.2",
"webpack": "4.30.0"
},
"dependencies": {
"@babel/runtime": "^7.4.3",
"@bootstrap-styled/css-mixins": "^2.0.6",
"@bootstrap-styled/provider": "^1.4.2",
"@bootstrap-styled/v4": "^3.0.13",
"@fortawesome/free-solid-svg-icons": "^5.8.1",
"@fortawesome/react-fontawesome": "^0.1.4",
"@material-ui/core": "^1.5.1",
"@material-ui/icons": "^1.1.1",
"autosuggest-highlight": "^3.1.1",
"bootstrap-styled": "^2.4.13",
"classnames": "^2.2.6",
"history": "^4.7.2",
"inflection": "~1.12.0",
"material-ui-chip-input": "1.0.0-beta.6 - 1.0.0-beta.8",
"papaparse": "^4.1.4",
"prop-types": "^15.7.2",
"react-autosuggest": "^9.4.2",
"react-dropzone": "~4.0.1",
"react-headroom": "^2.2.7",
"react-transition-group": "^2.6.0",
"recompose": "~0.26.0",
"reselect": "^3.0.0"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"ra-core": "^2.0.0",
"redux-form": "~7.0.0",
"styled-components": "^4.0.0",
"redux": "~3.0.0",
"react-redux": "~5.0.0",
"@bootstrap-styled/redux": "^1.0.0"
},
"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"
}
},
"greenkeeper": {
"label": "dependency",
"commitMessages": {
"initialBadge": "docs(readme): add Greenkeeper badge",
"initialDependencies": "chore(package): update dependencies",
"initialBranches": "chore(travis): whitelist greenkeeper branches",
"dependencyUpdate": "fix(package): update ${dependency} to version ${version}",
"devDependencyUpdate": "chore(package): update ${dependency} to version ${version}",
"dependencyPin": "fix: pin ${dependency} to ${oldVersion}",
"devDependencyPin": "chore: pin ${dependency} to ${oldVersion}",
"closes": "\n\nCloses #${number}"
}
},
"jest": {
"testURL": "http://localhost",
"roots": [
"<rootDir>/src/"
],
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/lib/"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules",
"<rootDir>/internals"
],
"coverageThreshold": {
"global": {
"statements": 30,
"branches": 30,
"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"
]
},
"declinationId": "bs-redux",
"contributors": [
"Dimitri Kopriwa <dimitri.kopriwa@yeutech.vn> (https://github.com/kopax)"
]
}