-
Notifications
You must be signed in to change notification settings - Fork 2
/
module.dist.paths.js
42 lines (38 loc) · 1.92 KB
/
module.dist.paths.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Copyright (c) 2018-2019 Pavel Kastornyy. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
import mainPackageJson from './package.json'
import graphicsPackageJson from './modules/script4jfx.graphics/package.json'
import loaderPackageJson from './modules/script4jfx.loader/package.json'
const PROJECT_VERSION = mainPackageJson.version;
const JQUERY_VERSION = graphicsPackageJson.devDependencies.jquery;
const REFLECT_VERSION = loaderPackageJson.devDependencies["reflect-metadata"];
const PATHS = {
"script4j.base" : "./script4j.base-" + PROJECT_VERSION + ".js",
"script4jfx.jquery" : "./script4jfx.jquery-" + PROJECT_VERSION + ".js",
"script4jfx.base" : "./script4jfx.base-" + PROJECT_VERSION + ".js",
"script4jfx.demo" : "./script4jfx.demo-" + PROJECT_VERSION + ".js",
"script4jfx.graphics" : "./script4jfx.graphics-" + PROJECT_VERSION + ".js",
"script4jfx.controls" : "./script4jfx.controls-" + PROJECT_VERSION + ".js",
"script4jfx.loader" : "./script4jfx.loader-" + PROJECT_VERSION + ".js",
"jquery" : "./jquery-" + JQUERY_VERSION + ".min.js",
"reflect-metadata": "./reflect-" + REFLECT_VERSION + ".js",
}
export default PATHS;