mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
fix(plugin): don't ignore lib
es
folder when publishing, also export es/index.js
( not ts )
This commit is contained in:
parent
d923571707
commit
3cdb2f6fd1
@ -13,8 +13,6 @@ coverage
|
||||
# Dependency directories
|
||||
node_modules
|
||||
**/node_modules
|
||||
**/lib
|
||||
**/es
|
||||
jspm_packages/
|
||||
|
||||
# Optional npm cache directory
|
||||
@ -33,10 +31,6 @@ jspm_packages/
|
||||
# IDE
|
||||
.idea
|
||||
|
||||
# build
|
||||
lib
|
||||
build
|
||||
|
||||
# lock
|
||||
package-lock.json
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
"version": "0.0.6",
|
||||
"description": "G6 Plugin",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.ts",
|
||||
"module": "es/index.js",
|
||||
"scripts": {
|
||||
"build": "npm run clean && father build",
|
||||
"ci": "npm run build && npm run coverage",
|
||||
|
Loading…
Reference in New Issue
Block a user