UNPKG

create-kf-component

Version:

create-kf-component is a cli tool that scaffolds Javascript based custom component projects that seamlessly integrate into Kissflow.

30 lines (25 loc) 725 B
const renames = { _gitignore: '.gitignore', '_package.json': 'package.json', '_README.md': 'README.md', '_settings.json': 'settings.json', 'form-field.config.ejs': 'form-field.config.js', _npmrc: '.npmrc', '_eslintrc.cjs': '.eslintrc.cjs', _gitkeep: '.gitkeep', _prettierrc: '.prettierrc', } // Update the _prettierrc file as well if you // are updating this config... const prettierConfig = { trailingComma: 'es5', tabWidth: 4, semi: false, singleQuote: true, } const PROJECT_TARGETS = { FORM_FIELD: 'form-field', PAGE: 'page', } const BINARY_FILE_EXTENSIONS = ['png', 'jpg', 'jpeg'] export { renames, prettierConfig, PROJECT_TARGETS, BINARY_FILE_EXTENSIONS }