|
@@ -1,36 +1,45 @@
|
|
|
{
|
|
{
|
|
|
"name": "OM-Link",
|
|
"name": "OM-Link",
|
|
|
|
|
+ "projectname": "omlink",
|
|
|
"version": "1.9.7",
|
|
"version": "1.9.7",
|
|
|
"private": true,
|
|
"private": true,
|
|
|
"description": "OM-Link Engine",
|
|
"description": "OM-Link Engine",
|
|
|
"author": "Open Mind",
|
|
"author": "Open Mind",
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
- "Clean": "shx --silent rm -rf deploy.tar.gz tmp node_modules ui/admin/node_modules src_minified assets/frontend assets/admin Site.log cfg/*.old ui/*/masterpage.tpl fbtpl",
|
|
|
|
|
- "Install": "npm install",
|
|
|
|
|
- "Build DEV": "webpack --mode=none --config webpack.config.js --display-error-details",
|
|
|
|
|
- "Build PROD": "webpack --mode=production --config webpack.config.js --display-error-details",
|
|
|
|
|
- "Watch": "webpack --mode=none --config webpack.config.js --display-error-details --watch",
|
|
|
|
|
- "Deploy": "tar -zcvf deploy.tar.gz --exclude cfg/config.ini --exclude masterpage_template.tpl --exclude node_modules assets lib src ui/frontend/*.tpl index.php *.sql cfg"
|
|
|
|
|
- },
|
|
|
|
|
- "devDependencies": {
|
|
|
|
|
- "acorn": "^6.1.1",
|
|
|
|
|
- "clean-webpack-plugin": "^2.0.2",
|
|
|
|
|
- "css-loader": "^2.1.1",
|
|
|
|
|
- "file-loader": "^3.0.1",
|
|
|
|
|
- "html-webpack-plugin": "^3.2.0",
|
|
|
|
|
- "html-webpack-prefix-plugin": "^1.1.0",
|
|
|
|
|
- "mini-css-extract-plugin": "^0.6.0",
|
|
|
|
|
- "node-sass": "^4.12.0",
|
|
|
|
|
- "optimize-css-assets-webpack-plugin": "^5.0.1",
|
|
|
|
|
- "sass-loader": "^7.1.0",
|
|
|
|
|
- "terser": "^3.17.0",
|
|
|
|
|
- "url-loader": "^1.1.2",
|
|
|
|
|
- "webpack": "^4.31.0",
|
|
|
|
|
- "webpack-cli": "^3.3.2"
|
|
|
|
|
|
|
+ "clean": "shx --silent rm -rf deploy.tar.gz tmp node_modules ui/admin/node_modules src_minified assets/frontend assets/admin Site.log cfg/*.old ui/*/masterpage.tpl fbtpl *.tgz",
|
|
|
|
|
+ "postinstall": "node postinstall.js",
|
|
|
|
|
+ "buildDev": "webpack --mode=none --display-error-details",
|
|
|
|
|
+ "buildProd": "webpack --mode=production --display-error-details",
|
|
|
|
|
+ "watch": "webpack --mode=none --display-error-details --watch",
|
|
|
|
|
+ "pack": "npm pack"
|
|
|
},
|
|
},
|
|
|
|
|
+ "globalDependencies": [
|
|
|
|
|
+ "acorn",
|
|
|
|
|
+ "clean-webpack-plugin",
|
|
|
|
|
+ "css-loader",
|
|
|
|
|
+ "file-loader",
|
|
|
|
|
+ "html-webpack-plugin",
|
|
|
|
|
+ "html-webpack-prefix-plugin",
|
|
|
|
|
+ "mini-css-extract-plugin",
|
|
|
|
|
+ "node-sass",
|
|
|
|
|
+ "optimize-css-assets-webpack-plugin",
|
|
|
|
|
+ "sass-loader",
|
|
|
|
|
+ "terser-webpack-plugin",
|
|
|
|
|
+ "url-loader",
|
|
|
|
|
+ "webpack",
|
|
|
|
|
+ "webpack-cli"
|
|
|
|
|
+ ],
|
|
|
"dependencies": {
|
|
"dependencies": {
|
|
|
"bootstrap": "^4.3.1",
|
|
"bootstrap": "^4.3.1",
|
|
|
"jquery": "^3.4.1",
|
|
"jquery": "^3.4.1",
|
|
|
"popper.js": "^1.15.0"
|
|
"popper.js": "^1.15.0"
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ "files": [
|
|
|
|
|
+ "index.php",
|
|
|
|
|
+ "src",
|
|
|
|
|
+ "lib",
|
|
|
|
|
+ "cfg/config.bin",
|
|
|
|
|
+ "ui/*/*.tpl",
|
|
|
|
|
+ "assets"
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|