add preact with webpack

This commit is contained in:
Thomas Ruoff
2017-02-15 00:46:54 +01:00
parent 316d05790b
commit 7668fc3837
15 changed files with 229 additions and 3 deletions

View File

@@ -4,15 +4,31 @@
"description": "Generate pdfs based on a template",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --env.production --config config/webpack",
"start": "node index.js",
"watch": "webpack-dashboard -- webpack-dev-server --config config/webpack"
},
"author": "Thomas Ruoff <tomru@mail.id0.link>",
"license": "ISC",
"dependencies": {
"body-parser": "^1.16.1",
"express": "^4.14.1"
"express": "^4.14.1",
"preact": "^7.2.0",
"preact-router": "^2.4.1"
},
"devDependencies": {
"eslint": "^3.15.0"
"babel-core": "^6.23.1",
"babel-loader": "^6.3.0",
"babel-plugin-transform-react-jsx": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.23.0",
"clean-webpack-plugin": "^0.1.15",
"copy-webpack-plugin": "^4.0.1",
"eslint": "^3.15.0",
"html-webpack-plugin": "^2.28.0",
"webpack": "^2.2.1",
"webpack-dashboard": "^0.3.0",
"webpack-dev-server": "^2.3.0"
}
}