creative-connections/Bodylight.js-Components

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "bodylight-components",
  "version": "2.3.4",
  "description": "Custom elements enhancing HTML to enable model simulation in FMU, visualization using Adobe Animate exports or animated gifs, charts using chartjs and documenting in enhanced markdown.",
  "main": "dist/bodylight.bundle.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/creative-connections/Bodylight.js-Components.git"
  },
  "keywords": [
    "adobe-animate",
    "web-components",
    "fmu",
    "model",
    "simulation",
    "visualisation"
  ],
  "author": "Tomáš Kulhánek",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/creative-connections/Bodylight.js-Components/issues"
  },
  "homepage": "https://github.com/creative-connections/Bodylight.js-Components#readme",
  "devDependencies": {
    "@babel/core": "^7.13.1",
    "@babel/plugin-proposal-class-properties": "^7.13.0",
    "@babel/plugin-proposal-decorators": "^7.13.5",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/preset-env": "^7.13.5",
    "@babel/register": "^7.13.0",
    "app-settings-loader": "^1.0.6",
    "aurelia-cli": "^2.0.2",
    "aurelia-loader-nodejs": "^1.1.0",
    "aurelia-pal-nodejs": "^2.0.0",
    "aurelia-testing": "^1.0.0",
    "aurelia-web-components": "github:TomasKulhanek/web-components#master",
    "aurelia-webpack-plugin": "^4.0.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.6.3",
    "babel-loader": "^8.2.2",
    "babel-plugin-istanbul": "^6.0.0",
    "clean-webpack-plugin": "^3.0.0",
    "closure-webpack-plugin": "^2.6.1",
    "createjs": "^1.0.1",
    "css-loader": "^4.3.0",
    "duplicate-package-checker-webpack-plugin": "^3.0.0",
    "dygraphs": "^2.2.1",
    "eslint": "^7.20.0",
    "expose-loader": "^1.0.3",
    "file-loader": "^6.1.0",
    "firebase": "^10.8.0",
    "google-closure-compiler": "^20240317.0.0",
    "google-closure-compiler-js": "^20200719.0.0",
    "gulp": "^4.0.2",
    "gulp-eslint": "^6.0.0",
    "html-loader": "^1.3.1",
    "i18next-xhr-backend": "^3.2.2",
    "istanbul-instrumenter-loader": "^3.0.1",
    "jest": "^26.6.3",
    "jest-cli": "^26.6.3",
    "jest-transform-stub": "^2.0.0",
    "json-loader": "^0.5.7",
    "latest-createjs": "^1.0.24",
    "localforage": "^1.10.0",
    "lodash": "^4.17.21",
    "markdown-it-attrs": "^4.1.6",
    "markdown-it-katexx": "^3.2.0",
    "mini-css-extract-plugin": "^0.11.2",
    "minimatch": "^3.0.4",
    "promise-polyfill": "^8.1.3",
    "regenerator-runtime": "^0.13.7",
    "remove-files-webpack-plugin": "^1.4.4",
    "style-loader": "^1.2.1",
    "terser-webpack-plugin": "^4.2.3",
    "tree-kill": "^1.2.2",
    "uglifyjs-webpack-plugin": "^2.2.0",
    "url-loader": "^4.1.0",
    "webpack": "^4.46.0",
    "webpack-bundle-analyzer": "^4.7.0",
    "webpack-cli": "^3.3.12",
    "webpack-dev-server": "^4.8.1"
  },
  "files": [
    "dist"
  ],
  "browserslist": [
    "last 1 version, not dead, ie >= 11"
  ],
  "scripts": {
    "build": "webpack --env.production --extractCss;cp dist/bodylight.bundle.js test/",
    "start": "webpack-dev-server --extractCss",
    "build:dev": "webpack --extractCss;cp dist/bodylight.bundle.js test/",
    "analyze": "webpack --env.production --analyze"
  },
  "engines": {
    "node": ">=10.12.0"
  },
  "jest": {
    "moduleNameMapper": {
      "^aurelia-binding$": "<rootDir>/node_modules/aurelia-binding"
    },
    "modulePaths": [
      "<rootDir>/src_webcomponents",
      "<rootDir>/node_modules"
    ],
    "moduleFileExtensions": [
      "js",
      "json"
    ],
    "transform": {
      "^.+\\.(css|less|sass|scss|styl|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "jest-transform-stub",
      "^.+\\.js$": "babel-jest"
    },
    "testRegex": "\\.spec\\.js$",
    "setupFiles": [
      "<rootDir>/test/jest-pretest.js"
    ],
    "testEnvironment": "node",
    "collectCoverage": true,
    "collectCoverageFrom": [
      "src_webcomponents/**/*.js",
      "!**/*.spec.js",
      "!**/node_modules/**",
      "!**/test/**"
    ],
    "coverageDirectory": "<rootDir>/test/coverage-jest",
    "coverageReporters": [
      "json",
      "lcov",
      "text",
      "html"
    ]
  },
  "dependencies": {
    "aurelia-bodylight-plugin": "^2.3.4",
    "aurelia-resize": "^1.1.2"
  }
}