@omni-door/tpl-component-library-react
Version:
The React component-library-react project template
8 lines (7 loc) • 945 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(config) {
var name = config.name, configFileName = config.configFileName;
return "# " + name + "\n\n## Run your project\n\n```sh\nnpm start\n```\nor\n```sh\nnpm run dev\n```\n\n## Create a Component by the Template\n\n### Class Component\n```sh\nnpm run new [componentName]\n```\n\n### Functional Component\n```sh\nnpm run new [componentName] -- -f\n```\n\n## Build your project\n\n```sh\nnpm run build\n```\n\n### Ignore pre-check\n```sh\nnpm run build -- -n\n```\n\n## Release your project\n\n```sh\nnpm run release\n```\n\n### Ignore automatic iteration of version\n```sh\nnpm run release -- -i\n```\n\n### Manual iteration of version\n```sh\nnpm run release -- -m 0.3.25\n```\n\n### Ignore pre-check\n```sh\nnpm run release -- -n\n```\n\n**More powerful customizations is in [" + configFileName + "]**\n";
}
exports.default = default_1;