dt-toolbox 7.4.9 → 7.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/rollup.config.js DELETED
@@ -1,41 +0,0 @@
1
- import resolve from '@rollup/plugin-node-resolve'
2
- import commonjs from '@rollup/plugin-commonjs'
3
- import terser from '@rollup/plugin-terser';
4
-
5
-
6
- export default [
7
- // browser-friendly UMD build
8
- {
9
- input: 'src/main.js',
10
- output: {
11
- name: 'dtbox',
12
- file: 'dist/dtbox.umd.js',
13
- format: 'umd',
14
- globals: {
15
- '@peter.naydenov/walk': 'walk'
16
- }
17
- },
18
- external: ['@peter.naydenov/walk'],
19
- plugins: [
20
- resolve(), // so Rollup can find `ms`
21
- commonjs() // so Rollup can convert `ms` to an ES module
22
- , terser()
23
- ]
24
- },
25
-
26
- // CommonJS (for Node) and ES module (for bundlers) build.
27
- // (We could have three entries in the configuration array
28
- // instead of two, but it's quicker to generate multiple
29
- // builds from a single configuration where possible, using
30
- // an array for the `output` option, where we can specify
31
- // `file` and `format` for each target)
32
- {
33
- input: 'src/main.js',
34
- external: ['@peter.naydenov/walk'],
35
- output: [
36
- { file: 'dist/dtbox.cjs' , format: 'cjs' },
37
- { file: 'dist/dtbox.esm.mjs', format: 'es' }
38
- ],
39
- plugins: [ terser() ]
40
- }
41
- ];
package/vitest.config.js DELETED
@@ -1,14 +0,0 @@
1
- import { defineConfig } from 'vitest/config'
2
-
3
- export default defineConfig ( {
4
- test: {
5
- globals : true
6
- , include : [ 'test/**/*.test.js' ]
7
- , coverage : {
8
- provider : 'v8'
9
- , include : [ 'src/**/*.js' ]
10
- , exclude : [ 'node_modules', 'test', 'test-data' ]
11
- , reporter : [ 'lcov', 'text-summary' ]
12
- }
13
- }
14
- })