Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 88344ec

Browse files
first commit
0 parents commit 88344ec

21 files changed

+717
-0
lines changed

‎README.md‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Webpack Frontend Starterkit
2+
3+
[![Dependabot badge](https://flat.badgen.net/dependabot/wbkd/webpack-starter?icon=dependabot)](https://dependabot.com/)
4+
5+
A lightweight foundation for your next webpack based frontend project.
6+
7+
8+
### Installation
9+
10+
```
11+
npm install
12+
```
13+
14+
### Start Dev Server
15+
16+
```
17+
npm start
18+
```
19+
20+
### Build Prod Version
21+
22+
```
23+
npm run build
24+
```
25+
26+
### Features:
27+
28+
* ES6 Support via [babel](https://babeljs.io/) (v7)
29+
* SASS Support via [sass-loader](https://github.com/jtangelder/sass-loader)
30+
* Linting via [eslint-loader](https://github.com/MoOx/eslint-loader)
31+
32+
When you run `npm run build` we use the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) to move the css to a separate file. The css file gets included in the head of the `index.html`.

‎package.json‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"name": "webpack-starter",
3+
"version": "1.0.0",
4+
"description": "A light foundation for your next frontend project based on webpack.",
5+
"scripts": {
6+
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.prod.js --colors",
7+
"start": "webpack-dev-server --open --config webpack/webpack.config.dev.js"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/wbkd/webpack-starter.git"
12+
},
13+
"keywords": [
14+
"webpack",
15+
"startkit",
16+
"frontend",
17+
"es6",
18+
"javascript",
19+
"webdev"
20+
],
21+
"author": "webkid.io",
22+
"license": "MIT",
23+
"bugs": {
24+
"url": "https://github.com/wbkd/webpack-starter/issues"
25+
},
26+
"devDependencies": {
27+
"@babel/core": "^7.11.0",
28+
"@babel/plugin-proposal-class-properties": "^7.10.4",
29+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
30+
"@babel/preset-env": "^7.11.0",
31+
"babel-eslint": "^10.1.0",
32+
"babel-loader": "^8.1.0",
33+
"clean-webpack-plugin": "^3.0.0",
34+
"copy-webpack-plugin": "^6.0.3",
35+
"cross-env": "^7.0.2",
36+
"css-loader": "^4.2.0",
37+
"eslint": "^7.6.0",
38+
"eslint-loader": "^4.0.2",
39+
"file-loader": "^6.0.0",
40+
"html-loader": "^1.1.0",
41+
"html-webpack-plugin": "^4.3.0",
42+
"mini-css-extract-plugin": "^0.9.0",
43+
"node-sass": "^4.14.1",
44+
"sass-loader": "^9.0.2",
45+
"style-loader": "^1.2.1",
46+
"webpack": "^4.44.1",
47+
"webpack-cli": "^3.3.12",
48+
"webpack-dev-server": "^3.11.0",
49+
"webpack-merge": "^5.0.9"
50+
},
51+
"dependencies": {
52+
"@babel/polyfill": "^7.10.4",
53+
"core-js": "^3.6.5",
54+
"victor": "^1.1.0"
55+
}
56+
}

‎public/.gitkeep‎

Whitespace-only changes.

‎src/fonts/PierSans-Black.otf‎

25.6 KB
Binary file not shown.

‎src/fonts/PierSans-BlackItalic.otf‎

27.5 KB
Binary file not shown.

‎src/fonts/PierSans-Bold.otf‎

24.8 KB
Binary file not shown.

‎src/fonts/PierSans-BoldItalic.otf‎

26.6 KB
Binary file not shown.

‎src/fonts/PierSans-Italic.otf‎

26.4 KB
Binary file not shown.

‎src/fonts/PierSans-Light.otf‎

24.8 KB
Binary file not shown.

‎src/fonts/PierSans-LightItalic.otf‎

27.3 KB
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /