Updated Getting started (markdown)
parent
49f13ca49e
commit
4030dc6b34
@ -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 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
|
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.
|
> 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
|
grunt node
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user