Skip to content

Commit 66fcf52

Browse files
committed
build(package.json): add keywords, update repository with recommended structure and url
doc: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository
1 parent 9a69c8a commit 66fcf52

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

package.json

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,24 @@
22
"name": "@api-platform/api-doc-parser",
33
"version": "0.16.8",
44
"description": "Transform an API documentation (Hydra, OpenAPI, GraphQL) in an intermediate representation that can be used for various tasks such as creating smart API clients, scaffolding code or building administration interfaces.",
5+
"keywords": [
6+
"api",
7+
"api-platform",
8+
"documentation",
9+
"hydra",
10+
"openapi",
11+
"graphql",
12+
"jsonld",
13+
"json-schema",
14+
"typescript",
15+
"client"
16+
],
517
"homepage": "https://github.com/api-platform/api-doc-parser",
618
"bugs": "https://github.com/api-platform/api-doc-parser/issues",
7-
"repository": "api-platform/api-doc-parser",
19+
"repository": {
20+
"type": "git",
21+
"url": "git+https://github.com/api-platform/api-doc-parser.git"
22+
},
823
"license": "MIT",
924
"author": "Kévin Dunglas",
1025
"sideEffects": false,
@@ -26,7 +41,7 @@
2641
"README.md"
2742
],
2843
"scripts": {
29-
"build": "rm -rf lib tsconfig.tsbuildinfo && tsc",
44+
"build": "rm -rf lib && tsc --project tsconfig.build.json",
3045
"build:watch": "tsc --watch",
3146
"eslint-check": "eslint-config-prettier src/index.ts",
3247
"lint": "eslint src",
@@ -69,6 +84,9 @@
6984
"typescript-eslint": "^8.22.0"
7085
},
7186
"packageManager": "[email protected]+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977",
87+
"engines": {
88+
"node": ">=18"
89+
},
7290
"publishConfig": {
7391
"access": "public"
7492
}

0 commit comments

Comments
 (0)