diff --git a/README.md b/README.md index 84c59b7..c4d463f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Simple, Extensible FTP Server in Pure JavaScript -[![Build Status](https://travis-ci.org/sstur/nodeftpd.png?branch=master)](https://travis-ci.org/sstur/nodeftpd) +[![Build Status](https://travis-ci.org/nodeftpd/nodeftpd.png?branch=master)](https://travis-ci.org/nodeftpd/nodeftpd) - [Introduction](#introduction) - [Usage](#usage) @@ -197,8 +197,9 @@ The following must be implemented: - specific object properties: `{ mode, isDirectory(), size, mtime }` - if `useWriteFile` option is not set or is false - `createWriteStream`: _Returns a writable stream, requiring:_ - - events: 'open', 'error', 'close' - - functions: 'write' + - events: 'open', 'error', 'finish' + - functions: 'write', 'end' + - properties: 'bytesWritten' - if `useWriteFile` option is set to 'true' - `writeFile` - if `useReadFile` option is not set or is false diff --git a/package.json b/package.json index 2332189..069b038 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,46 @@ { "name": "ftpd", - "version": "0.2.14", + "version": "0.2.16", "description": "Node FTP Server", "main": "./ftpd.js", - "engines": { - "node": ">=0.10.0" - }, "scripts": { "test": "eslint --max-warnings 0 . && ./node_modules/.bin/istanbul test _mocha", "lint": "eslint --max-warnings 0 ." }, + "dependencies": { + "dateformat": "1.0.7-1.2.3", + "stat-mode": "^0.2.1" + }, + "devDependencies": { + "async": "~0.1.15", + "collect-stream": "^1.1.1", + "eslint": "^1.10.3", + "istanbul": "~0.2.4", + "jsftp": "git://github.com/sergi/jsftp.git#master", + "mocha": "^2.3.4", + "should": "~3.1.2", + "ftp": "^0.3.10" + }, + "engines": { + "node": ">=0.10.0" + }, "repository": { "type": "git", - "url": "git@github.com:sstur/nodeftpd.git" + "url": "git@github.com:nodeftpd/nodeftpd.git" + }, + "bugs": { + "url": "https://github.com/nodeftpd/nodeftpd/issues" }, "keywords": [ "ftp", "ftp-server", "ftpd" ], - "author": "sstur", "contributors": [ + { + "name": "Simon Sturmer", + "url": "https://github.com/sstur" + }, { "name": "Alex Drummond", "url": "https://github.com/addrummond" @@ -99,29 +119,12 @@ }, { "name": "Simon Sturmer", - "url": "https://github.com/sstur" + "url": "https://github.com/nodeftpd" }, { "name": "Thomas Schaaf", "url": "https://github.com/thomaschaaf" } ], - "license": "BSD-2-Clause", - "bugs": { - "url": "https://github.com/sstur/nodeftpd/issues" - }, - "dependencies": { - "dateformat": "1.0.7-1.2.3", - "stat-mode": "^0.2.1" - }, - "devDependencies": { - "async": "~0.1.15", - "collect-stream": "^1.1.1", - "eslint": "^1.10.3", - "istanbul": "~0.2.4", - "jsftp": "git://github.com/sergi/jsftp.git#master", - "mocha": "^2.3.4", - "should": "~3.1.2", - "ftp": "^0.3.10" - } + "license": "BSD-2-Clause" }