kv-test-lib 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +5 -1
  2. package/webpack.config.js +0 -64
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "kv-test-lib",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "",
6
+ "main": "dist/kochava.js",
7
+ "files": [
8
+ "dist"
9
+ ],
6
10
  "scripts": {
7
11
  "build": "tsc -p ../../src/tsconfig.node.json",
8
12
  "test": "tsc -p ."
package/webpack.config.js DELETED
@@ -1,64 +0,0 @@
1
- // Generated using webpack-cli https://github.com/webpack/webpack-cli
2
-
3
- const path = require('path');
4
- // import * as path from 'path';
5
-
6
- const isProduction = process.env.NODE_ENV == 'production';
7
-
8
- const kochavaConfig = {
9
- entry: '../../src/kochava.ts',
10
- plugins: [
11
- // Add your plugins here
12
- // Learn more about plugins from https://webpack.js.org/configuration/plugins/
13
- ],
14
- output: {
15
- filename: 'kochava.js',
16
- path: path.resolve(__dirname, 'dist'),
17
- clean: true,
18
- },
19
- target: 'web',
20
- module: {
21
- rules: [
22
- {
23
- test: /\.(ts|tsx)$/i,
24
- loader: 'ts-loader',
25
- exclude: ['/node_modules/'],
26
- options: {
27
- configFile: "tsconfig.node.json"
28
- }
29
- },
30
- {
31
- test: /\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
32
- type: 'asset',
33
- },
34
-
35
- // Add your rules for custom modules here
36
- // Learn more about loaders from https://webpack.js.org/loaders/
37
- ],
38
- },
39
- resolve: {
40
- extensions: ['.ts', '.js'],
41
- },
42
- mode: (isProduction) ? 'production' : 'development',
43
- devtool: 'source-map',
44
- };
45
-
46
-
47
- module.exports = [
48
- kochavaConfig,
49
- ];
50
- module.exports.parallelism = 2;
51
-
52
-
53
-
54
-
55
-
56
- // module.exports = () => {
57
- // if (isProduction) {
58
- // config.mode = 'production';
59
- // } else {
60
- // config.mode = 'development';
61
- // }
62
- // return config;
63
- // };
64
-