From 9e51798295bcd72b8995a0cdb82dbcb8a52fdc9a Mon Sep 17 00:00:00 2001 From: Brian Peacock Date: Tue, 6 May 2014 12:06:10 -0500 Subject: [PATCH] Made it a regular npm module --- .gitignore | 1 - package.json | 61 ++++++++++++++++++++++++++++++++++++++++++++ package.yaml | 72 ---------------------------------------------------- 3 files changed, 61 insertions(+), 73 deletions(-) create mode 100644 package.json delete mode 100644 package.yaml diff --git a/.gitignore b/.gitignore index 086cffe33..49cc3d09d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ node_modules -package.json npm-debug.log sinopia-*.tgz diff --git a/package.json b/package.json new file mode 100644 index 000000000..f6b12ea22 --- /dev/null +++ b/package.json @@ -0,0 +1,61 @@ +{ + "name": "sinopia", + "version": "0.8.1", + "description": "Private npm repository server", + "author": { + "name": "Alex Kocharin", + "email": "alex@kocharin.ru" + }, + "repository": { + "type": "git", + "url": "git://github.com/rlidwka/sinopia" + }, + "main": "index.js", + "bin": { + "sinopia": "./bin/sinopia" + }, + "dependencies": { + "express": "3.4.x", + "commander": ">= 2.1.0", + "js-yaml": ">= 3.0.1", + "cookies": ">= 0.3.8", + "request": ">= 2.31.0", + "async": ">= 0.2.9", + "semver": ">= 2.2.1", + "minimatch": ">= 0.2.14", + "bunyan": ">= 0.22.1", + "mkdirp": ">= 0.3.5" + }, + "optionalDependencies": { + "fs-ext": ">= 0.3.2" + }, + "devDependencies": { + "rimraf": ">= 2.2.5", + "mocha": ">= 1.17.0", + "eslint": ">= 0.4.2" + }, + "keywords": [ + "private", + "package", + "repository", + "registry", + "modules", + "proxy", + "server" + ], + "scripts": { + "test": "mocha ./test/functional ./test/unit", + "lint": "eslint -c ./.eslint.yaml ./lib" + }, + "engines": { + "node": ">=0.10" + }, + "preferGlobal": true, + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, + "license": { + "type": "WTFPL", + "url": "http://www.wtfpl.net/txt/copying/" + } +} \ No newline at end of file diff --git a/package.yaml b/package.yaml deleted file mode 100644 index 69616b937..000000000 --- a/package.yaml +++ /dev/null @@ -1,72 +0,0 @@ -# use "yapm install ." if you're installing this from git repository - -name: sinopia -version: 0.8.1 -description: Private npm repository server - -author: - name: Alex Kocharin - email: alex@kocharin.ru - -repository: - type: git - url: git://github.com/rlidwka/sinopia - -main: index.js - -bin: - sinopia: ./bin/sinopia - -dependencies: - express: '3.4.x' - commander: '>= 2.1.0' - js-yaml: '>= 3.0.1' - cookies: '>= 0.3.8' - request: '>= 2.31.0' - async: '>= 0.2.9' - semver: '>= 2.2.1' - minimatch: '>= 0.2.14' - bunyan: '>= 0.22.1' - mkdirp: '>= 0.3.5' - -optionalDependencies: - fs-ext: '>= 0.3.2' - -devDependencies: - rimraf: '>= 2.2.5' - mocha: '>= 1.17.0' - - # linting tools - eslint: '>= 0.4.2' - - # for debugging memory leaks, it'll be require()'d if - # installed, but I don't want it to be installed everytime - #heapdump: '*' - -keywords: - - private - - package - - repository - - registry - - modules - - proxy - - server - -scripts: - test: mocha ./test/functional ./test/unit - lint: eslint -c ./.eslint.yaml ./lib - -# we depend on streams2 stuff -# it can be replaced with isaacs/readable-stream, ask if you need to use 0.8 -engines: - node: '>=0.10' - -preferGlobal: true - -publishConfig: - registry: https://registry.npmjs.org/ - -license: - type: WTFPL - url: http://www.wtfpl.net/txt/copying/ -