Commit Graph

137 Commits

Author SHA1 Message Date
Ethan Cohen
90d49f83d5 [dependency] - Add select eslint-plugin-jsx-a11y rules to lint config. (#175)
This project is a really good use case to apply some accessibility
rules to the lint config. For beginners getting started with React, we
can also teach/enforce basic accessibility rules in the web at author
time.

For now, I’ve just applied to the rules that are listed in
`eslint-config-airbnb` because these are most real-world tested, and we
can continue to add.

Happy to help if there are any questions/issues/concerns about the
plugin!
2016-07-25 18:43:53 +01:00
Conor Hastings
10eae80ead add node engine to package.json and call checkNodeVersion function in cli (#88) 2016-07-23 08:17:58 -07:00
eanplatter
9c31d4f916 Fix dependency issue (#75) 2016-07-22 07:08:07 -07:00
eanplatter
ad2550f70e Recursively copy the template folder (#74)
* Recursively copy the template folder

* add fs-extra library
2016-07-22 06:42:46 -07:00
Dan Abramov
938ff9daa6 Misc fixes for Windows (#60) 2016-07-21 16:44:57 +01:00
Dan Abramov
e0558bc4c6 Use a single script (#57)
It is easier to add more scripts later this way.
2016-07-21 15:02:27 +01:00
Dan Abramov
bc6f4e199c Tweak conventions and fix example 2016-07-21 05:57:21 +01:00
Dan Abramov
e563b209c7 Fix local development paths (#52)
Local npm start and npm run build got broken by #33
2016-07-21 05:49:56 +01:00
eanplatter
a6edb523a8 Add README to generated project. (#33)
* Add README to generated project

* add logo.svg

* syntax cleanup
2016-07-21 05:05:41 +01:00
Dan Abramov
9df1c2ff16 Make errors and warnings nicer (#50)
* Make errors and warnings nicer

* Fix license stripping to not be eager

* Minor tweaks
2016-07-21 05:04:57 +01:00
Dan Abramov
9652973e64 Optimize the production build (#49)
Inspired by react-boilerplate setup
2016-07-20 22:02:12 +01:00
Dan Abramov
29ac0ed5a0 Lock dependencies 2016-07-20 19:39:25 +01:00
Dan Abramov
b91bf6675d Add support for some ES proposals that we use (#43) 2016-07-20 18:15:49 +01:00
Dan Abramov
c11b5c2659 Try using bundledDependencies (#41) 2016-07-20 17:12:46 +01:00
Dan Abramov
133184fbb2 Add more info to package.json (#39) 2016-07-20 15:17:02 +01:00
Max
3dea46d893 Add repository and license field to package.json
Ref #25
2016-07-20 15:06:55 +01:00
Dan Abramov
3d77f5be20 Use a custom ESLint rule list (#27)
* Use a custom eslint rule list

* Sort rules

* Relax some rules
2016-07-20 00:12:49 +01:00
Dan Abramov
a73ebe8e2c Move configs to a separate folder (#23) 2016-07-19 14:00:41 +01:00
Christopher Chedeau
862900d94f s/create-react-app-scripts/react-scripts/ 2016-07-18 15:17:59 -07:00
eanplatter
bc18c18e02 wrap eject around prompt (#12) 2016-07-18 15:17:57 -07:00
Jonny Buchanan
27fa8c82dc Fix running npm install from create-react-app command and init script on Windows (#6) 2016-07-18 15:17:57 -07:00
Jonny Buchanan
a00e1e6dd3 Use opn to open the default browser in a cross-platform way (#4) 2016-07-18 15:17:57 -07:00
Dan Abramov
9a98851622 Use rimraf as it handles edge cases 2016-07-18 15:17:57 -07:00
Max
f9fe9ff942 Move index.html to root folder 2016-07-18 15:17:57 -07:00
Dan Abramov
b29572ffa4 Add "files" whitelists to package.json 2016-07-18 15:17:56 -07:00
Dan Abramov
cb0ada7a00 Make it work outside its own directory 2016-07-18 15:17:56 -07:00
Dan Abramov
2987cc69b9 Get graduate working 2016-07-18 15:17:56 -07:00
Dan Abramov
d2130d2b3e Tweak wording and make package.json scripts less obnoxious 2016-07-18 15:17:56 -07:00
Christopher Chedeau
9642700a32 add npm run create-react-app alias 2016-07-18 15:17:55 -07:00
Christopher Chedeau
6987b80937 Make the end to end install flow work :)) 2016-07-18 15:17:55 -07:00
Christopher Chedeau
714971cccc Move all the scripts to the scripts/ folder and use them from the scripts section of package.json 2016-07-18 15:17:55 -07:00
Christopher Chedeau
f0c3888779 .
Summary:

Test Plan:

Reviewers:

CC:

Task ID: #
2016-07-18 15:17:55 -07:00
Dan Abramov
d0c25cb725 Support statics 2016-07-18 15:17:55 -07:00
Christopher Chedeau
2305bf2397 Initial version of the global cli
Test Plan:

```
npm pack
node global-cli/index.js testing --scripts-version /Users/vjeux/random/react-getting-started/create-react-app-scripts-0.0.1.tgz
```

make sure it shows

```
Creating the app testing at /Users/vjeux/random/react-getting-started/testing
```
2016-07-18 15:17:55 -07:00
Dan Abramov
9800d05316 Add linting and nicer output 2016-07-18 15:17:55 -07:00
Dan Abramov
86fa5b3f78 Add some "basic" configuration 2016-07-18 15:17:54 -07:00
Christopher Chedeau
9c72b8137c Initial commit with webpack and css/autoprefixer working 2016-07-18 15:17:54 -07:00