From 4b4aa68be3310d38c4fb866e2bb800c727be22eb Mon Sep 17 00:00:00 2001 From: Camilo Roca Date: Sat, 8 Feb 2020 15:14:10 +0100 Subject: [PATCH] fix: npm build is not a valid command --- doc/releasing-antlr.md | 2 +- runtime/JavaScript/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/releasing-antlr.md b/doc/releasing-antlr.md index 3c647860f..cd1d0b9b4 100644 --- a/doc/releasing-antlr.md +++ b/doc/releasing-antlr.md @@ -292,7 +292,7 @@ npm publish antlr4 Move target to website ```bash -npm build +npm run build cp /dist/antlr4.js ~/antlr/sites/website-antlr4/download ``` diff --git a/runtime/JavaScript/README.md b/runtime/JavaScript/README.md index a30268164..0cce215fd 100644 --- a/runtime/JavaScript/README.md +++ b/runtime/JavaScript/README.md @@ -27,7 +27,7 @@ That's it! ### to browser 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. That's it!