Skip to content

Commit

Permalink
chore: updated package type to module
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Oct 23, 2022
1 parent 9967fa7 commit 2b5fb6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
presets: [
'@babel/preset-typescript'
]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "crawlab-vuepress-plugin-mermaidjs",
"version": "2.0.7",
"version": "2.0.8",
"description": "A Vuepress plugin providing easy MermaidJS diagramming with customizations for Crawlab",
"type": "module",
"main": "dist/index.cjs",
"main": "dist/index.min.js",
"repository": "https://github.com/crawlab-team/vuepress-plugin-mermaidjs",
"author": "Marvin Zhang",
"license": "MIT",
Expand All @@ -30,7 +30,7 @@
"test:setup-docs-server": "vuepress build docs && http-server docs/.vuepress/dist",
"cypress:run": "cypress run",
"test": "start-server-and-test test:setup-docs-server http-get://127.0.0.1:8080 cypress:run",
"build": "tsc -p tsconfig.json && babel src/*.ts --out-file dist/index.cjs --extensions \".ts\" --source-maps inline",
"build": "tsc -p tsconfig.json && babel src/*.ts --out-file dist/index.min.js --extensions \".ts\" --source-maps inline",
"dev": "vuepress dev docs"
},
"files": [
Expand Down

0 comments on commit 2b5fb6a

Please sign in to comment.