kacperfaber / kacperfaber-app

🎈 Source code for my website - kacperfaber.pl 🎈

Home Page:https://kacperfaber.pl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kacperfaber.pl

build publish

🎈 Source code for kacperfaber.pl. 🎈
Written with ❀ in TypeScript and React

Installation

git clone https://www.github.com/kacperfaber/kacperfaber-app && cd kacperfaber-app

Setup project

npm ci

Run locally

# Run developer profile with default configuration.
# Default configuration is defined in webpack.config.dev.js
npm run run-dev

Build

Production

First we have to run default TypeScript compilation.

npx tsc

Make bundle using webpack

# specify 'env' parameters to configure links.
# $ github: Url to github profile
# $ twitter: Url to twitter profile
# $ stackoverflow: Url to stackoverflow profile
# $ emailTo: Contact email address, must start with mailto.
# $ contactEmail: Contact email will be rendered under the 'Kacper Faber'
npx webpack --config webpack.config.prod.js

If env parameter is not specified, link won't be rendered by React.

Folder ./www is ready to be published.

Author

Kacper Faber

About

🎈 Source code for my website - kacperfaber.pl 🎈

https://kacperfaber.pl


Languages

Language:TypeScript 88.2%Language:JavaScript 9.6%Language:HTML 2.2%