This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# remove this file whenever you don't need it. you need json package to execute the last part. | |
echo 'installing npm dependencies...' | |
npm i -s react react-dom prop-types react-hot-loader | |
echo 'installing npm devDependencies...' | |
npm i -D @babel/cli @babel/core @babel/plugin-syntax-dynamic-import @babel/preset-env @babel/preset-react babel-loader clean-webpack-plugin html-webpack-plugin webpack webpack-cli webpack-dev-server | |
echo 'add scripts to package.json...' | |
json -f package.json -I -e "this.scripts.start=\"webpack-dev-server --mode development --open\"" | |
json -f package.json -I -e "this.scripts.build=\"webpack --mode production\"" |
OlderNewer