mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-02-01 14:33:45 +00:00
25 lines
562 B
JavaScript
25 lines
562 B
JavaScript
var fs = require('fs')
|
|
|
|
module.exports = function(config) {
|
|
config.set({
|
|
browserify: {
|
|
debug: true,
|
|
extensions: ['.ts'],
|
|
plugin: [['tsify', JSON.parse(fs.readFileSync('./tsconfig.json', 'utf8')).compilerOptions]],
|
|
transform: ['brfs'],
|
|
},
|
|
browsers: ['ChromeHeadless', 'Firefox'],
|
|
concurrency: 1,
|
|
files: [
|
|
'spec/**/*.spec.ts'
|
|
],
|
|
frameworks: ['jasmine', 'browserify'],
|
|
mime: {
|
|
'text/x-typescript': ['ts','tsx']
|
|
},
|
|
preprocessors: {
|
|
'spec/**/*.spec.ts': ['browserify'],
|
|
}
|
|
})
|
|
}
|