iamao / react-raise Goto Github PK
View Code? Open in Web Editor NEWA cli kit for creating react applications
License: MIT License
A cli kit for creating react applications
License: MIT License
Feature
Currently the project does not generate a package.json file
N/A
After setup information have been collected, a package.json file should be generated using that information
N/A
Feature, bug
Currently there is no way for react-raise
to know the base directory in order to create files in the project directory.
What it does instead is create the project inside react-raise folder
N/A
It should get the current base directory and create project in that directory
N/A
Feature
currently I can only create a new react application
N/A
I should be able to create a new component by typing something like:
$ raise component -C Dashboard
-C
is connected. i.e I intend to make Dashboard a container component. It then generates Dashboard and connects it to the redux storeDashboard
is the name of the component-C
is not provided then it is a presentational component by defaultN/A
Feature
There is no sample webpack config to follow
N/A
There should be a sample webpack config file to build from
N/A
Feature
Currently the command just generates empty files
N/A
It should populate generated files with a sample template
for example if generating a react component, it should add the following template:
import React from 'react';
/**
* Home view of the project
* @class
*/
class Home extends React.Component {
/**
* render lifecycle of the component, 'renders' the component
* to the DOM.
* @returns{Object} react component to render
*/
render() {
return (<h1>Home</h1>);
}
}
export default Home;
N/A
Feature and bug
Currently generated files are empty
N/A
Generated files should have a starter template in them.
If a file like Home.component.js
is generated, then it should contains something along the lines of:
import React from 'react';
/**
* Home view of the project
* @class
*/
class Home extends React.Component {
/**
* render lifecycle of the component, 'renders' the component
* to the DOM.
* @returns{Object} react component to render
*/
render() {
return (<h1>Home</h1>);
}
}
export default Home;
In this case all that I need to do is add my own methods and implementations.
N/A
Feature & Bug
Currently it just installs express and its dependencies when a user selects to use with express
N/A
It should set up a basic express server when the use chooses so.
N/A
Feature
Currently there are no continous integrations
N/A
Continous integrations should check for code breaks and code quality
N/A
Feature
There is no way to build the actual folder structure from the schema provided
N/A
There should be a way to render the folder schema structure provided
For example, if the schema provided is:
{ src: [
{ actions: ['index.js'] }
]
}
Then it should create a file structure like:
/app
/src
/actions
index.js
N/A
feature
Currently react-raise has no definite structure to use to create a react file structure
N/A
There should be a consistent file structure that react-raise will use to render and generate a new react application
Example:
{ app: [
{
src: [{
components: [...],
'index.js'
}]
//...
]
}
Where the object keys that are arrays are folders and strings are files.
N/A
Chore
Currently the documentation is very limited
The documentation should be split into two:
N/A
Feature
A .babelrc file is currently not generated
N/A
After user answers setup questions, a .babelrc
file should be generated
using the presets:
And the plugins:
N/A
Feature
Currently there is no compiled list of dependencies
N/A
There should be a list of dependencies that will enable react-raise to create a package.json
that contains those dependencies
N/A
Feature
Currently there are no dependencies for the express server
N/A
It should have dependencies for express in case the user wants to build with express server
N/A
feature
Currently there are no code linters in the project
N/A
N/A
Feature
Currently the project does not handle any cli argument
N/A
Command line arguments should be parsed.
For example, if I type:
$ raise new app
Then it should know I wish to create a new react application
List of cli args:
new
- create new react app
component
- create new component
action
- create new action
reducer
- create new reducer
test:e2e
- create new e2e test spec
test:component
- create new component test spec
test:action
- create new action test spec
test:reducer
- create new reducer test spec
N/A
Bug
Currently I can type anything as my main entry file. It should not be so
N/A
I should only be allowed to use javascript files as my main entry in package.json.
If i type in something without a js extension then I should get an error
or better yet if it should append the .js for me.
N/A
Feature
Currently it show nothing
N/A
It should render a graphical 'React Raise' on start up
N/A
Feature
Currently, a webpack config file is not generated
N/A
A webpack.config.js should be auto generated with information from the webpack smple config.
N/A
Feature
Currently the only way to start react-raise is by navigating to the directory and run:
$ node index.js
N/A
I should be able to create a react app in any directory on my filesystem by running a command.
$ raise new <app name>
$ raise --help
or $ raise -h
$ raise -v
or $ raise --version
N/A
Feature
Currently nothing happens when a user starts the command
N/A
It should prompt me for the following questions:
N/A
Feature
Currently nothing happens when you pass in the new argument
N/A
A new react app and structure should be created if I pass in new
as the first argument
I.E if i type:
$ raise new awesome-app
Then I should get a bootstrapped react application
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.