-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
75 lines (75 loc) · 2.51 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "kea-typegen",
"version": "3.3.6",
"description": "Generate type definitions for kea logic",
"scripts": {
"start": "ts-node ./src/cli/typegen.ts",
"clean": "rimraf dist/*",
"build": "tsc -p .",
"prepublishOnly": "npm run test && npm run clean && npm run build",
"run-built-cli": "node dist/src/cli/typegen.js",
"test": "jest",
"samples:check": "ts-node ./src/cli/typegen.ts check -r ./samples",
"samples:write": "ts-node ./src/cli/typegen.ts write -r ./samples --write-paths --delete",
"samples:convert": "ts-node ./src/cli/typegen.ts write -r ./samples --convert-to-builders",
"samples:watch": "ts-node ./src/cli/typegen.ts watch -r ./samples --delete",
"samples:write:posthog": "ts-node ./src/cli/typegen.ts watch -c ../../PostHog/posthog/tsconfig.json --show-ts-errors",
"form-plugin:build": "cd form-plugin && yarn && yarn build && cd ..",
"form-plugin:rebuild": "yarn form-plugin:build && rm -rf node_modules && yarn"
},
"main": "dist/src/index.js",
"author": "Marius Andra <[email protected]>",
"license": "MIT",
"bin": {
"kea-typegen": "dist/src/cli/typegen.js"
},
"dependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"ts-clone-node": "^3.0.0",
"prettier": "^2.8.8",
"recast": "^0.23.4",
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/yargs": "^16.0.0",
"babel-jest": "^26.6.3",
"dayjs": "^1.10.5",
"form-plugin": "file:./form-plugin",
"husky": ">=4",
"jest": "^27.0.5",
"kea": "^3.1.5",
"kea-router": "^3.1.4",
"lint-staged": ">=12.1.2",
"react": "^16.13.1",
"react-redux": "^7.2.6",
"redux": "^4.2.0",
"reselect": "^4.1.5",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.9.5"
},
"peerDependencies": {
"typescript": ">=4.9.5"
},
"jest": {
"testPathIgnorePatterns": [
"<rootDir>/dist",
"<rootDir>/node_modules",
"<rootDir>/.yalc",
"<rootDir>/samples/.yalc"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,scss}": "prettier --write"
}
}