derrickshowers/generator-latest-greatest-webapp

View on GitHub
generators/app/templates/_package.json

Summary

Maintainability
Test Coverage
{
  "name": "<%= name %>",
  "author": "<%= author %>",
  "version": "0.0.0",
  "scripts": {
    "clean": "rm -r ./dist/* || true",
    "build:css": "node-sass -r ./app/scss -o dist/css",
    "build:html": "cp app/*.html dist",
    "build:images": "mkdir dist/images; cp -r app/images/* dist/images/ || true",
    "build:static": "npm run build:css; npm run build:html; npm run build:images",
    "build": "npm run clean; npm run build:static; webpack",
    "dev": "npm run build && webpack-dev-server --content-base ./dist --inline & watch 'npm run build:static' ./app"
  },
  "dependencies": {
    "babel-core": "*",
    "babel-loader": "*",
    "babel-preset-es2015": "*",
    "node-sass": "*",
    "watch": "*",
    "webpack": "*",
    "webpack-dev-server": "*"
  }
}