apple-maps-server-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const Greeter: (name: string) => string;
package/lib/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Greeter = void 0;
4
+ var Greeter = function (name) { return "Hello ".concat(name); };
5
+ exports.Greeter = Greeter;
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "apple-maps-server-sdk",
3
+ "version": "1.0.0",
4
+ "description": "An SDK for the Apple Maps Server API",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build": "tsc",
10
+ "prepare": "npm run build"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/JS00001/apple-maps-server-sdk.git"
15
+ },
16
+ "keywords": [],
17
+ "author": "JS00001",
18
+ "license": "ISC",
19
+ "bugs": {
20
+ "url": "https://github.com/JS00001/apple-maps-server-sdk/issues"
21
+ },
22
+ "homepage": "https://github.com/JS00001/apple-maps-server-sdk#readme",
23
+ "devDependencies": {
24
+ "typescript": "^4.9.4"
25
+ }
26
+ }
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export const Greeter = (name: string) => `Hello ${name}`;
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es5",
4
+ "module": "commonjs",
5
+ "declaration": true,
6
+ "outDir": "./lib",
7
+ "strict": true
8
+ },
9
+ "include": ["src"],
10
+ "exclude": ["node_modules", "**/__tests__/*"]
11
+ }