Skip to content

Commit 6219d08

Browse files
champierrejoeyklee
authored andcommitted
Show the version number of the library. (#283)
Adds the library version from the package.json for each build.
1 parent b5195e2 commit 6219d08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import styleTransfer from './StyleTransfer/';
1616
import charRNN from './CharRNN/';
1717
import pix2pix from './Pix2pix/';
1818
import SketchRNN from './SketchRNN';
19+
import { version } from '../package.json';
1920

2021
module.exports = {
2122
imageClassifier,
@@ -31,5 +32,5 @@ module.exports = {
3132
SketchRNN,
3233
...imageUtils,
3334
tf,
35+
version,
3436
};
35-

0 commit comments

Comments
 (0)