Skip to content

Instantly share code, notes, and snippets.

@Ahrengot
Created October 28, 2016 13:01
Show Gist options
  • Save Ahrengot/821f86492e4583b75931ab55e3ef72b4 to your computer and use it in GitHub Desktop.
Save Ahrengot/821f86492e4583b75931ab55e3ef72b4 to your computer and use it in GitHub Desktop.
Bare-bones webpack configuration
{
"name": "google-analytics-plugin",
"version": "1.0.0",
"private": true,
"scripts": {
"test:lint": "eslint ./scripts",
"dev-js": "webpack --config webpack-dev.config.js --progress --profile --colors --watch",
"build-js": "webpack --config webpack-production.config.js --progress --colors",
"dev": "npm run dev-js",
"build": "npm run test:lint && npm run build-js"
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.18.0",
"babel-eslint": "^7.1.0",
"babel-loader": "^6.2.7",
"babel-preset-es2015": "^6.18.0",
"eslint": "^3.8.1",
"webpack": "^1.13.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment