1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 02:44:45 +00:00

feat(packages/stdlib): change build system to unbuild

This commit is contained in:
2024-04-19 02:29:27 +07:00
parent 26a99b7d67
commit 531e1721bb
6 changed files with 1630 additions and 407 deletions

View File

@@ -26,29 +26,28 @@
"files": [
"dist"
],
"main": "./dist/stdlib.umd.js",
"module": "./dist/stdlib.js",
"types": "./dist/stdlib.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/stdlib.js",
"require": "./dist/stdlib.umd.js",
"types": "./dist/stdlib.d.ts"
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:bench": "vitest bench",
"dev": "vite build --watch",
"build": "vite build"
"dev": "vitest",
"build": "unbuild"
},
"devDependencies": {
"@robonen/tsconfig": "workspace:*",
"@vitest/coverage-v8": "^1.5.0",
"pathe": "^1.1.2",
"vite": "^5.2.9",
"vite-plugin-dts": "^3.8.3",
"vitest": "^1.5.0"
"vitest": "^1.5.0",
"unbuild": "^2.0.0"
}
}