package
Tools for creating V4Fire blocks and pages from CLI
npm install v4fire-cliGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Tools for creating V4Fire blocks and pages from CLI
v4fire -hTBD
TBD
v4fire make-test src/base/b-sliderYou can generate test files for both component and module. The tool also will take care of updating demo-page dependencies and adding new test cases to test cases file.
For both component and module the tool generates test/index.js file
that performs basic test setup and executes simple test.
In case of module test, the tool relies on b-dummy component
designed specifically for testing purposes.
You can specify which runners you want to be included in test directory. By default, there are no runners
and all test code locates in the test/index.js file. So if you'd like to have different runners for your test cases,
you can specify them just after the path to module or component being tested.
v4fire make-test src/base/b-slider analytics render eventsFor each specified runner the tool will create test/runner/runner-name file. Here is the example
of runner template for a module.
In this case generated test/index.js file will include only test setup and all test evaluation code will be moved to runners.
Estimated unpacked size across 61 packages.
556.7 MB+
Includes dependencies.
7 direct · 5 outdated
^4.1.0
6.0.1
^15.4.1
18.2.0
^9.0.1
11.4.1
3.9.7
7.0.2
^3.24.0
3.101.3
^3.0.0-rc.59
3.75.2
^1.5.5
2.8.0