The test code contains a "require" which is interpreted as commonjs
feature. When a module depends on eclipse-scout/chart it interprets
the files in this dependency as ES module if explicitly stated in the
package.json or if there are no commonjs features in the source code. As
we can not eliminate the "require" from the test code the exports are
added to the package.json to ensure only the correct run time files are
checked.
Exclude test d.ts files from packaging.
The test code contains a "require" which is interpreted as commonjs feature. When a module depends on eclipse-scout/chart it interprets the files in this dependency as ES module if explicitly stated in the package.json or if there are no commonjs features in the source code. As we can not eliminate the "require" from the test code the exports are added to the package.json to ensure only the correct run time files are checked. Exclude test d.ts files from packaging.