UNPKG

framework7-cli

Version:
58 lines (45 loc) 696 B
const templateIf = require('./template-if'); module.exports = (options) => { const { bundler, type, } = options; return ` # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* # Runtime data pids *.pid *.seed *.pid.lock # Dependency directories node_modules/ # Optional npm cache directory .npm # Optional eslint cache .eslintcache # Optional REPL history .node_repl_history # Yarn Integrity file .yarn-integrity # dotenv environment variables file .env # Misc .DS_Store Thumbs.db ${templateIf(type.indexOf('cordova') >= 0, () => ` # Cordova cordova/platforms/ cordova/plugins/ cordova/www/ `)} ${templateIf(bundler, () => ` # Production build www/ `)} `; };