Skip to content

Commit

Permalink
Set package.json main to "src/index.ts", add test all alias
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongwartz committed Mar 9, 2024
1 parent 20ea5f1 commit b07c16c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pkl-community/pkl-typescript",
"description": "Typescript bindings for Pkl",
"version": "0.0.2",
"main": "lib/index.js",
"main": "src/index.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/pkl-community/pkl-typescript.git"
Expand All @@ -21,6 +21,7 @@
"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"
},
Expand Down

0 comments on commit b07c16c

Please sign in to comment.