Skip to content

Commit

Permalink
add typings and module declaration (FF-863) (#10)
Browse files Browse the repository at this point in the history
* add typings and module declaration (FF-863)

* typings is in dist directory; no new file
  • Loading branch information
leoromanovsky committed Aug 31, 2023
1 parent e43426a commit 3f479c9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@
"files": [
"/dist"
],
"typings": "dist/js-client-sdk-common.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"lint": "eslint '**/*.{ts,tsx}' --cache",
"lint:fix": "eslint --fix '**/*.{ts,tsx}' --cache",
"lint:fix-pre-commit": "eslint -c .eslintrc.pre-commit.js --fix '**/*.{ts,tsx}' --no-eslintrc --cache",
"prepare": "make prepare",
"pre-commit": "lint-staged && tsc && yarn docs",
"pre-commit": "lint-staged && tsc",
"typecheck": "tsc",
"test": "yarn test:unit",
"test:unit": "NODE_ENV=test jest '.*\\.spec\\.ts'",
"docs": "api-documenter markdown -i ./temp -o ./docs"
"test:unit": "NODE_ENV=test jest '.*\\.spec\\.ts'"
},
"jsdelivr": "dist/eppo-sdk.js",
"repository": {
Expand Down

0 comments on commit 3f479c9

Please sign in to comment.