fix(core): update
This commit is contained in:
parent
97eba85337
commit
385acfd951
18949
package-lock.json
generated
18949
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
17
package.json
17
package.json
@ -5,23 +5,22 @@
|
||||
"description": "a comms module for communicating within the DOM",
|
||||
"main": "dist_ts/index.js",
|
||||
"typings": "dist_ts/index.d.ts",
|
||||
"type": "module",
|
||||
"author": "Lossless GmbH",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "(tstest test/ --web)",
|
||||
"build": "(tsbuild --web && tsbundle npm)"
|
||||
"build": "(tsbuild --web --allowimplicitany && tsbundle npm)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.29",
|
||||
"@gitzone/tsbundle": "^1.0.89",
|
||||
"@gitzone/tstest": "^1.0.60",
|
||||
"@pushrocks/tapbundle": "^4.0.0",
|
||||
"@types/node": "^17.0.10",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
"@gitzone/tsbuild": "^2.1.61",
|
||||
"@gitzone/tsbundle": "^1.0.101",
|
||||
"@gitzone/tstest": "^1.0.70",
|
||||
"@pushrocks/tapbundle": "^5.0.3",
|
||||
"@types/node": "^17.0.23"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apiglobal/typedrequest": "^1.0.65",
|
||||
"@apiglobal/typedrequest": "^2.0.0",
|
||||
"@apiglobal/typedrequest-interfaces": "^1.0.15",
|
||||
"broadcast-channel": "^3.7.0"
|
||||
},
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as deesComms from '../ts/index';
|
||||
import * as deesComms from '../ts/index.js';
|
||||
|
||||
let deesCommsTest: deesComms.DeesComms;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { TypedRequest } from '@apiglobal/typedrequest';
|
||||
import * as plugins from './dees-comms.plugins';
|
||||
import * as plugins from './dees-comms.plugins.js';
|
||||
|
||||
let BroadcastChannel = globalThis.BroadcastChannel;
|
||||
if (!BroadcastChannel) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import * as plugins from './dees-comms.plugins';
|
||||
import * as plugins from './dees-comms.plugins.js';
|
||||
|
||||
/**
|
||||
* a message that can be sent
|
||||
|
@ -1 +1 @@
|
||||
export * from './dees-comms.classes.deescomms';
|
||||
export * from './dees-comms.classes.deescomms.js';
|
||||
|
9
tsconfig.json
Normal file
9
tsconfig.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"experimentalDecorators": true,
|
||||
"useDefineForClassFields": false,
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "nodenext"
|
||||
}
|
||||
}
|
17
tslint.json
17
tslint.json
@ -1,17 +0,0 @@
|
||||
{
|
||||
"extends": ["tslint:latest", "tslint-config-prettier"],
|
||||
"rules": {
|
||||
"semicolon": [true, "always"],
|
||||
"no-console": false,
|
||||
"ordered-imports": false,
|
||||
"object-literal-sort-keys": false,
|
||||
"member-ordering": {
|
||||
"options":{
|
||||
"order": [
|
||||
"static-method"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultSeverity": "warning"
|
||||
}
|
Loading…
Reference in New Issue
Block a user