guidewhale 0.1.5

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/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # guide-whale-sdk-test
2
+
3
+ A simple npm package with TypeScript support.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install guide-whale-sdk-test
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { greet } from 'guide-whale-sdk-test';
15
+
16
+ console.log(greet('World')); // Output: Hello, World!
17
+ ```
18
+
19
+ ## Development
20
+
21
+ 1. Install dependencies: `npm install`
22
+ 2. Make changes in `src/`
23
+ 3. Build: `npm run build`
24
+ 4. Test: `npm test`
25
+
26
+ ## License
27
+
28
+ MIT
29
+ Repository to publish GuideWhale SDK as a public NPM package
@@ -0,0 +1 @@
1
+ export declare function greet(name: string): string;
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ function r(e) {
2
+ return `Hello, ${e}!`;
3
+ }
4
+ export {
5
+ r as greet
6
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "guidewhale",
3
+ "version": "0.1.5",
4
+ "description": "GuideWhale SDK client script loader",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "scripts": {
16
+ "dev": "vite",
17
+ "build": "tsc && vite build",
18
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
19
+ "format": "prettier --write .",
20
+ "prepare": "husky",
21
+ "test": "vitest run",
22
+ "test:watch": "vitest",
23
+ "prepublishOnly": "npm run build"
24
+ },
25
+ "keywords": [],
26
+ "author": "",
27
+ "license": "MIT",
28
+ "devDependencies": {
29
+ "@types/node": "^20.0.0",
30
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
31
+ "@typescript-eslint/parser": "^7.0.0",
32
+ "eslint": "^8.0.0",
33
+ "husky": "^9.0.0",
34
+ "prettier": "^3.0.0",
35
+ "typescript": "^5.0.0",
36
+ "vite": "^5.0.0",
37
+ "vite-plugin-dts": "^3.0.0",
38
+ "vitest": "^1.0.0"
39
+ }
40
+ }