@dawntech/dispatcher 0.0.1 → 0.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dawntech/dispatcher",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "A TypeScript Node.js package for sending push messages in conversational chatbots on the Blip platform.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/.prettierignore DELETED
@@ -1,4 +0,0 @@
1
- dist/
2
- node_modules/
3
- *.json
4
- context/
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "trailingComma": "es5",
5
- "printWidth": 100,
6
- "tabWidth": 2
7
- }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @dawntech/dwn-dispatcher
2
-
3
- Pending readme.
package/jest.config.js DELETED
@@ -1,48 +0,0 @@
1
- /** @type {import('jest').Config} */
2
- export default {
3
- preset: 'ts-jest/presets/default-esm',
4
- testEnvironment: 'node',
5
- extensionsToTreatAsEsm: ['.ts'],
6
- moduleNameMapper: {
7
- '^(\\.{1,2}/.*)\\.js$': '$1',
8
- },
9
- transform: {
10
- '^.+\\.tsx?$': [
11
- 'ts-jest',
12
- {
13
- useESM: true,
14
- tsconfig: 'tsconfig.test.json',
15
- diagnostics: false,
16
- },
17
- ],
18
- '^.+\\.js$': [
19
- 'ts-jest',
20
- {
21
- useESM: true,
22
- },
23
- ],
24
- },
25
- testMatch: [
26
- '**/tests/**/*.ts',
27
- ],
28
- collectCoverageFrom: [
29
- 'src/**/*.ts',
30
- '!src/index.ts',
31
- '!src/types/**',
32
- ],
33
- coverageThreshold: {
34
- global: {
35
- branches: 70,
36
- functions: 70,
37
- lines: 70,
38
- statements: 70,
39
- },
40
- },
41
- testTimeout: 10000,
42
- clearMocks: true,
43
- resetMocks: true,
44
- restoreMocks: true,
45
- transformIgnorePatterns: [
46
- 'node_modules/(?!uuid)',
47
- ],
48
- };
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "commonjs",
5
- "lib": ["ES2020"],
6
- "types": ["node", "jest"],
7
- "outDir": "./dist",
8
- "rootDir": "./src",
9
- "declaration": true,
10
- "declarationMap": true,
11
- "declarationDir": "./types",
12
- "sourceMap": true,
13
- "strict": true,
14
- "esModuleInterop": true,
15
- "skipLibCheck": true,
16
- "forceConsistentCasingInFileNames": true,
17
- "moduleResolution": "node",
18
- "resolveJsonModule": true
19
- },
20
- "include": ["src/**/*"],
21
- "exclude": ["node_modules", "dist", "examples", "tests"]
22
- }
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "moduleResolution": "node",
6
- "types": ["node", "jest"],
7
- "allowJs": true
8
- },
9
- "include": ["src/**/*", "tests/**/*"]
10
- }
package/tsup.config.js DELETED
@@ -1,10 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- export default defineConfig({
4
- entry: ['src'],
5
- sourcemap: true,
6
- clean: true,
7
- format: ['cjs', 'esm'],
8
- dts: true,
9
- minify: true,
10
- })