Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: config package.json #14

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
"types": "lib/index.d.ts",
"unpkg": "dist/index.umd.min.js",
"sideEffects": false,
"files": [
"lib",
"esm",
"dist",
"src",
"README.md",
"LICENSE"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"README.md", "LICENSE" 是默认包含的,可以不写。

],
"scripts": {
"clean": "rimraf lib esm dist",
"doc": "typedoc src/index.ts --plugin typedoc-plugin-markdown",
Expand All @@ -18,7 +26,8 @@
"build:cjs": "rimraf ./lib && tsc --module commonjs --outDir lib",
"build:esm": "rimraf ./esm && tsc --module ESNext --outDir esm",
"build": "run-p build:*",
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd"
"bundle-vis": "cross-env BUNDLE_VIS=1 run-p build:umd",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@antv/event-emitter": "^0.1.3"
Expand Down
Loading