summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-10-18 17:46:48 -0500
committerMike Greiling <mike@pixelcog.com>2017-01-06 10:21:01 -0600
commit4c5ff1d08ef5ddb7db432b864e18dd7674fbc116 (patch)
tree7592f65f9010b2bb7df16ba138ee5c56258a53f7 /package.json
parent57652bf58482dd1b4ac26b5f804d3d4ece6591d8 (diff)
downloadgitlab-ce-4c5ff1d08ef5ddb7db432b864e18dd7674fbc116.tar.gz
add webpack, webpack-rails, and webpack-dev-server along with a simple hello world test
Add the following line to GDK Procfile to play with it: webpack: exec support/exec-cd gitlab npm run dev-server
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/package.json b/package.json
index 49b8210e427..de199c269db 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,16 @@
{
"private": true,
"scripts": {
+ "dev-server": "node_modules/.bin/webpack-dev-server --config config/webpack.config.js",
"eslint": "eslint --max-warnings 0 --ext .js,.js.es6 .",
"eslint-fix": "npm run eslint -- --fix",
"eslint-report": "npm run eslint -- --format html --output-file ./eslint-report.html"
},
+ "dependencies": {
+ "stats-webpack-plugin": "^0.4.2",
+ "webpack": "^1.13.2",
+ "webpack-dev-server": "^1.16.2"
+ },
"devDependencies": {
"eslint": "^3.10.1",
"eslint-config-airbnb-base": "^10.0.1",