Skip to content

Commit

Permalink
chore: add vite and vitest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 26, 2024
1 parent b29bc03 commit 867b040
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 119 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ pnpm-lock.yaml

# Build directory
build
dist/
*.tsbuildinfo
.DS_Store
18 changes: 10 additions & 8 deletions packages/signal-polyfill/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
{
"name": "signal-polyfill",
"version": "0.1.0",
"description": "A polyfill for the TC39 Signals proposal.",
"description": "A polyfill for the TC39 Signal proposal.",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -b tsconfig.json",
"watch": "tsc -b tsconfig.json -watch"
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest"
},
"author": "EisenbergEffect",
"license": "MIT",
"dependencies": {
"tslib": "latest"
},
"devDependencies": {
"typescript": "latest"
"@types/node": "^20.11.25",
"typescript": "latest",
"vite": "^5.2.6",
"vite-plugin-dts": "^3.7.3",
"vitest": "^1.4.0"
}
}
}
Loading

0 comments on commit 867b040

Please sign in to comment.