Update README.md

This commit is contained in:
Garrone Joseph 2021-02-27 22:36:28 +01:00 committed by GitHub
parent 8b99037a21
commit 716bba4dd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,10 +90,9 @@ The publishing will actually be performed only if ``npm test`` passes.
# Few things you need to be aware of before getting started # Few things you need to be aware of before getting started
- You probably want to "Use this template" ( the green button ) instead of forking the repo.
- The files to include in the NPM bundle are cherry-picked using the ``package.json`` ``files`` field. - The files to include in the NPM bundle are cherry-picked using the ``package.json`` ``files`` field.
If you don't want to bother and includes everything just remove the ``files`` field from the ``package.json``. If you don't want to bother and includes everything just remove the ``files`` field from the ``package.json``.
- If you are going to programmatically load files outside of the ``dis/`` directory ( like the ``package.json`` or files inside ``res/`` ) be mindful that the paths might not be the one you expect. [Details](#accessing-files-outside-the-dist-directory). - If you are going to programmatically load files outside of the ``dist/`` directory ( like the ``package.json`` or files inside ``res/`` ) be mindful that the paths might not be the one you expect. [Details](#accessing-files-outside-the-dist-directory).
- The template does not support ``.npmignore`` ( it use the safer ``package.json`` ``files`` instead ). - The template does not support ``.npmignore`` ( it use the safer ``package.json`` ``files`` instead ).
- The template does not support ``.npmrc``. - The template does not support ``.npmrc``.
@ -168,7 +167,7 @@ Twitter or Reddit you don't get your GitHub profile picture to show up.
[Prettier](https://prettier.io) is opinionated, it is OK to want to break free from it. [Prettier](https://prettier.io) is opinionated, it is OK to want to break free from it.
Remove these ``package.json``'s ``scripts``: Remove these ``scripts`` from ``package.json``:
- ``_format`` - ``_format``
- ``format`` - ``format``
- ``format:check`` - ``format:check``