Skip to content

Commit

Permalink
graph-explorer: setup types
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Oct 21, 2024
1 parent 91e1bda commit af011cc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions packages/graph-explorer/.npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.eslintrc
.github
node_modules
test
coverage/
Expand Down
10 changes: 8 additions & 2 deletions packages/graph-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "Trifid Graph Explorer plugin",
"type": "module",
"main": "index.js",
"types": "dist/index.d.ts",
"version": "2.0.4",
"license": "MIT",
"homepage": "https://github.com/zazuko/trifid",
Expand All @@ -16,7 +17,11 @@
},
"scripts": {
"coverage": "codecov",
"test": "c8 --all --reporter=lcovonly --reporter=text node --test **/*.test.js"
"test": "c8 --all --reporter=lcovonly --reporter=text node --test **/*.test.js",
"clean": "rimraf dist/",
"prebuild": "npm run clean",
"build": "tsc",
"prepack": "npm run build"
},
"author": {
"name": "Zazuko GmbH",
Expand All @@ -35,7 +40,8 @@
"devDependencies": {
"@types/node": "^22.7.7",
"c8": "^10.1.2",
"trifid-core": "^5.0.0"
"trifid-core": "^5.0.0",
"typescript": "^5.6.3"
},
"publishConfig": {
"access": "public",
Expand Down
6 changes: 6 additions & 0 deletions packages/graph-explorer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist"
}
}

0 comments on commit af011cc

Please sign in to comment.