Update packages

This commit is contained in:
Nick Alteen 2023-09-14 10:36:37 -04:00
parent ea09560a8d
commit 12426a046a
2 changed files with 5199 additions and 4091 deletions

9208
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +1,81 @@
{ {
"name": "javascript-action", "name": "javascript-action",
"version": "1.0.0", "description": "GitHub Actions JavaScript Template",
"description": "JavaScript Action Template", "version": "0.0.0",
"main": "index.js", "author": "",
"scripts": { "private": true,
"lint": "eslint .", "homepage": "https://github.com/actions/javascript-action#readme",
"prepare": "ncc build index.js -o dist --source-map --license licenses.txt",
"test": "jest",
"all": "npm run lint && npm run prepare && npm run test"
},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/actions/javascript-action.git" "url": "git+https://github.com/actions/javascript-action.git"
}, },
"bugs": {
"url": "https://github.com/actions/javascript-action/issues"
},
"keywords": [ "keywords": [
"GitHub", "GitHub",
"Actions", "Actions",
"JavaScript" "JavaScript"
], ],
"author": "", "exports": {
"license": "MIT", ".": "./dist/index.js"
"bugs": { },
"url": "https://github.com/actions/javascript-action/issues" "engines": {
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
"format:write": "prettier --write **/*.js",
"format:check": "prettier --check **/*.js",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.js --license licenses.txt",
"package:watch": "npm run package -- --watch",
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"all": "npm run format:write && npm run lint && npm run test && npm run package"
},
"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/**"
]
}, },
"homepage": "https://github.com/actions/javascript-action#readme",
"dependencies": { "dependencies": {
"@actions/core": "^1.10.0" "@actions/core": "^1.10.1"
}, },
"devDependencies": { "devDependencies": {
"@vercel/ncc": "^0.36.1", "@babel/core": "^7.22.17",
"eslint": "^8.37.0", "@babel/eslint-parser": "^7.22.15",
"jest": "^29.5.0" "@babel/preset-env": "^7.22.15",
"@vercel/ncc": "^0.38.0",
"babel-preset-jest": "^29.6.3",
"eslint": "^8.49.0",
"eslint-plugin-github": "^4.10.0",
"eslint-plugin-jest": "^27.2.3",
"jest": "^29.7.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.0.3"
} }
} }