mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Made it a regular npm module
This commit is contained in:
parent
cb6e2cd7f6
commit
9e51798295
3 changed files with 61 additions and 73 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
|||
node_modules
|
||||
package.json
|
||||
npm-debug.log
|
||||
sinopia-*.tgz
|
||||
|
||||
|
|
61
package.json
Normal file
61
package.json
Normal file
|
@ -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/"
|
||||
}
|
||||
}
|
72
package.yaml
72
package.yaml
|
@ -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/
|
||||
|
Loading…
Reference in a new issue