generator-simple-react-component
Version:
Create minimal react component skeleton
77 lines (76 loc) • 1.57 kB
JSON
{
"name": "generator-simple-react-component",
"version": "1.1.1",
"description": "Create minimal react component skeleton",
"scripts": {
"test": "mocha",
"lint": "xo"
},
"keywords": [
"yeoman-generator",
"react",
"component"
],
"author": "Fadehelix <fadehelix@gmail.com> (http://fadehelix.github.io)",
"license": "MIT",
"dependencies": {
"gulp-rename": "^1.2.3",
"gulp-replace": "^1.0.0",
"yeoman-generator": "^2.0.5"
},
"main": "generators/app/index.js",
"repository": {
"type": "git",
"url": "https://github.com/fadehelix/generator-simple-react-component.git"
},
"devDependencies": {
"eslint-config-xo": "^0.22.2",
"eslint-config-xo-react": "^0.16.0",
"eslint-plugin-react": "^7.9.1",
"mocha": "^5.2.0",
"rimraf": "^2.6.2",
"xo": "^0.21.1",
"yeoman-assert": "^3.1.1",
"yeoman-test": "^1.7.2"
},
"xo": {
"extends": [
"xo",
"xo-react"
],
"env": {
"jest": true,
"mocha": true
},
"space": true,
"esnext": true,
"rules": {
"unicorn/filename-case": [
"warn",
{
"case": "pascalCase"
}
],
"import/no-unassigned-import": [
"error",
{
"allow": [
"**/*.css"
]
}
],
"import/no-extraneous-dependencies": [
"warn"
],
"react/forbid-component-props": [
"error",
{
"forbid": [
"className",
"style"
]
}
]
}
}
}