Skip to content

Commit

Permalink
update package.json and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anonymous0374 committed Nov 6, 2017
1 parent 66c9615 commit 26dd674
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 530 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ a scafflod project based on webpack 3.x, aralejs, handlebars.js and jquery for m

2 execute: yarn --> installs all dependencies

3 execute: npm run build:dev --> this builds the project into ./dist directory
3 execute: npm run watch --> this builds the project into ./dist directory and watch it

4 execute: npm start --> this will start webpack-dev-server and listens on http://localhost:3000
4 execute: nodemon ./index.js --> this starts up express.js web-server to serve the ./dist directory

5 execute browser, navigate to http://localhost:3000/index/index.html

# project structure conventions
1 resources are grouped by pages using directories
Expand Down
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
*/
const express = require('express')
const path = require('path')
const webpack = require('webpack')
const WebpackMiddleware = require('webpack-dev-middleware')
const config = require('./configs/webpack.config.development.js')
const debug = require('debug')('express')

const app = express();
const port = 3000;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"image-webpack-loader": "^3.4.2",
"less-loader": "^4.0.5",
"nodemon": "^1.12.1",
"style-loader": "^0.18.2",
"style-loader": "0.19.0",
"uglifyjs-webpack-plugin": "*",
"webpack": "^3.6.0",
"webpack-merge": "^4.1.0",
Expand Down
Loading

0 comments on commit 26dd674

Please sign in to comment.