|
1 | 1 | {
|
2 | 2 | "private": true,
|
3 |
| - "name": "♦️♦️♦️SET-YOUR-OWN-PACKAGE-NAME-HERE♦️♦️♦️", |
| 3 | + "name": "posthog-plugin-hello-world", |
4 | 4 | "version": "1.0.0",
|
5 |
| - "description": "♦️♦️♦️SET-YOUR-OWN-DESCRIPTION-HERE♦️♦️♦️", |
| 5 | + "description": "Greet the world with every PostHog event!", |
6 | 6 | "keywords": [
|
7 |
| - "♦️♦️♦️", |
8 |
| - "SET", |
9 |
| - "YOUR", |
10 |
| - "OWN", |
11 |
| - "KEYWORDS", |
12 |
| - "HERE", |
13 |
| - "♦️♦️♦️" |
| 7 | + "posthog", |
| 8 | + "plugin" |
14 | 9 | ],
|
15 | 10 | "main": "dist/index.js",
|
16 | 11 | "types": "dist/index.d.ts",
|
17 |
| - "repository": "github:PostHog/♦️♦️♦️SET-YOUR-OWN-REPOSITORY-NAME-HERE♦️♦️♦️", |
| 12 | + "repository": "github:PostHog/posthog-plugin-hello-world", |
18 | 13 | "bugs": {
|
19 |
| - "url": "https://github.com/PostHog/♦️♦️♦️SET-YOUR-OWN-REPOSITORY-NAME-HERE♦️♦️♦️/issues" |
| 14 | + "url": "https://github.com/PostHog/posthog-plugin-hello-world/issues" |
20 | 15 | },
|
21 |
| - "homepage": "https://github.com/PostHog/♦️♦️♦️SET-YOUR-OWN-REPOSITORY-NAME-HERE♦️♦️♦️#readme", |
| 16 | + "homepage": "https://github.com/PostHog/posthog-plugin-hello-world#readme", |
22 | 17 | "author": "PostHog <[email protected]>",
|
23 | 18 | "license": "MIT",
|
| 19 | + "configSchema": { |
| 20 | + "greeting": { |
| 21 | + "name": "What greeting would you like to use?", |
| 22 | + "type": "string", |
| 23 | + "default": "Hello world!", |
| 24 | + "required": false |
| 25 | + } |
| 26 | + }, |
24 | 27 | "scripts": {
|
25 | 28 | "test": "jest src",
|
26 |
| - "build": "yarn clean && yarn compile", |
| 29 | + "build": "npm run clean && npm run compile", |
27 | 30 | "clean": "rimraf dist/*",
|
28 | 31 | "purge": "rimraf dist node_modules",
|
29 | 32 | "compile": "tsc",
|
30 | 33 | "lint": "eslint .",
|
31 | 34 | "lint:fix": "eslint --fix .",
|
32 | 35 | "format": "prettier --write .",
|
33 | 36 | "format:check": "prettier --check .",
|
34 |
| - "prepublishOnly": "yarn test && yarn build" |
| 37 | + "prepublishOnly": "npm run test && npm run build" |
35 | 38 | },
|
36 | 39 | "devDependencies": {
|
| 40 | + "@posthog/plugin-scaffold": "0.2.8-alpha.2", |
37 | 41 | "@types/jest": "^26.0.19",
|
| 42 | + "@types/node-fetch": "^2.5.8", |
38 | 43 | "@typescript-eslint/eslint-plugin": "^4.12.0",
|
39 | 44 | "@typescript-eslint/parser": "^4.12.0",
|
40 | 45 | "eslint": "^7.0.0",
|
|
0 commit comments