Skip to content

Commit

Permalink
chore: update bundle config & package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoluoHe committed Jul 24, 2024
1 parent 2964e50 commit 1709317
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
10 changes: 8 additions & 2 deletions packages/vchart-theme-converter/bundler.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@

/**
* @type {Partial<import('@dp/bundler').Config>}
*/
module.exports = {
formats: ["cjs", "es", "umd"],
formats: ['cjs', 'es', 'umd'],
outputDir: {
es: 'esm',
cjs: 'cjs',
umd: 'build'
},
name: 'VChartThemeConverter',
umdOutputFilename: 'index'
};
29 changes: 22 additions & 7 deletions packages/vchart-theme-converter/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@visactor/vchart-theme-converter",
"version": "0.0.1",
"description": "",
"version": "1.11.5",
"description": "VChart theme converter between popular visualization libraries",
"sideEffects": false,
"main": "cjs/index.js",
"module": "es/index.js",
"types": "es/index.d.ts",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"files": [
"cjs",
"es",
"dist"
"esm",
"build"
],
"scripts": {
"compile": "tsc --noEmit",
Expand Down Expand Up @@ -94,5 +94,20 @@
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0"
}
},
"publishConfig": {
"access": "public"
},
"homepage": "https://www.visactor.io",
"bugs": "https://github.com/VisActor/vchart-theme/issues",
"repository": {
"type": "git",
"url": "https://github.com/VisActor/vchart-theme.git",
"directory": "packages/vchart-theme-converter"
},
"author": {
"name": "VisActor",
"url": "https://www.visactor.io/"
},
"license": "MIT"
}

0 comments on commit 1709317

Please sign in to comment.