Skip to content

Commit

Permalink
Fix publication
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Mar 19, 2024
1 parent b2b82e2 commit 7fd75e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ types
/geoblocks-print-*.tgz
/ghpages
/test_results/
/lib
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
{
"name": "@geoblocks/print",
"version": "0.7.6",
"module": "dist/print.js",
"exports": {
".": [
"./dist/print.js",
"./src/main.ts"
],
"./src/*": "./src/*"
},
"module": "lib/print.js",
"main": "lib/print.js",
"type": "module",
"types": "types/main.d.ts",
"types": "lib/types/main.d.ts",
"files": [
"dist/print.js",
"dist/print.js.map",
"types/*.d.ts"
"lib/*",
"src/*"
],
"license": "BSD-2-Clause",
"scripts": {
Expand All @@ -24,6 +17,7 @@
"build": "tsc && vite build",
"build-ghpages": "tsc && vite -c vite.config.ghpages.ts build",
"preview": "vite -c vite.config.ghpages.ts preview",
"prepare": "tsc --pretty",
"test": "jest"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"compilerOptions": {
"module": "esnext",
"lib": ["es2020", "dom", "dom.iterable"],
"outDir": "./lib",
"inlineSourceMap": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "./lib/types",
"esModuleInterop": true,
"isolatedModules": true,
"noEmit": false,
"outDir": "./types",
"rootDir": "./src",
"skipLibCheck": true,
"strict": true,
Expand Down

0 comments on commit 7fd75e4

Please sign in to comment.