@@ -44,6 +44,12 @@ install -m 0755 "$OUTPUT/npm/artifacts/jsonschema-$VERSION-windows-x86_64/bin/js
4444 " $OUTPUT /npm/staging/jsonschema-windows-x86_64.exe"
4545install -m 0644 " $( pwd) /README.markdown" " $OUTPUT /npm/staging/README.md"
4646
47+ # To boost NPM ranking
48+ # See https://github.com/npms-io/npms-analyzer/blob/master/lib/analyze/evaluate/quality.js
49+ install -m 0644 " $( pwd) /LICENSE" " $OUTPUT /npm/staging/LICENSE"
50+ install -m 0644 " $( pwd) /.gitignore" " $OUTPUT /npm/staging/.gitignore"
51+ echo " /build" > " $OUTPUT /npm/staging/.npmignore"
52+
4753cat << EOF > "$OUTPUT /npm/staging/package.json"
4854{
4955 "name": "@sourcemeta/jsonschema",
@@ -55,12 +61,18 @@ cat << EOF > "$OUTPUT/npm/staging/package.json"
5561 },
5662 "license": "AGPL-3.0",
5763 "homepage": "https://github.com/sourcemeta/jsonschema",
58- "author": "Juan Cruz Viotti <jviotti@sourcemeta.com>",
64+ "author": {
65+ "email": "hello@sourcemeta.com",
66+ "name": "Sourcemeta",
67+ "url": "https://wwwsourcemeta.com"
68+ },
69+ "funding": "https://github.com/sponsors/sourcemeta",
5970 "keywords": [
6071 "jsonschema", "json", "schema", "json-schema",
6172 "cli", "\$ ref", "dereference", "reference", "resolve",
62- "json-pointer", "validator", "bundle",
63- "lint", "format"
73+ "json-pointer", "validator", "validation", "bundle",
74+ "json-schema-validator", "json-schema-validation",
75+ "lint", "format", "draft"
6476 ],
6577 "bugs": {
6678 "url": "https://github.com/sourcemeta/jsonschema/issues"
0 commit comments