mirror of
https://github.com/gchq/CyberChef
synced 2026-01-14 22:43:31 +00:00
Updated Getting started (markdown)
@@ -16,12 +16,6 @@ npm will then install all the dependencies needed by Grunt.
|
||||
|
||||
Grunt has been configured with several tasks to aid in the development process:
|
||||
|
||||
```
|
||||
grunt prod
|
||||
```
|
||||
> When you are ready to create a production build, run this command. It will lint, test, compile and compress all the source files and create a production-ready build in `build/prod`. It will also create the inline version of CyberChef at the same location, called `cyberchef.htm`.
|
||||
|
||||
|
||||
```
|
||||
grunt dev
|
||||
```
|
||||
@@ -30,6 +24,12 @@ grunt dev
|
||||
> Note: This task will initially result in an error relating to the `MetaConfig.js` file but will quickly rebuild and should complete successfully. This is due to the `MetaConfig.js` file being built at the same time as the rest of the app and therefore not being available for compilation immediately.
|
||||
|
||||
|
||||
```
|
||||
grunt prod
|
||||
```
|
||||
> When you are ready to create a production build, run this command. It will lint, test, compile and compress all the source files and create a production-ready build in `build/prod`. It will also create the inline version of CyberChef at the same location, called `cyberchef.htm`.
|
||||
|
||||
|
||||
```
|
||||
grunt node
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user