Views: 1650
Last Modified: 08.04.2022
Description
@bitrix/cli is a Bitrix24 developer console tool. The main purpose is to simplify and automate frontend development for Bitrix24 projects.
The following are requirements for normal operation, versions:
Node: 9.11.2
NPM: 5.6.0.
@bitrix/cli is a set of console commands:
bitrix build
for building and
transpiling
Transpiling is a process of interpreting certain programming languages and translating it to a specific target language.
ES6+ code into the cross-browser ES5;
bitrix test
for launching
Mocha
Mocha is a JavaScript test framework that can be launched both at node.js, and in browser; convenient for asynchronous testing. Mocha tests are launched serially, allowing to create reports flexibly and precisely.
Learn more...
-tests;
bitrix create
for quick creating of
extension
Extension is a method of organizing JS and CSS code in software.
Learn more...
.
Note: first, @bitrix/cli is designed for handling extensions, site templates and component templates.
Installation
Launches Mocha tests and displays a detailed report with test results.