diff --git a/package.json b/package.json index 0cac2d1..cae17d2 100644 --- a/package.json +++ b/package.json @@ -1,92 +1,13 @@ { - "name": "@saithodev/semantic-release-gitea", - "version": "2.1.0", - "description": "Publish release notes to Gitea", - "main": "index.js", - "scripts": { - "codecov": "codecov -f coverage/coverage-final.json", - "lint": "xo", - "semantic-release": "semantic-release", - "test": "nyc ava -v", - "commit": "git-cz" - }, - "engines": { - "node": "^10 || ^11 || ^12 || >=14" - }, - "dependencies": { - "@semantic-release/error": "^2.2.0", - "aggregate-error": "^3.0.0", - "debug": "^4.0.0", - "dir-glob": "^3.0.0", - "form-data": "^3.0.0", - "fs-extra": "^8.0.0", - "globby": "^10.0.0", - "got": "^10.0.1", - "lodash": "^4.17.21", - "querystring": "^0.2.0", - "url-join": "^4.0.0" - }, - "devDependencies": { - "@saithodev/semantic-release-sharedconf-npm": "^2.0.2", - "ava": "^2.0.0", - "clear-module": "^4.0.0", - "codecov": "^3.5.0", - "commitizen": "^4.0.3", - "cz-conventional-changelog": "^3.0.2", - "nock": "^11.1.0", - "nyc": "^15.0.0", - "proxyquire": "^2.0.0", - "semantic-release": "^17.4.2", - "sinon": "^8.0.0", - "tempy": "^0.3.0", - "xo": "^0.38.2" - }, - "repository": { - "type": "git", - "url": "https://github.com/saitho/semantic-release-gitea" - }, - "author": "Mario Lubenka", - "license": "MIT", - "bugs": { - "url": "https://github.com/saitho/semantic-release-gitea/issues" - }, - "homepage": "https://github.com/saitho/semantic-release-gitea#readme", - "keywords": [ - "git", - "gitea", - "publish", - "pull-request", - "release", - "semantic-release", - "version" - ], - "config": { - "commitizen": { - "path": "./node_modules/cz-conventional-changelog" - } - }, - "nyc": { - "include": [ - "lib/**/*.js", - "index.js" - ], - "reporter": [ - "lcov", - "text", - "html" - ], - "all": true - }, - "xo": { - "prettier": true, - "space": true, - "rules": { - "camelcase": [ - "error", - { - "properties": "never" - } + "plugins": [ + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", + ["@saithodev/semantic-release-gitea", { + "giteaUrl": "https://git.sthope.dev", + "assets": [ + {"path": "dist/asset.min.css", "label": "CSS distribution"}, + {"path": "dist/asset.min.js", "label": "JS distribution"} ] - } - } + }], + ] } \ No newline at end of file