UNPKG
create-vitriol
Version:
latest (0.9.9)
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.0
0.0.1
Create Mithril + Vite projects
github.com/DeJy/vitriol
DeJy/vitriol
create-vitriol
/
template
/
jsx
/
test
/
setup.js
11 lines
(9 loc)
•
250 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
m
from
"mithril"
; globalThis.
m
= m;
const
mq =
require
(
'mithril-query'
) globalThis.
mq
= mq;
import
{ describe, expect, it, vi }
from
'vitest'
; globalThis.
expect
= expect; globalThis.
describe
= describe globalThis.
it
= it; globalThis.
vi
= vi;