UNPKG
standard-commit
Version:
@next (2.0.0-rc4)
latest (4.3.0)
next (2.0.0-rc2)
4.3.0
4.2.6
4.2.5
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.1
4.0.0
3.3.0
3.2.3
3.2.1
3.2.0
3.1.0
3.0.2
3.0.1
3.0.0
2.1.1
2.1.0
2.0.0
2.0.0-rc4
2.0.0-rc3
2.0.0-rc2
2.0.0-rc1
1.5.1
1.5.0
1.4.1
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
0.10.0
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
conventional commit
github.com/stasson/standard-commit
stasson/standard-commit
standard-commit
/
bin
/
commit.js
10 lines
(7 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env node
const
importLocal =
require
(
'import-local'
);
const
loudRejection =
require
(
'loud-rejection'
);
loudRejection
(
err
=>
console
.
error
(
'Internal Error:'
, err.
message
))
if
(!
importLocal
(__filename)) {
require
(
'../dist/cli/commit.js'
) }