Open malept opened 7 years ago
Hi @malept !
It could be a good idea, I'll check this.
EDIT : The only thing I have to do is to add this export in my index.js ?
const path = require('path');
module.exports = {
dependencies: ['jquery', 'bootstrap','semantic-ui','angular','angular-route','animate.css','angular-translate','font-awesome', 'electron-compile'], // Production Dependencies
devDependencies: ['babel-cli','babel-preset-stage-0','del','electron-prebuilt-compile','eslint','eslint-config-airbnb','eslint-plugin-import','eslint-plugin-jsx-a11y','eslint-plugin-react','glob','gulp','gulp-angular-templatecache','gulp-angular-translate-extractor','gulp-autoprefixer','gulp-bump','gulp-bytediff','gulp-concat','gulp-debug','gulp-filter','gulp-header','gulp-if','gulp-imagemin','gulp-inject','gulp-jscs','gulp-jshint','gulp-less','gulp-load-plugins','gulp-minify-css','gulp-minify-html','gulp-ng-annotate','gulp-nodemon','gulp-order','gulp-plumber','gulp-print','gulp-rev','gulp-rev-replace','gulp-sass','gulp-sourcemaps','gulp-task-listing','gulp-uglify','gulp-useref','gulp-util', 'wiredep'
], // Development Dependencies
templateDirectory: path.resolve(__dirname, './.tmp'), // Absolute path to a directory containing template files
postCopy: (initDir, ora, lintStyle) => {
},
};
Hi! I'm one of the maintainers of Electron Forge.
Have you considered converting this starter kit to be a custom Electron Forge template? I think everything you're currently doing can be converted, including the
postinstall
commands into thepostCopy
callback.