src_aurelia-bodylight-plugin/aurelia_project/aurelia.json
{
"name": "bodylight-aurelia-plugin",
"type": "project:plugin",
"paths": {
"root": "dev-app",
"resources": "../src",
"elements": "../src/elements",
"attributes": "../src/attributes",
"valueConverters": "../src/value-converters",
"bindingBehaviors": "../src/binding-behaviors"
},
"transpiler": {
"id": "babel",
"fileExtension": ".js",
"options": {
"plugins": [
[
"@babel/plugin-transform-modules-amd",
{
"loose": true
}
]
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"esmodules": true
}
}
]
]
},
"source": [
"dev-app/**/*.js",
"src/**/*.js"
]
},
"plugin": {
"source": {
"js": "src/**/*.js",
"css": "src/**/*.css",
"html": "src/**/*.html",
"json": "src/**/*.json"
}
},
"markupProcessor": {
"source": [
"dev-app/**/*.html",
"src/**/*.html"
]
},
"cssProcessor": {
"source": [
"dev-app/**/*.css",
"src/**/*.css"
]
},
"jsonProcessor": {
"source": [
"dev-app/**/*.json",
"src/**/*.json"
]
},
"platform": {
"port": 9000,
"host": "localhost",
"open": false,
"index": "docs/index.html",
"baseDir": "docs/",
"output": "docs/scripts"
},
"build": {
"targets": [
{
"port": 9000,
"index": "docs/index.html",
"baseDir": "docs/",
"output": "docs/scripts"
}
],
"options": {
"minify": "stage & prod",
"sourcemaps": "dev & stage",
"rev": "prod",
"cache": "dev & stage"
},
"bundles": [
{
"name": "bodylight.bundle.js",
"source": [
"**/*.{js,json,css,html}"
],
"prepend": [
"node_modules/regenerator-runtime/runtime.js",
"node_modules/promise-polyfill/dist/polyfill.min.js",
"node_modules/requirejs/require.js"
],
"dependencies": [
"aurelia-bootstrapper",
"aurelia-loader-default",
"aurelia-pal-browser",
{
"name": "aurelia-testing",
"env": "dev"
},
"text",
{
"name" : "lodash",
"path" : "../node_modules/lodash/lodash.min"
}
]
}
],
"copyFiles": {
"node_modules/@iktakahiro/markdown-it-katex/node_modules/katex/dist/fonts/*": "docs/fonts/",
"node_modules/font-awesome/fonts/*": "docs/font-awesome/fonts/"
},
"loader": {
"type": "require",
"configTarget": "bodylight.bundle.js",
"includeBundleMetadataInConfig": "auto",
"plugins": [
{
"name": "text",
"extensions": [
".html",
".css"
],
"stub": false
}
]
}
}
}