Skip to content
Snippets Groups Projects
Commit a4c2d100 authored by Sigmund, Dominik's avatar Sigmund, Dominik Committed by Sigmund, Dominik
Browse files

Update .npmrc, .gitlab-ci.yml, .npmignore, package.json files

parent 2ec3af97
No related branches found
No related tags found
No related merge requests found
...@@ -44,5 +44,4 @@ test: ...@@ -44,5 +44,4 @@ test:
publish: publish:
stage: publish stage: publish
script: script:
- npm config set strict-ssl false - npm publish
- npm publish --verbose --registry $NPM_REGISTRY
.gitlab-ci.yml .gitlab-ci.yml
\ No newline at end of file
.npmrc 0 → 100644
strict-ssl=false
@general:registry=https://gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/
//gitlab.br.de/api/v4/packages/npm/:_authToken=${CI_JOB_TOKEN}
//gitlab.br.de/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}
{ {
"name": "@plastdev/security", "name": "@general/security",
"version": "2.0.0", "version": "2.0.0",
"description": "Sets Headers to a very save style in express-apps. may be overriden by config", "description": "Sets Headers to a very save style in express-apps. may be overriden by config",
"main": "index.js", "main": "index.js",
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
"type": "git", "type": "git",
"url": "https://gitlab.br.de/general/security.git" "url": "https://gitlab.br.de/general/security.git"
}, },
"publishConfig": {
"@general:registry":"https://gitlab.br.de/api/v4/projects/15/packages/npm/"
},
"author": "Dominik Sigmund <dominik.sigmund@br.de>", "author": "Dominik Sigmund <dominik.sigmund@br.de>",
"license": "ISC", "license": "ISC",
"dependencies": {}, "dependencies": {},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment