@marcoms/make-element
Advanced tools
Comparing version 4.1.2 to 4.1.3
module.exports = (config) => { | ||
config.set({ | ||
frameworks: ['mocha', 'karma-typescript'], | ||
browsers: ['chromeHeadless'], | ||
singleRun: true, | ||
concurrency: Infinity, | ||
reporters: ['mocha'], | ||
port: 9876, | ||
colors: true, | ||
logLevel: config.LOG_WARN, | ||
config.set({ | ||
frameworks: ['mocha', 'karma-typescript'], | ||
browsers: ['ChromeHeadless'], | ||
singleRun: true, | ||
concurrency: Infinity, | ||
reporters: ['mocha'], | ||
port: 9876, | ||
colors: true, | ||
logLevel: config.LOG_WARN, | ||
files: [ | ||
'src/*.ts', | ||
], | ||
files: [ | ||
'src/*.ts', | ||
'test/*.ts', | ||
preprocessors: { | ||
'**/*.ts': ['karma-typescript'], | ||
}, | ||
{ | ||
pattern: 'test/*.html', | ||
watched: false, | ||
included: false, | ||
served: true, | ||
}, | ||
], | ||
karmaTypescriptConfig: { | ||
compilerOptions: { | ||
target: 'es6', | ||
}, | ||
}, | ||
preprocessors: { | ||
'**/*.ts': ['karma-typescript'], | ||
}, | ||
customLaunchers: { | ||
chromeHeadless: { | ||
base: 'Chrome', | ||
flags: [ | ||
'--headless', | ||
'--disable-gpu', | ||
'--remote-debugging-port=9222', | ||
], | ||
}, | ||
}, | ||
}) | ||
karmaTypescriptConfig: { | ||
compilerOptions: { | ||
target: 'es6', | ||
baseUrl: __dirname, | ||
}, | ||
}, | ||
}); | ||
}; |
{ | ||
"name": "@marcoms/make-element", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Create custom elements without boilerplate", | ||
"main": "build/make-element.js", | ||
"types": "build/src/index.d.ts", | ||
"repository": {}, | ||
@@ -16,3 +17,4 @@ "keywords": [ | ||
"scripts": { | ||
"build": "webpack" | ||
"build": "webpack", | ||
"test": "karma start" | ||
}, | ||
@@ -33,4 +35,5 @@ "author": "Marco Scannadinari <m@scannadinari.co.uk>", | ||
"ts-loader": "^2.2.2", | ||
"tslint": "^5.5.0", | ||
"typescript": "^2.4.1" | ||
} | ||
} |
@@ -8,3 +8,3 @@ export interface ArbitraryFn { (...args: any[]): any; } | ||
type ReadyFn = ArbitraryFn; | ||
export type ReadyFn = ArbitraryFn; | ||
@@ -11,0 +11,0 @@ export interface ElementDef { |
{ | ||
"compilerOptions": { | ||
"target": "es6" | ||
"target": "es6", | ||
"declaration": true | ||
} | ||
} |
@@ -21,2 +21,5 @@ const path = require('path'); | ||
loader: 'ts-loader', | ||
options: { | ||
logLevel: 'warn', | ||
}, | ||
}, | ||
@@ -23,0 +26,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
24
1
188181
13
931