Skip to content

Commit

Permalink
feat: Vite 4 built, ESM only export
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeeinlondon committed Dec 9, 2022
1 parent 500b3ed commit 1596b5f
Show file tree
Hide file tree
Showing 7 changed files with 749 additions and 186 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
auto-install-peers=true
strict-peer-dependencies=false
25 changes: 16 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format=cjs,esm --dts --clean --external @unocss/vite",
"watch": "tsup src/index.ts --format=cjs,esm --dts --watch",
"build": "tsup src/index.ts --format=esm --dts --clean --external @unocss/vite",
"watch": "tsup src/index.ts --format=esm --dts --watch",
"lint": "run-p lint:*",
"lint:src": "eslint ./src/**/*.ts --fix",
"lint:test": "eslint ./test/**/*.ts --fix",
Expand All @@ -50,18 +48,23 @@
"inferred-types": ">=0.37.6",
"markdown-it": ">=13",
"pathe": "^1.0.0",
"prismjs": "^1.29.0"
"prismjs": "^1.29.0",
"unocss": "^0.47.5"
},
"devDependencies": {
"@antfu/ni": "^0.18.8",
"@rollup/pluginutils": "^5.0.2",
"@types/markdown-it": "^12.2.3",
"@types/node": "^16.18.7",
"@types/prismjs": "^1.26.0",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"@vitejs/plugin-vue": "^3.2.0",
"@unocss/vite": "^0.47.5",
"@vitejs/plugin-vue": "^4.0.0",
"@vitest/ui": "^0.25.6",
"@vue/test-utils": "^2.2.6",
"@yankeeinlondon/builder-api": "^0.5.0",
"@yankeeinlondon/happy-wrapper": "^2.9.4",
"bumpp": "^8.2.1",
"c8": "^7.12.0",
"eslint": "^8.29.0",
Expand All @@ -72,17 +75,21 @@
"eslint-plugin-unicorn": "^45.0.1",
"fp-ts": "^2.13.1",
"happy-dom": "^8.1.0",
"inferred-types": "^0.37.6",
"markdown-it": "^13.0.1",
"npm-run-all": "^4.1.5",
"pathe": "^1.0.0",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"prismjs": "^1.29.0",
"rollup": "^3.7.0",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vite": "^3.2.5",
"unocss": "^0.47.5",
"vite": "^4.0.0",
"vite-plugin-md": "^0.20.4",
"vitest": "^0.25.6",
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"packageManager": "[email protected]"
}
}
Loading

0 comments on commit 1596b5f

Please sign in to comment.