Skip to content

Commit

Permalink
prepare for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leeluolee committed May 28, 2015
1 parent c5078e4 commit 7f167d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
1 change: 0 additions & 1 deletion db.json

This file was deleted.

16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wdp",
"version": "1.0.0",
"description": "web develop platform",
"name": "puer",
"version": "2.0.0",
"description": "more than a live-reload server, built for efficient frontend development",
"main": "libs/index.js",
"scripts": {
"test": "npm test"
Expand All @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/NeteaseWD/wdp"
"url": "https://github.com/leeluolee/puer"
},
"keywords": [
"develop",
Expand All @@ -20,15 +20,14 @@
"author": "@leeluolee",
"license": "MIT",
"bugs": {
"url": "https://github.com/NeteaseWD/wdp/issues"
"url": "https://github.com/leeluolee/puer/issues"
},
"homepage": "https://github.com/NeteaseWD/wdp",
"homepage": "https://github.com/leeluolee/puer",
"dependencies": {
"async": "^1.0.0",
"chalk": "^1.0.0",
"chokidar": "^1.0.1",
"commander": "^2.8.0",
"ejs": "^2.3.1",
"express-velocity": "^1.0.0",
"glob": "^5.0.6",
"http-proxy": "^1.11.0",
Expand All @@ -38,12 +37,11 @@
"qrcode-npm": "0.0.3",
"save-file": "^0.1.0",
"socket.io": "^1.3.5",
"weinre": "^2.0.0-pre-I0Z7U9OV"
"weinre": "^2.0.0"
},
"optionalDependencies": {},
"devDependencies": {
"browserify": "^10.1.0",
"cssify": "^0.7.0",
"gulp": "^3.8.11",
"gulp-jshint": "~1.5.3",
"gulp-mocha": "~0.4.1",
Expand Down
Binary file removed src/.DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions test/fixtures/mock_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
"POST /path/to": function( req, res ){
res.send( req.query );
},
'ALL /d/(.*)': './{0}.html',
'GET /api/(.*)': "get/{0}.json",
'POST /api/(.*)': "post/{0}.json",
"GET /raw": {code: 100, result: 200},
'GET /': function(req, res){
res.render('index.vm', {
Expand All @@ -24,6 +25,6 @@ module.exports = {
'ALL /q/:id': 'http://segmentfault.com/',
'ALL /(pub|img)/(.*)': 'http://nec.netease.com',
'ALL /p/(.*)': 'http://nec.netease.com/plugin/{0}',
'ALL (.*)': 'http://nec.netease.com/plugin/{0}',
'ALL (.*)': 'http://nec.netease.com/',
"/blog/get": "xxx.html"
}

0 comments on commit 7f167d0

Please sign in to comment.