https://github.com/zebrajaeger/fe-prototype
https://github.com/zebrajaeger/fe-prototype
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zebrajaeger/fe-prototype
- Owner: zebrajaeger
- Created: 2021-01-13T13:03:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-26T08:24:21.000Z (over 4 years ago)
- Last Synced: 2025-02-07T23:43:02.128Z (3 months ago)
- Language: JavaScript
- Size: 759 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend prototype
## Usage
### Initialize / install dependencies
```bash
yarn install <- recommended
npm install
```### Build
```bash
yarn run fe:build
```### Develop
```bash
yarn run fe:serve
```### Other tasks
Show other tasks
```bash
yarn run gulp --tasks
```Execute another task. Example:
```bash
yarn run gulp clean-all
```
## Config
- default-config.json <- always used
- local-config.json <- overwrite default values (for user specific stuff)### CSS
#### SASS
- https://de.wikipedia.org/wiki/Sass_(Stylesheet-Sprache)
- https://sass-lang.com/#### Autoprefixer
- https://github.com/postcss/autoprefixer
#### Minifizieren
- https://github.com/cssnano/cssnano
#### Zusammenfügen
- https://www.npmjs.com/package/gulp-concat
#### Sourcemaps
- https://developer.mozilla.org/de/docs/Tools/Debugger/How_to/Use_a_source_map
- https://www.npmjs.com/package/gulp-sourcemaps## JS
### Babel
Die Konfiguration ist in der '.babelrc' und der '.browserslistrc' -Datei
- https://babeljs.io/
- https://babeljs.io/docs/en/babel-preset-env
- https://joshwcomeau.com/operator-lookup### Minifizieren
- https://www.npmjs.com/package/gulp-uglify-es
- https://www.npmjs.com/package/terser#### Zusammenfügen
- https://www.npmjs.com/package/gulp-concat
#### Sourcemaps
- https://developer.mozilla.org/de/docs/Tools/Debugger/How_to/Use_a_source_map
- https://www.npmjs.com/package/gulp-sourcemaps## Develop
- https://www.npmjs.com/package/browser-sync