@manomano/macgyver
v3.1.0
Published
Manomano cli interface
Downloads
136
Keywords
Readme
Macgyver
- Command Line Interface that bootstraps a project according to the manomano front configuration.
By default, the entry point is src/index.js and anything inside public folder will be bundled.
The generated output will be placed inside build folder.
Available commands
start
{
"scripts": {
"start": "macgyver start"
}
}build
{
"scripts": {
"build": "macgyver build"
}
}options
--analyze Analyze the generated bundle.
--platform Sets the current platform. Must correspond with one platform name inside manoconfig.platforms
test
{
"scripts": {
"test": "macgyver test"
}
}This command runs all the tests of the application, using your jest.config.js or @manomano/jest-config by default.
rollup
{
"scripts": {
"build:lib": "macgyver rollup"
}
}This command builds the packages in order to be published.
e2e
{
"scripts": {
"e2e": "macgyver e2e"
}
}This command boots up the e2e environment, using @manomano/rollup package.
