Start
This commit is contained in:
commit
c4cdd3bd39
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
client/build
|
1
client/src/index.html
Normal file
1
client/src/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
Hello World!
|
1
client/src/index.js
Normal file
1
client/src/index.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
alert("Hello World 2");
|
16
client/webpack.config.js
Normal file
16
client/webpack.config.js
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
var path = require("path");
|
||||||
|
var HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||||
|
var webpack = require("webpack");
|
||||||
|
module.exports = {
|
||||||
|
context: path.join(__dirname, "src"),
|
||||||
|
entry: "./index.js",
|
||||||
|
output: {
|
||||||
|
path: path.join(__dirname, "build"),
|
||||||
|
filename: "app.js"
|
||||||
|
},
|
||||||
|
plugins: [
|
||||||
|
new HtmlWebpackPlugin({
|
||||||
|
template: "./index.html"
|
||||||
|
})
|
||||||
|
]
|
||||||
|
}
|
24
package.json
Normal file
24
package.json
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "crypto-assist",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "webpack --config client/webpack.config.js",
|
||||||
|
"build-dev": "webpack --config client/webpack.config.js --watch --progress --colors"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://TimStallard@github.com/TimStallard/CryptoAssist.git"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "UNLICENCED",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/TimStallard/CryptoAssist/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/TimStallard/CryptoAssist#readme",
|
||||||
|
"devDependencies": {
|
||||||
|
"html-webpack-plugin": "^2.28.0",
|
||||||
|
"webpack": "^2.2.1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user