-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.86 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
{
"name": "@pkl-community/pkl-typescript",
"description": "Typescript bindings for Pkl",
"version": "0.0.17",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pkl-community/pkl-typescript.git"
},
"publishConfig": {
"@pkl-community:registry": "https://registry.npmjs.org"
},
"author": "Pkl community Developers",
"license": "Apache-2.0",
"homepage": "https://github.com/pkl-community/pkl-typescript#readme",
"scripts": {
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "tsc -p tsconfig.dist.json && mkdir -p dist/codegen && cp -r codegen/src dist/codegen/src",
"test:e2e": "jest",
"test:codegen": "pkl test $(find ./codegen/src/ -name '*.test.pkl')",
"test:snippet": "pkl test ./codegen/snippet-tests/test.pkl",
"test": "npm run test:codegen && npm run test:snippet && npm run test:e2e",
"dev": "tsx pkl-gen-typescript/main.ts",
"gen-snippets": "npm run dev -- --settings-file codegen/snippet-tests/generator-settings.pkl -o codegen/snippet-tests/output codegen/snippet-tests/input/*.pkl"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/node": "^18.19.18",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"tsx": "^4.7.1",
"typescript": "^4.9.4"
},
"dependencies": {
"chalk": "^4.1.2",
"cmd-ts": "^0.13.0",
"consola": "^3.2.3",
"msgpackr": "^1.10.1"
},
"peerDependencies": {
"@pkl-community/pkl": "*"
},
"bin": {
"pkl-gen-typescript": "./dist/bin/pkl-gen-typescript.js"
}
}