5959 "mktest" : " node test/build/mktest.js" ,
6060 "mktest:help" : " node test/build/mktest.js -h" ,
6161 "checktype" : " tsc --noEmit" ,
62- "lint" : " npx eslint --cache --cache-location node_modules/.cache/eslint src/**/*.ts extension-src/**/*.ts" ,
62+ "lint" : " npx eslint --cache --cache-location node_modules/.cache/eslint src/**/*.ts ssr/client/src/**/*.ts extension-src/**/*.ts" ,
6363 "lint:fix" : " npx eslint --fix src/**/*.ts extension-src/**/*.ts" ,
6464 "lint:dist" : " echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
6565 },
101101 "terser" : " ^5.16.1" ,
102102 "ts-jest" : " ^26.4.3" ,
103103 "typescript" : " 4.4.3"
104+ },
105+ "type" : " module" ,
106+ "exports" : {
107+ "." : {
108+ "types" : " ./index.d.ts" ,
109+ "import" : " ./index.js" ,
110+ "require" : " ./index.js"
111+ },
112+ "./core" : " ./core.js" ,
113+ "./core.js" : " ./core.js" ,
114+ "./charts" : " ./charts.js" ,
115+ "./charts.js" : " ./charts.js" ,
116+ "./components" : " ./components.js" ,
117+ "./components.js" : " ./components.js" ,
118+ "./features" : " ./features.js" ,
119+ "./features.js" : " ./features.js" ,
120+ "./renderers" : " ./renderers.js" ,
121+ "./renderers.js" : " ./renderers.js" ,
122+ "./index.blank" : " ./index.blank.js" ,
123+ "./index.blank.js" : " ./index.blank.js" ,
124+ "./index.common" : " ./index.common.js" ,
125+ "./index.common.js" : " ./index.common.js" ,
126+ "./index.simple" : " ./index.simple.js" ,
127+ "./index.simple.js" : " ./index.simple.js" ,
128+ "./index" : " ./index.js" ,
129+ "./index.js" : " ./index.js" ,
130+ "./extension/dataTool" : " ./extension/dataTool/index.js" ,
131+ "./extension/dataTool/index" : " ./extension/dataTool/index.js" ,
132+ "./extension/dataTool/index.js" : " ./extension/dataTool/index.js" ,
133+ "./extension/bmap/bmap" : " ./extension/bmap/bmap.js" ,
134+ "./extension/bmap/bmap.js" : " ./extension/bmap/bmap.js" ,
135+ "./lib/echarts" : " ./lib/echarts.js" ,
136+ "./lib/echarts.js" : " ./lib/echarts.js" ,
137+ "./lib/extension" : " ./lib/extension.js" ,
138+ "./lib/extension.js" : " ./lib/extension.js" ,
139+ "./ssr/client/index" : {
140+ "types" : " ./ssr/client/index.d.ts" ,
141+ "import" : " ./ssr/client/index.js" ,
142+ "require" : " ./ssr/client/dist/index.js"
143+ },
144+ "./*.js" : " ./*.js" ,
145+ "./*.ts" : " ./*.ts" ,
146+ "./*.json" : " ./*.json" ,
147+ "./*" : " ./*.js"
104148 }
105- }
149+ }
0 commit comments