fix: npm build is not a valid command

This commit is contained in:
Camilo Roca 2020-02-08 15:14:10 +01:00
parent 07aaf5fc63
commit 4b4aa68be3
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ npm publish antlr4
Move target to website Move target to website
```bash ```bash
npm build npm run build
cp /dist/antlr4.js ~/antlr/sites/website-antlr4/download cp /dist/antlr4.js ~/antlr/sites/website-antlr4/download
``` ```

View File

@ -27,7 +27,7 @@ That's it!
### to browser ### to browser
To publish antlr4 for browser usage you need to bundle it into a single To publish antlr4 for browser usage you need to bundle it into a single
file with `npm build`. This will create `dist/antlr4.js` file. Upload it file with `npm run build`. This will create `dist/antlr4.js` file. Upload it
to your favourite server. to your favourite server.
That's it! That's it!