generated from PostHog/posthog-hello-world-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.66 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "posthog-ai-costs-app",
"private": false,
"version": "0.0.1",
"description": "Calculate costs for AI generations events based on the number of tokens.",
"license": "Apache-2.0",
"dependencies": {
"js-big-decimal": "^2.2.0",
"tsup": "^8.3.5"
},
"scripts": {
"test": "jest .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "yarn test",
"typecheck": "tsc",
"build": "tsup src/index.ts"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@posthog/plugin-scaffold": "^0.12.10",
"@types/jest": "^26.0.19",
"@types/node-fetch": "^2.5.10",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"babel-jest": "^27.5.1",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "~4.3.8",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "~10.5.3",
"node-fetch": "2.6.2",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && tsc --noEmit && pnpm build"
}
},
"lint-staged": {
"*.{js,ts}": "eslint --fix",
"*.{ts,tsx,js,jsx,json,yaml,toml,css,scss,html,xml}": "prettier --write"
}
}