1.0.0 • Published 4 years ago
@gideonmax/electron-ts-init v1.0.0
electron-ts-init
A CLI tool for initializing an electron project with TypeScript and electron-builder
installation and usage
To install run npm i -g electron-ts-init
To initialize a project run
electron-ts-init
or
eti
optional flags:
--git if set, project will have git integration (currently just edits the .gitignore file)
--ghost if set, logo will look ghosty, purely cosmetic
--scope=<scope> if set, npm init will initialize using the given scope
To start your project run npm start
\
To package your project into an installer run npm run package
, the installer will be found in the dist
folder\
The project is initialized with a rudimentary app, you should try to start it to ensure that everything works correctly.\
If you find that these scripts are not working, you might have ignore-scripts
set to true, if it is, run npm config set ignore-scripts false
to turn it off.