Skip to content

Commit

Permalink
Moved tsc script config to tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
victrme committed Dec 9, 2023
1 parent 89263ce commit dfa89a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@victr/suggestions",
"description": "Gets search suggestions from a number of search engines",
"version": "0.2.2",
"version": "0.2.3",
"author": "Victor Azevedo",
"license": "MIT",
"scripts": {
"test": "vitest",
"build": "tsc src/index.ts --outdir dist/ --module esnext --target esnext --declaration",
"test": "vitest --run",
"build": "tsc",
"cloudflare:dev": "pnpm --filter cloudflare dev",
"netlify:dev": "netlify dev --filter netlify"
},
Expand Down
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"compilerOptions": {
"outDir": "dist/",
"target": "ESNext",
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"moduleResolution": "node",
"strict": true
}
"strict": true,
"declaration": true
},
"include": ["src/index.ts"]
}

0 comments on commit dfa89a7

Please sign in to comment.