-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 3 KB
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
76
77
78
79
80
{
"name": "kea-typegen",
"version": "3.8.5",
"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": "node --experimental-vm-modules node_modules/.bin/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:inline:check": "ts-node ./src/cli/typegen.ts check -r ./samples-inline --inline",
"samples:inline:write": "ts-node ./src/cli/typegen.ts write -r ./samples-inline --inline --delete",
"samples:write:posthog": "NODE_OPTIONS=\"--max-old-space-size=16384\" ts-node ./src/cli/typegen.ts write --show-ts-errors -c",
"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 <marius.andra@gmail.com>",
"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": "^3.6.2",
"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": "^28.1.3",
"kea": "^3.1.5",
"kea-router": "^3.1.4",
"kea-forms": "^3.2.0",
"kea-loaders": "^3.1.0",
"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": "^28.0.8",
"ts-node": "^10.7.0",
"typescript": "5.9.3"
},
"peerDependencies": {
"typescript": ">=5.9.0"
},
"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"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}