add-react-fn-component
Version:
Create a react component in your '/src' or '/src/components' directory from the command-line by specifying the components name and HTML element. You can choose to create the component using styled-components boilerplate or an external css importing to the
32 lines (31 loc) • 933 B
JSON
{
"name": "add-react-fn-component",
"version": "1.6.3",
"description": "Create a react component in your '/src' or '/src/components' directory from the command-line by specifying the components name and HTML element. You can choose to create the component using styled-components boilerplate or an external css importing to the .jsx file. You must be in the /src directory to run the script",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"add-component": "node index.js"
},
"bin": "./index.js",
"keywords": [
"react",
"tool",
"function",
"component",
"styled-components",
"cli",
"terminal",
"boiler-plate"
],
"repository": {
"type": "git",
"url": "https://github.com/sommcoder/add-react-component"
},
"author": "Brian Davies",
"license": "ISC",
"dependencies": {
"inquirer": "^9.1.4"
}
}