Debian Codegraph @

js/version.ts

raw
1 // Copyright (c) NumFOCUS.
2 // Distributed under the terms of the Modified BSD License.
3
4 const data = require('../package.json');
5
6 /**
7 * The _model_module_version/_view_module_version this package implements.
8 *
9 * The html widget manager assumes that this is the same as the npm package
10 * version number.
11 */
12 export const MODULE_VERSION = data.version;
13
14 /*
15 * The current package name.
16 */
17 export const MODULE_NAME = data.name;