silverstone
Highly customisable Electron boilerplate and CLI tool utilising concurrent builds featuring React, Typescript, TailwindCSS and others.
Concurrent webpack script runner
- React
- Electron
- TypeScript
- TailwindCSS
- Webpack
- Babel
- PostCSS
To use silverstone on a new project. Simply fork this repository and download it to your machine.
npm i --production=false
The --production-false argument must be present in order to install devDependencies listed in package.json.
Build
npx sstn build <env-config> <target-configs?>
example
npx sstn build development electron-main,electron-renderer
By default the config.json as a group named DEFAULT which allows for ommision of the target-configs in the build command. e.g.
{
"groups": {
"DEFAULT": {
"configs": ["electron-main","electron-preload","electron-renderer"]
}
}
}npx sstn build development
will build the electron-main, electron-preload, and electron-renderer with the development configuration merged.
blah blah