Skip to content

Commit 3e0c0a3

Browse files
authored
Merge pull request #1 from statikstack/develop
Add starter kit
2 parents d1e4317 + a5fb82d commit 3e0c0a3

27 files changed

+477
-5
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"extends": ["plugin:prettier/recommended"],
33
"env": {
44
"es6": true
5+
},
6+
"parserOptions": {
7+
"sourceType": "module"
58
}
69
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ typings/
7171

7272
# Serverless directories
7373
.serverless
74+
75+
# webpack build output
76+
dist

package.json

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"src"
1313
],
1414
"scripts": {
15-
"lint": "eslint src/**/*.js",
16-
"start": "node src/index.js"
15+
"build": "webpack --env.mode=prod",
16+
"lint": "eslint statik/**/*.js",
17+
"start": "webpack-dev-server --env.mode=dev"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -22,12 +23,35 @@
2223
"bugs": {
2324
"url": "https://github.com/statikstack/html-less-javascript-webpack/issues"
2425
},
25-
"dependencies": {},
26+
"dependencies": {
27+
"normalize.css": "8.0.0"
28+
},
2629
"devDependencies": {
27-
"eslint": "5.0.1",
30+
"autoprefixer": "9.0.0",
31+
"babel-core": "6.26.3",
32+
"babel-loader": "7.1.5",
33+
"babel-preset-env": "1.7.0",
34+
"clean-webpack-plugin": "0.1.19",
35+
"css-loader": "1.0.0",
36+
"eslint": "5.1.0",
2837
"eslint-config-prettier": "2.9.0",
2938
"eslint-plugin-prettier": "2.6.2",
30-
"prettier": "1.13.7"
39+
"file-loader": "1.1.11",
40+
"html-loader": "0.5.5",
41+
"html-webpack-plugin": "3.2.0",
42+
"image-webpack-loader": "4.3.1",
43+
"less": "3.7.1",
44+
"less-loader": "4.1.0",
45+
"mini-css-extract-plugin": "0.4.1",
46+
"optimize-css-assets-webpack-plugin": "5.0.0",
47+
"postcss-loader": "2.1.6",
48+
"prettier": "1.13.7",
49+
"style-loader": "0.21.0",
50+
"uglifyjs-webpack-plugin": "1.2.7",
51+
"webpack": "4.16.1",
52+
"webpack-cli": "3.1.0",
53+
"webpack-dev-server": "3.1.4",
54+
"webpack-merge": "4.1.3"
3155
},
3256
"license": "MIT"
3357
}

src/index.js

Whitespace-only changes.
17.9 KB
Binary file not shown.
14.2 KB
Binary file not shown.
18 KB
Binary file not shown.
14.4 KB
Binary file not shown.
18.2 KB
Binary file not shown.
14.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)