Files
compose-action/package.json
tuankiet2s 00ad5b1134
Some checks failed
Need fix to Issue / main (push) Has been cancelled
Internal - Main - Continuous Integration / ci (push) Failing after 0s
Internal - Main - Continuous Integration / release (push) Has been cancelled
Mark stale issues and pull requests / main (push) Failing after 0s
Update package dependencies and scripts; add 'shx' for shell command execution in package.json
2025-08-03 04:01:10 +07:00

146 lines
3.4 KiB
JSON

{
"name": "compose-action",
"description": "Docker Compose Action",
"version": "0.0.0",
"author": "hoverkraft",
"license": "MIT",
"homepage": "https://github.com/hoverkraft-tech/compose-action",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/hoverkraft-tech/compose-action.git"
},
"bugs": {
"url": "https://github.com/hoverkraft-tech/compose-action/issues"
},
"keywords": [
"actions",
"docker-compose"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.1",
"@actions/tool-cache": "^2.0.2",
"@octokit/action": "^8.0.2",
"docker-compose": "^1.2.0"
},
"devDependencies": {
"@ts-dev-tools/core": "^1.6.2",
"@vercel/ncc": "^0.38.3",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-jsonc": "^2.20.1",
"shx": "^0.4.0"
},
"scripts": {
"package": "npm run package:index && npm run package:post",
"package:index": "ncc build src/index.ts -o dist --license licenses.txt",
"package:post": "ncc build src/post.ts -o dist/post && shx mv dist/post/index.js dist/post.js && shx rm -rf dist/post",
"package:watch": "npm run package -- --watch",
"lint": "eslint \"src/**/*.{ts,tsx}\"",
"all": "npm run format && npm run lint && npm run test && npm run package",
"build": "tsc --noEmit",
"format": "prettier --cache --write .",
"jest": "jest --detectOpenHandles --forceExit",
"test": "npm run jest --maxWorkers=50%",
"test:watch": "npm run jest --watch --maxWorkers=25%",
"test:cov": "npm run test --coverage",
"test:ci": "npm run test:cov --runInBand",
"prepare": "ts-dev-tools install"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts",
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test)?(.*).+(ts|tsx|js)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**",
"**/src/**/*.[jt]s?(x)"
]
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier"
],
"env": {
"es2021": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"settings": {
"jest": {
"version": "detect"
}
},
"ignorePatterns": [
"dist",
"node_modules"
]
},
"prettier": {
"semi": true,
"printWidth": 100,
"trailingComma": "es5"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"tsDevTools": {
"version": "20220617100200-prettier-cache"
}
}