|
4 | 4 | "description": "Upload an Actions Artifact in a workflow run", |
5 | 5 | "main": "dist/upload/index.js", |
6 | 6 | "scripts": { |
| 7 | + "clean": "rimraf dist", |
| 8 | + "prebuild": "npm run clean", |
7 | 9 | "build": "tsc", |
8 | 10 | "release": "ncc build src/upload/index.ts -o dist/upload && ncc build src/merge/index.ts -o dist/merge", |
9 | 11 | "check-all": "concurrently \"npm:format-check\" \"npm:lint\" \"npm:test\" \"npm:build\"", |
10 | 12 | "format": "prettier --write **/*.ts", |
11 | 13 | "format-check": "prettier --check **/*.ts", |
12 | 14 | "lint": "eslint **/*.ts", |
13 | | - "test": "jest --testTimeout 10000" |
| 15 | + "test": "jest --testTimeout 10000", |
| 16 | + "prepare": "npm run build" |
14 | 17 | }, |
15 | 18 | "repository": { |
16 | 19 | "type": "git", |
17 | | - "url": "git+https://github.com/actions/upload-artifact.git" |
| 20 | + "url": "git+https://github.com/niteshraj2310/upload-artifact.git" |
18 | 21 | }, |
19 | 22 | "keywords": [ |
20 | 23 | "Actions", |
|
25 | 28 | "author": "GitHub", |
26 | 29 | "license": "MIT", |
27 | 30 | "bugs": { |
28 | | - "url": "https://github.com/actions/upload-artifact/issues" |
| 31 | + "url": "https://github.com/niteshraj2310/upload-artifact/issues" |
29 | 32 | }, |
30 | | - "homepage": "https://github.com/actions/upload-artifact#readme", |
| 33 | + "homepage": "https://github.com/niteshraj2310/upload-artifact#readme", |
31 | 34 | "dependencies": { |
32 | 35 | "@actions/artifact": "^2.2.2", |
33 | 36 | "@actions/core": "^1.11.1", |
|
50 | 53 | "jest-circus": "^29.3.1", |
51 | 54 | "prettier": "^2.8.1", |
52 | 55 | "ts-jest": "^29.0.3", |
53 | | - "typescript": "^4.9.4" |
| 56 | + "typescript": "^4.9.4", |
| 57 | + "rimraf": "^5.0.0" |
54 | 58 | } |
55 | 59 | } |
0 commit comments