2019-08-08 19:39:06 +03:00
|
|
|
{
|
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
|
"version": 1,
|
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
|
"projects": {
|
|
|
|
|
"thingsboard": {
|
|
|
|
|
"root": "",
|
|
|
|
|
"sourceRoot": "src",
|
|
|
|
|
"projectType": "application",
|
|
|
|
|
"prefix": "tb",
|
|
|
|
|
"schematics": {
|
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
|
"style": "scss"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"architect": {
|
|
|
|
|
"build": {
|
|
|
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
|
|
|
|
"options": {
|
|
|
|
|
"outputPath": "target/generated-resources/public",
|
|
|
|
|
"index": "src/index.html",
|
|
|
|
|
"main": "src/main.ts",
|
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
|
"assets": [
|
|
|
|
|
"src/thingsboard.ico",
|
2019-09-06 20:17:45 +03:00
|
|
|
"src/assets",
|
2020-08-17 13:10:32 +03:00
|
|
|
{
|
|
|
|
|
"glob": "worker-html.js",
|
2020-12-28 16:06:36 +02:00
|
|
|
"input": "./node_modules/ace-builds/src-noconflict/",
|
2020-08-17 13:10:32 +03:00
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "worker-css.js",
|
2020-12-28 16:06:36 +02:00
|
|
|
"input": "./node_modules/ace-builds/src-noconflict/",
|
2020-08-17 13:10:32 +03:00
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "worker-json.js",
|
2020-12-28 16:06:36 +02:00
|
|
|
"input": "./node_modules/ace-builds/src-noconflict/",
|
2020-08-17 13:10:32 +03:00
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "worker-javascript.js",
|
2020-12-28 16:06:36 +02:00
|
|
|
"input": "./node_modules/ace-builds/src-noconflict/",
|
2020-08-17 13:10:32 +03:00
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "marker-icon-2x.png",
|
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
|
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "marker-icon.png",
|
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
|
|
|
|
"output": "/"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "marker-shadow.png",
|
|
|
|
|
"input": "node_modules/leaflet/dist/images/",
|
|
|
|
|
"output": "/"
|
2020-12-10 12:23:45 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"glob": "**/*",
|
|
|
|
|
"input": "node_modules/material-design-icons/iconfont/",
|
2020-12-15 18:28:38 +02:00
|
|
|
"output": "assets/fonts"
|
2020-08-17 13:10:32 +03:00
|
|
|
}
|
2019-08-08 19:39:06 +03:00
|
|
|
],
|
|
|
|
|
"styles": [
|
2019-09-10 15:12:10 +03:00
|
|
|
"src/styles.scss",
|
2019-10-17 18:23:53 +03:00
|
|
|
"node_modules/jquery.terminal/css/jquery.terminal.min.css",
|
2019-12-12 19:55:17 +02:00
|
|
|
"node_modules/tooltipster/dist/css/tooltipster.bundle.min.css",
|
|
|
|
|
"node_modules/tooltipster/dist/css/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css",
|
2019-10-17 18:23:53 +03:00
|
|
|
"src/app/shared/components/json-form/react/json-form.scss",
|
2020-02-10 19:06:15 +02:00
|
|
|
"node_modules/rc-select/assets/index.less",
|
2020-03-20 16:57:35 +02:00
|
|
|
"node_modules/jstree-bootstrap-theme/dist/themes/proton/style.min.css",
|
|
|
|
|
"node_modules/leaflet/dist/leaflet.css",
|
2020-04-24 15:48:00 +03:00
|
|
|
"src/app/modules/home/components/widget/lib/maps/markers.scss",
|
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.css",
|
|
|
|
|
"node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css"
|
2019-08-08 19:39:06 +03:00
|
|
|
],
|
2019-10-17 18:23:53 +03:00
|
|
|
"stylePreprocessorOptions": {
|
|
|
|
|
"includePaths": [
|
2020-08-17 13:10:32 +03:00
|
|
|
"src/scss"
|
2019-10-17 18:23:53 +03:00
|
|
|
]
|
|
|
|
|
},
|
2019-08-08 19:39:06 +03:00
|
|
|
"scripts": [
|
2019-09-05 21:15:40 +03:00
|
|
|
"node_modules/jquery/dist/jquery.min.js",
|
2019-09-10 15:12:10 +03:00
|
|
|
"node_modules/jquery.terminal/js/jquery.terminal.min.js",
|
2019-09-12 19:58:42 +03:00
|
|
|
"node_modules/flot/lib/jquery.colorhelpers.js",
|
|
|
|
|
"node_modules/flot/src/jquery.flot.js",
|
|
|
|
|
"node_modules/flot/src/plugins/jquery.flot.time.js",
|
|
|
|
|
"node_modules/flot/src/plugins/jquery.flot.selection.js",
|
|
|
|
|
"node_modules/flot/src/plugins/jquery.flot.pie.js",
|
|
|
|
|
"node_modules/flot/src/plugins/jquery.flot.crosshair.js",
|
|
|
|
|
"node_modules/flot/src/plugins/jquery.flot.stack.js",
|
2020-02-24 17:16:02 +02:00
|
|
|
"node_modules/flot/src/plugins/jquery.flot.symbol.js",
|
2019-09-12 19:58:42 +03:00
|
|
|
"node_modules/flot.curvedlines/curvedLines.js",
|
|
|
|
|
"node_modules/tinycolor2/dist/tinycolor-min.js",
|
2019-12-12 19:55:17 +02:00
|
|
|
"node_modules/tooltipster/dist/js/tooltipster.bundle.min.js",
|
2019-09-19 20:10:52 +03:00
|
|
|
"node_modules/split.js/dist/split.js",
|
|
|
|
|
"node_modules/js-beautify/js/lib/beautify.js",
|
|
|
|
|
"node_modules/js-beautify/js/lib/beautify-css.js",
|
|
|
|
|
"node_modules/js-beautify/js/lib/beautify-html.js",
|
2020-01-31 20:26:08 +02:00
|
|
|
"node_modules/systemjs/dist/system.js",
|
|
|
|
|
"node_modules/jstree/dist/jstree.min.js"
|
2019-08-08 19:39:06 +03:00
|
|
|
],
|
|
|
|
|
"customWebpackConfig": {
|
|
|
|
|
"path": "./extra-webpack.config.js"
|
2020-08-14 11:43:46 +03:00
|
|
|
},
|
|
|
|
|
"allowedCommonJsDependencies": [
|
|
|
|
|
"hammerjs",
|
|
|
|
|
"react",
|
|
|
|
|
"react-dom",
|
|
|
|
|
"reactcss",
|
|
|
|
|
"react-ace",
|
|
|
|
|
"schema-inspector",
|
|
|
|
|
"@flowjs/flow.js",
|
2020-08-14 17:29:55 +03:00
|
|
|
"@material-ui/icons/Add",
|
|
|
|
|
"@material-ui/icons/Clear",
|
2020-08-14 14:28:19 +03:00
|
|
|
"js-beautify",
|
2020-08-14 13:08:17 +03:00
|
|
|
"mousetrap",
|
|
|
|
|
"prop-types",
|
|
|
|
|
"react-is",
|
|
|
|
|
"hoist-non-react-statics",
|
|
|
|
|
"classnames",
|
2020-10-06 19:22:40 +03:00
|
|
|
"raf",
|
2020-12-28 16:06:36 +02:00
|
|
|
"moment-timezone",
|
|
|
|
|
"tinycolor2",
|
|
|
|
|
"json-schema-defaults",
|
|
|
|
|
"leaflet-providers",
|
|
|
|
|
"lodash"
|
2020-08-14 11:43:46 +03:00
|
|
|
]
|
2019-08-08 19:39:06 +03:00
|
|
|
},
|
|
|
|
|
"configurations": {
|
|
|
|
|
"production": {
|
|
|
|
|
"fileReplacements": [
|
|
|
|
|
{
|
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"optimization": true,
|
|
|
|
|
"outputHashing": "all",
|
|
|
|
|
"sourceMap": false,
|
|
|
|
|
"extractCss": true,
|
|
|
|
|
"namedChunks": false,
|
|
|
|
|
"extractLicenses": true,
|
|
|
|
|
"vendorChunk": false,
|
2019-09-05 21:15:40 +03:00
|
|
|
"buildOptimizer": false,
|
2019-08-08 19:39:06 +03:00
|
|
|
"budgets": [
|
|
|
|
|
{
|
|
|
|
|
"type": "initial",
|
2020-02-19 13:39:50 +02:00
|
|
|
"maximumWarning": "9mb",
|
|
|
|
|
"maximumError": "12mb"
|
2019-08-08 19:39:06 +03:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"serve": {
|
2019-08-09 19:13:18 +03:00
|
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
2019-08-08 19:39:06 +03:00
|
|
|
"options": {
|
|
|
|
|
"browserTarget": "thingsboard:build",
|
2019-12-23 14:36:44 +02:00
|
|
|
"proxyConfig": "proxy.conf.js"
|
2019-08-08 19:39:06 +03:00
|
|
|
},
|
|
|
|
|
"configurations": {
|
|
|
|
|
"production": {
|
|
|
|
|
"browserTarget": "thingsboard:build:production"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"extract-i18n": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
|
"options": {
|
|
|
|
|
"browserTarget": "thingsboard:build"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
|
"options": {
|
|
|
|
|
"main": "src/test.ts",
|
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
|
"karmaConfig": "src/karma.conf.js",
|
|
|
|
|
"styles": [
|
|
|
|
|
"src/styles.scss"
|
|
|
|
|
],
|
|
|
|
|
"scripts": [],
|
|
|
|
|
"assets": [
|
|
|
|
|
"src/favicon.ico",
|
|
|
|
|
"src/assets"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"lint": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
|
"options": {
|
|
|
|
|
"tsConfig": [
|
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
|
],
|
|
|
|
|
"exclude": [
|
|
|
|
|
"**/node_modules/**"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"thingsboard-e2e": {
|
|
|
|
|
"root": "e2e/",
|
|
|
|
|
"projectType": "application",
|
|
|
|
|
"prefix": "",
|
|
|
|
|
"architect": {
|
|
|
|
|
"e2e": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
|
"options": {
|
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
|
"devServerTarget": "thingsboard:serve"
|
|
|
|
|
},
|
|
|
|
|
"configurations": {
|
|
|
|
|
"production": {
|
|
|
|
|
"devServerTarget": "thingsboard:serve:production"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"lint": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
|
"options": {
|
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
|
|
|
"exclude": [
|
|
|
|
|
"**/node_modules/**"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2020-08-17 13:10:32 +03:00
|
|
|
"defaultProject": "thingsboard",
|
|
|
|
|
"cli": {
|
|
|
|
|
"packageManager": "yarn"
|
|
|
|
|
}
|
2020-10-06 19:22:40 +03:00
|
|
|
}
|