-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
122 lines (122 loc) · 4.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "verdaccio-gitlab",
"author": {
"name": "Roger Meier",
"email": "[email protected]"
},
"scripts": {
"type-check": "tsc --noEmit",
"license": "license-checker --onlyAllow 'Apache-2.0; Apache License, Version 2.0; BSD; BSD-2-Clause; BSD-3-Clause; ISC; MIT; Unlicense; WTFPL; CC-BY-3.0; CC0-1.0' --production --summary",
"type-check:watch": "npm run type-check -- --watch",
"lint:ts": "eslint . --ext .js,.ts",
"lint": "yarn type-check && yarn lint:ts && markdownlint README.md",
"prepublish": "in-publish && yarn lint && yarn code:build || not-in-publish",
"release:major": "changelog -M && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --patch && git push origin && git push origin --tags",
"start": "yarn code:build && cross-env NODE_PATH=$NODE_PATH:.. BABEL_ENV=registry babel-node build/verdaccio.js",
"code:build:types": "tsc --emitDeclarationOnly",
"code:build": "cross-env BABEL_ENV=registry babel src/ --out-dir build/ --extensions \".ts,.tsx\"",
"code:docker-build": "cross-env BABEL_ENV=docker babel src/ --out-dir build/ --extensions \".ts,.tsx\"",
"build:docker": "docker build -t verdaccio-gitlab . --no-cache",
"test": "yarn test:unit",
"test:unit": "cross-env BABEL_ENV=test TZ=UTC jest --config ./test/jest.config.unit.js --maxWorkers 2",
"test:functional": "cross-env BABEL_ENV=test TZ=UTC jest --config ./test/jest.config.functional.js --testPathPattern ./test/functional/index* --passWithNoTests",
"test:all": "yarn test && yarn test:functional"
},
"main": "build/index.js",
"version": "3.0.1",
"description": "private npm registry (Verdaccio) using gitlab-ce as authentication and authorization provider",
"keywords": [
"sinopia",
"verdaccio",
"gitlab",
"auth",
"npm",
"registry",
"npm-registry"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bufferoverflow/verdaccio-gitlab.git"
},
"homepage": "https://github.com/bufferoverflow/verdaccio-gitlab",
"bugs": {
"url": "https://github.com/bufferoverflow/verdaccio-gitlab/issues"
},
"engines": {
"node": ">=10"
},
"dependencies": {
"gitlab": "3.5.1",
"global-tunnel-ng": "2.5.3",
"http-errors": "1.7.3",
"node-cache": "4.2.0",
"verdaccio": "^4.3.4"
},
"devDependencies": {
"@commitlint/cli": "^8.3.3",
"@commitlint/config-conventional": "^8.3.3",
"@commitlint/travis-cli": "^8.3.3",
"@types/http-errors": "^1.6.3",
"@types/jest": "^24.0.24",
"@types/lodash": "^4.14.149",
"@types/node": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"@verdaccio/babel-preset": "^8.5.0",
"@verdaccio/commons-api": "^8.5.0",
"@verdaccio/eslint-config": "^8.5.0",
"@verdaccio/types": "^8.5.0",
"body-parser": "^1.19.0",
"cross-env": "^6.0.3",
"eslint": "^6.8.0",
"express": "^4.17.1",
"generate-changelog": "^1.8.0",
"http-status": "^1.4.2",
"husky": "^3.1.0",
"in-publish": "^2.0.0",
"jest": "^24.9.0",
"jest-environment-node": "^24.9.0",
"kleur": "3.0.3",
"license-checker": "^25.0.1",
"lodash": "^4.17.15",
"markdownlint-cli": "^0.20.0",
"prettier": "^1.19.1",
"request": "^2.88.0",
"rimraf": "^3.0.0",
"typescript": "^3.7.4"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"eslintConfig": {
"extends": [
"@verdaccio"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0
},
"ignorePatterns": [
"build/",
"node_modules/"
]
},
"babel": {
"presets": [
[
"@verdaccio"
]
]
}
}