forked from jasder/antlr
fix: npm build is not a valid command
This commit is contained in:
parent
07aaf5fc63
commit
4b4aa68be3
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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!
|
||||||
|
|
Loading…
Reference in New Issue