0.70.3 • Published 4 years ago

@albertli90/react-electron-scripts v0.70.3

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

@albertli90/react-electron-scripts

version license

A scaffolding module for an electron app via react in ts

Setup and tasks supported

    # install dependencies if skipped before
    yarn install
    
    # clean building directory for the workspace
    yarn clean

    # start dev server
    yarn start
    
    # bundle and build the js codes for production
    yarn build
    
    # run all unit test cases
    yarn test
    
    # eject all scaffolding files
    yarn eject
    
    # conditionally run all end2end test cases; this task expects bundle files to be built in advance at directory build 
    yarn e2e

    # bundle and build the js codes and package into binaries for production
    yarn package

    # bundle and build the js codes and package into binaries with directories for production
    yarn package:dir
    
    # lint all source codes
    yarn lint
    
    # prettify all source codes 
    yarn prettify

This package includes scripts and configuration used by al-cli.