vue-component-tree
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -1,91 +0,46 @@ | ||
// Karma configuration | ||
var path = require('path') | ||
var webpack = require('webpack') | ||
var webpackConfig = require('./src/build/webpack.config.test') | ||
module.exports = function (config) { | ||
config.set({ | ||
// base path that will be used to resolve all patterns (eg. files, exclude) | ||
// Paths | ||
basePath: '', | ||
logLevel: config.LOG_DEBUG, | ||
client: { | ||
captureConsole: true | ||
}, | ||
// frameworks to use | ||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter | ||
frameworks: ['jasmine', 'requirejs'], | ||
reporters: [ | ||
'coverage', | ||
'dots', | ||
], | ||
// list of files / patterns to load in the browser | ||
exclude: [], | ||
files: [ | ||
'test/test-main.js', | ||
'test/unit/**/*.js', | ||
'test/**/*.test.ts', | ||
], | ||
// list of files to exclude | ||
exclude: [], | ||
// preprocess matching files before serving them to the browser | ||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor | ||
// Module processing | ||
preprocessors: { | ||
'test/unit/**/*.js': ['webpack', 'coverage'] | ||
'test/**/*.ts': ['webpack'], | ||
}, | ||
webpack: { | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.vue$/, | ||
loader: 'vue-loader', | ||
}, | ||
{ | ||
test: /\.js$/, | ||
loader: 'babel-loader', | ||
exclude: /node_modules/ | ||
}, | ||
] | ||
}, | ||
// Targets | ||
browsers: ['Chrome'], | ||
client: { | ||
captureConsole: true | ||
}, | ||
webpackMiddleware: { | ||
// webpack-dev-middleware configuration | ||
// i. e. | ||
stats: 'errors-only' | ||
mime: { | ||
'text/x-typescript': ['ts','tsx'] | ||
}, | ||
coverageReporter: { | ||
type: 'html', | ||
dir: 'coverage/' | ||
}, | ||
// web server port | ||
port: 9876, | ||
// enable / disable colors in the output (reporters and logs) | ||
// Reporters | ||
reporters: ['dots'], | ||
logLevel: config.LOG_INFO, | ||
colors: true, | ||
// level of logging | ||
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG | ||
logLevel: config.LOG_INFO, | ||
// Test framework configuration | ||
frameworks: ['jasmine'], | ||
// enable / disable watching file and executing tests whenever any file changes | ||
// Runner configuration | ||
port: 9876, | ||
autoWatch: true, | ||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
browsers: ['Chrome'], | ||
// Continuous Integration mode | ||
// if true, Karma captures browsers, runs the tests and exits | ||
singleRun: false, | ||
concurrency: Infinity, | ||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
concurrency: Infinity | ||
// Webpack config | ||
webpack: webpackConfig, | ||
webpackMiddleware: { | ||
stats: 'errors-only' | ||
}, | ||
}) | ||
} |
{ | ||
"name": "vue-component-tree", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Tree view for your demo components", | ||
@@ -31,2 +31,3 @@ "main": "index.js", | ||
"@types/d3": "^4.10.0", | ||
"@types/jasmine": "^2.5.54", | ||
"babel-core": "^6.26.0", | ||
@@ -55,2 +56,3 @@ "babel-eslint": "^7.2.3", | ||
"karma-requirejs": "^1.1.0", | ||
"karma-sourcemap-loader": "^0.3.7", | ||
"karma-webpack": "^2.0.3", | ||
@@ -57,0 +59,0 @@ "node-libs-browser": "^2.0.0", |
import DemoFile from './DemoFile' | ||
import vmDemoPage from '../../components/DemoPage.vue' | ||
import vmDemoPage from '../../components/DemoPage/DemoPage.vue' | ||
import DemoFileCollection from './DemoFileCollection' | ||
@@ -5,0 +5,0 @@ import {RouterOptions} from 'vue-router' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4884018
100
26832
42