Commit 45475eec authored by nanahira's avatar nanahira

meta

parent 924883d2
Pipeline #41234 passed with stages
in 1 minute and 33 seconds
...@@ -37,16 +37,3 @@ unit-test: ...@@ -37,16 +37,3 @@ unit-test:
- .build_base - .build_base
script: script:
- npm run test - npm run test
deploy_npm:
stage: deploy
dependencies:
- build
tags:
- linux
script:
- apt update;apt -y install coreutils
- echo $NPMRC | base64 --decode > ~/.npmrc
- npm publish . --access public && curl -X PUT "https://registry-direct.npmmirror.com/$(cat package.json | jq '.name' | sed 's/\"//g')/sync?sync_upstream=true" || true
only:
- master
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
"name": "nfkit", "name": "nfkit",
"description": "Common kits", "description": "Common kits",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/index.js", "main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"lint": "eslint --fix .", "lint": "eslint --fix .",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment