|
1 | 1 | { |
2 | | - "name": "codacy-cloud-cli", |
| 2 | + "name": "@codacy/codacy-cloud-cli", |
3 | 3 | "version": "1.0.0", |
4 | 4 | "description": "A command-line tool to interact with Codacy Cloud from your terminal", |
| 5 | + "homepage": "https://www.codacy.com", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "git+https://github.com/codacy/codacy-cloud-cli.git" |
| 9 | + }, |
| 10 | + "bugs": { |
| 11 | + "url": "https://github.com/codacy/codacy-cloud-cli/issues" |
| 12 | + }, |
5 | 13 | "main": "dist/index.js", |
6 | 14 | "bin": { |
7 | 15 | "codacy": "dist/index.js" |
|
11 | 19 | ], |
12 | 20 | "scripts": { |
13 | 21 | "test": "vitest run", |
14 | | - "build": "tsc -p tsconfig.build.json", |
15 | | - "prepublishOnly": "npm run build", |
| 22 | + "build": "tsc -p tsconfig.build.json && chmod +x dist/index.js", |
| 23 | + "prepublishOnly": "npm run update-api && npm run build", |
16 | 24 | "start": "npx ts-node src/index.ts", |
17 | 25 | "start:dist": "node dist/index.js", |
18 | 26 | "fetch-api": "curl https://artifacts.codacy.com/api/codacy-api/50.7.17/apiv3-bundled.yaml -o ./api-v3/api-swagger.yaml --create-dirs", |
19 | 27 | "generate-api": "rm -rf ./src/api/client && openapi --input ./api-v3/api-swagger.yaml --output ./src/api/client --useUnionTypes --indent 2 --client fetch", |
20 | | - "update-api": "npm run fetch-api && npm run generate-api", |
21 | | - "postinstall": "npm run update-api" |
| 28 | + "update-api": "npm run fetch-api && npm run generate-api" |
22 | 29 | }, |
23 | 30 | "keywords": [ |
24 | 31 | "codacy", |
25 | 32 | "cli", |
26 | 33 | "code-quality", |
27 | | - "static-analysis" |
| 34 | + "static-analysis", |
| 35 | + "code-review", |
| 36 | + "security", |
| 37 | + "linting" |
28 | 38 | ], |
29 | | - "author": "", |
| 39 | + "author": "Codacy <support@codacy.com> (https://www.codacy.com)", |
30 | 40 | "license": "ISC", |
31 | 41 | "engines": { |
32 | 42 | "node": ">=18" |
|
0 commit comments