UNPKG
chopcal
Version:
latest (3.0.3)
3.0.3
3.0.2
3.0.1
3.0.0
2.0.0
1.0.0
Chop numbers.
github.com/okunishinishi/node-chopcal
okunishinishi/node-chopcal
chopcal
/
ci
/
shim.js
20 lines
(14 loc)
•
298 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env node
/** * Compile to browser source */
'use strict'
process.
chdir
(
`
${__dirname}
/..`
)
const
apeTasking =
require
(
'ape-tasking'
)
const
ababel =
require
(
'ababel'
) apeTasking.
runTasks
(
'browser'
, [
() =>
ababel
(
'**/*.js'
, {
cwd
:
'lib'
,
out
:
'shim/browser'
}) ],
true
)