Skip to content

Instantly share code, notes, and snippets.

@jamesmfriedman
Last active April 25, 2017 21:23
Show Gist options
  • Save jamesmfriedman/bf221fcdea36d5d59c81b9516e6d0017 to your computer and use it in GitHub Desktop.
Save jamesmfriedman/bf221fcdea36d5d59c81b9516e6d0017 to your computer and use it in GitHub Desktop.
medium/webpack-inline-styles/package.json
{
"name": "jamesmfriedman",
"version": "1.0.0",
"description": "James Friedman",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --inline --hot --host 0.0.0.0 --port 8080 --env.BUILD_ENV dev --env.NODE_ENV dev",
"dev": "npm start",
"dev:min": "webpack-dev-server --inline --hot --host 0.0.0.0 --port 8080 --env.BUILD_ENV 'dev optimized' --env.NODE_ENV dev",
"clean-dist-folder": "rm -R ./public && mkdir ./public",
"build:dev": "npm run clean-dist-folder && webpack --env.BUILD_ENV optimized --env.NODE_ENV dev",
"build:prod": "npm run clean-dist-folder && webpack --env.BUILD_ENV optimized --env.NODE_ENV prod",
"deploy": "npm run build:prod && firebase deploy",
"test": "export NODE_ENV='dev' BUILD_ENV='test' && karma start",
},
"author": "James Friedman",
"license": "ISC",
"dependencies": { ... },
"devDependencies": { ... }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment