* format UglifyJs error
* move formatBuildError to react-dev-utils
* fix readme
* use regex for plucking the path from stack
* make path human readable and fallback to show error if regex not matched
* rename to printBuildError and add link to the docs
* fix link indentation
* improve readibility + shorten link
* Add json and css to lint-staged in template README
This changes the proposed way about using prettier inside the README.md, because prettier supports css since the 1.4.0 release and json since the 1.5.0 release.
Was not sure if it was a good idea to add different regexes for json and css inside the README.md don't have a real opinion about it myself, could maybe easier for starters to do so if they wan't to add things like eslint or stylelint the the commit hooks.
* Use capitalization for Javascript, CSS and JSON
* Change 'Javascript to JavaScript'
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
Due to many of the other examples in the README showing both `npm` and `yarn` commands.
I have added an example of how to install a dependency using `yarn`.
Simplified steps for deploying app to `now` as a static site. No need to `serve` script in `package.json` file. As of May 15, 2017, all static deployments on `now` are free and unlimited.
* Uncomment merged PRs
* Switch to br
* Update some webpack links
* Add a little about section for PWA
* oops
* fast on subsequent visits
* Add manual proxy config instructions
* hint package.json
* Change to js for comments
* Tune wording
* sw-precache-webpack-plugin, SW registration, manifest.json
* Documentation + a few SW tweaks.
* Added an unregister method, too, just in case.
* More info for the READMEs.
* Add minify to SWPrecacheWebpackPlugin config
* Fix SWPrecacheWebpackPlugin typo
* Fix file references in READMEmd
* Add instructions for testing service-worker locally
* Review feedback
* Some additional PWA metadata
* Use sw-precache-webpack-plugin v0.9.1 for node >=4.0.0 support
* Review feedback.
* Add manifest.json context in a comment.
* Fix typo
* Downgrade to sw-precache-webpack-plugin 0.9.1
* Hide changes in README until 1.0
* Hide changes in User Guide until 1.0
* Hide more docs
* Support node scripts in BROWSER
Modify OpenBrowser.js to run node scripts specified with the BROWSER environment
variable . If the value of the BROWSER environment variable ends with '.js' a
child process is spawned to execute the script with node.js. Any
arguments passed to npm start are also passed to this script, as well as
the url where the app is served.
The command executed in the child process is:
node <pathToScript> [OPTIONS] <url>
Update User Guide.
* Tweak code style
* Pin dep
* Comment out 0.10 docs