diff --git a/package.json b/package.json index d550ccd..133051d 100644 --- a/package.json +++ b/package.json @@ -4,22 +4,26 @@ "description": "", "main": "lib/nextcloud-artifacts.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "build": "npx tsc && npx @vercel/ncc build" + "build": "npx tsc", + "format": "npx prettier --write **/*.ts", + "format-check": "npx prettier --check **/*.ts", + "lint": "npx eslint src/**/*.ts", + "package": "npx ncc build --source-map --license licenses.txt" }, "repository": { "type": "git", "url": "git+https://github.com/trympet/nextcloud-artifacts-action.git" }, "keywords": [], - "author": "", - "license": "ISC", + "author": "Trym Lund Flogard ", + "license": "GPL-2.0-only", "bugs": { "url": "https://github.com/trympet/nextcloud-artifacts-action/issues" }, "homepage": "https://github.com/trympet/nextcloud-artifacts-action#readme", "dependencies": { "@actions/core": "^1.3.0", + "@actions/exec": "^1.0.4", "@actions/github": "^5.0.0", "@actions/glob": "^0.1.2", "archiver": "^5.3.0", @@ -29,11 +33,24 @@ "webdav": "^4.6.0" }, "devDependencies": { + "@octokit/types": "^6.16.2", + "@octokit/webhooks": "^9.6.3", "@types/archiver": "^5.1.0", "@types/btoa": "^1.2.3", "@types/node": "^15.6.2", "@types/node-fetch": "^2.5.10", "@types/uuid": "^8.3.0", - "typescript": "^4.3.2" + "@typescript-eslint/eslint-plugin": "^4.16.1", + "@typescript-eslint/parser": "^4.16.1", + "typescript": "^4.3.2", + "eslint": "^7.21.0", + "eslint-plugin-github": "^4.1.2", + "eslint-plugin-jest": "^24.1.7", + "jest": "^26.6.3", + "jest-circus": "^26.6.3", + "jest-junit": "^12.0.0", + "js-yaml": "^4.0.0", + "prettier": "2.2.1", + "ts-jest": "^26.5.3" } }