diff --git a/package.json b/package.json index a405cec5..afac133d 100644 --- a/package.json +++ b/package.json @@ -1,47 +1,57 @@ { "name": "apple-psh", + "version": "4.0.0", "private": false, - "version": "0.1.7", - "type": "module", - "main": "./dist/apple-psh.js", - "homepage": "https://github.com/KathiravanKrish/setup-node-test/", - "bugs": { - "url": "https://github.com/KathiravanKrish/setup-node-test/issues" + "description": "setup node action", + "main": "lib/apple-psh.js", + "scripts": { + "build": "ncc build -o dist/setup src/setup-node.ts && ncc build -o dist/cache-save src/cache-save.ts", + "format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"", + "format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check \"**/*.{ts,yml,yaml}\"", + "lint": "eslint --config ./.eslintrc.js \"**/*.ts\"", + "lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix", + "test": "jest --coverage", + "pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test" }, "repository": { "type": "git", - "url": "git+https://github.com/KathiravanKrish/setup-node-test.git" + "url": "git+https://github.com/actions/setup-node.git" }, - "license": "Apache-2.0", - "author": "KathiravanKrish ", - "files": [ - "dist", - "package.json", - "README.md", - "LICENSE" + "keywords": [ + "actions", + "node", + "setup" ], - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, + "author": "GitHub", + "license": "MIT", "dependencies": { - "@mdi/font": "^7.4.47", - "vite-plugin-vuetify": "^2.0.3", - "vue": "^3.4.21", - "vuetify": "^3.5.9", - "webfontloader": "^1.6.28" + "@actions/cache": "^3.2.4", + "@actions/core": "^1.10.0", + "@actions/exec": "^1.1.0", + "@actions/github": "^5.1.1", + "@actions/glob": "^0.4.0", + "@actions/http-client": "^2.2.1", + "@actions/io": "^1.0.2", + "@actions/tool-cache": "^2.0.1", + "semver": "^7.6.0", + "uuid": "^9.0.1" }, "devDependencies": { - "@vitejs/plugin-vue": "^5.0.4", - "@vuepress/bundler-vite": "next", - "@vuepress/client": "next", - "@vuepress/theme-default": "next", - "prettier": "3.2.5", - "typescript": "^5.2.2", - "unplugin-vue-components": "^0.26.0", - "vite": "^5.1.6", - "vue-tsc": "^1.8.27", - "vuepress": "next" + "@types/jest": "^29.5.12", + "@types/node": "^20.11.25", + "@types/semver": "^7.5.8", + "@typescript-eslint/eslint-plugin": "^5.54.0", + "@typescript-eslint/parser": "^5.54.0", + "@vercel/ncc": "^0.38.0", + "eslint": "^8.57.0", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-jest": "^27.9.0", + "eslint-plugin-node": "^11.1.0", + "jest": "^29.7.0", + "jest-circus": "^29.7.0", + "jest-each": "^29.7.0", + "prettier": "^2.8.4", + "ts-jest": "^29.1.2", + "typescript": "^5.4.2" } } \ No newline at end of file