From d3a6bd810386a8511abf58b44ac4e9e79ebc7557 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Tue, 2 Jan 2024 19:26:56 +0100 Subject: [PATCH] Update package.json --- package.json | 70 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index f2aec0e..73b9dc7 100755 --- a/package.json +++ b/package.json @@ -1,8 +1,30 @@ { "name": "inno-setup-action", - "version": "1.2.4", "description": "GitHub action to compile .iss (Inno Setup Script) files.", + "version": "1.2.4", + "author": "Minionguyjpro", + "private": false, + "homepage": "https://github.com/Minionguyjpro/Inno-Setup-Action#readme", "main": "dist/index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/Minionguyjpro/Inno-Setup-Action.git" + }, + "bugs": { + "url": "https://github.com/Minionguyjpro/Inno-Setup-Action/issues" + }, + "keywords": [ + "GitHub", + "Actions", + "JavaScript", + "Inno-Setup" + ], + "exports": { + ".": "./dist/index.js" + }, + "engines": { + "node": ">=20" + }, "scripts": { "bundle": "npm run format:write && npm run package", "format:write": "prettier --write **/*.js", @@ -13,20 +35,50 @@ "test": "jest", "all": "npm run format:write && npm run lint && npm run test && npm run package" }, - "keywords": [], - "author": "", - "license": "ISC", - "dependencies": { - "@actions/core": "^1.10.1", + "license": "MIT", + "eslintConfig": { + "extends": "./.github/linters/.eslintrc.yml" + }, + "jest": { + "verbose": true, + "clearMocks": true, + "testEnvironment": "node", + "moduleFileExtensions": [ + "js" + ], + "testMatch": [ + "**/*.test.js" + ], + "testPathIgnorePatterns": [ + "/node_modules/", + "/dist/" + ], + "coverageReporters": [ + "json-summary", + "text", + "lcov" + ], + "collectCoverage": true, + "collectCoverageFrom": [ + "./src/**" + ] + }, + "dependencies": { + "@actions/core": "^1.10.1", }, "devDependencies": { "@semantic-release/exec": "^6.0.3", "@semantic-release/git": "^10.0.1", + "@babel/core": "^7.23.7", + "@babel/eslint-parser": "^7.23.3", + "@babel/preset-env": "^7.23.7", "@vercel/ncc": "^0.38.1", + "babel-preset-jest": "^29.6.3", "eslint": "^8.56.0", - "eslint-plugin-github": "^4.1.3", - "eslint-plugin-jest": "^24.3.6", - "jest": "^27.0.6", + "eslint-plugin-github": "^4.10.1", + "eslint-plugin-jest": "^27.6.0", + "jest": "^29.7.0", + "prettier": "^3.1.1", "semantic-release": "^22.0.12" }, "release": {