mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
21 lines
327 B
JavaScript
21 lines
327 B
JavaScript
const create = require('./create')
|
|
|
|
module.exports = {
|
|
get defaults() {
|
|
return create()
|
|
},
|
|
get jsWithTs() {
|
|
return create({ allowJs: true })
|
|
},
|
|
get jsWithBabel() {
|
|
return create(
|
|
{ allowJs: false },
|
|
{
|
|
transform: {
|
|
'^.+\\.jsx?$': 'babel-jest',
|
|
},
|
|
}
|
|
)
|
|
},
|
|
}
|