Skip to content

Commit

Permalink
ESM only again
Browse files Browse the repository at this point in the history
  • Loading branch information
kidonng committed Mar 31, 2023
1 parent d4c68c8 commit a1d2c37
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 757 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
dist
index.js
index.d.ts
*.tgz

/demo/dist
10 changes: 0 additions & 10 deletions build.config.ts

This file was deleted.

17 changes: 4 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,18 @@
"description": "UnoCSS preset for daisyUI",
"scripts": {
"build": "vite build demo",
"prepack": "tsc --noEmit && unbuild",
"prepack": "tsc",
"preview": "vite preview demo --host",
"start": "vite demo --host"
},
"repository": "kidonng/unocss-preset-daisy",
"license": "MIT",
"author": "Kid <[email protected]> (https://xuann.wang/)",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"main": "./dist/index.cjs",
"exports": "./index.js",
"files": [
"dist"
"index.js",
"index.d.ts"
],
"dependencies": {
"camelcase": "^7.0.1",
Expand All @@ -41,7 +33,6 @@
"@types/postcss-js": "^4.0.0",
"@unocss/reset": "^0.50.3",
"typescript": "^4.9.5",
"unbuild": "^1.1.2",
"vite": "^4.1.4",
"xo": "^0.53.1"
}
Expand Down

0 comments on commit a1d2c37

Please sign in to comment.