package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "neovis.js",
  3. "version": "1.6.0",
  4. "description": "Graph visualizations powered by vis.js with data from Neo4j.",
  5. "main": "./dist/neovis.js",
  6. "module": "./dist/neovis-without-dependencies.js",
  7. "types": "./index.d.ts",
  8. "directories": {
  9. "doc": "doc",
  10. "example": "examples",
  11. "test": "`__tests__"
  12. },
  13. "scripts": {
  14. "test": "jest __tests__/neovis.tests.js",
  15. "eslint": "eslint .",
  16. "prepublishOnly": "npm run build",
  17. "clean": "rimraf ./dist",
  18. "build": "run-s clean build:prod",
  19. "build-dev": "run-s clean build:dev",
  20. "build:prod": "run-p build:prod:*",
  21. "build:prod:with-dependencies": "cross-env BUILD_WITH_DEPENDENCIES=true webpack --mode=production",
  22. "build:prod:without-dependencies": "webpack --mode=production",
  23. "build:dev": "run-p build:dev:*",
  24. "build:dev:with-dependencies": "cross-env BUILD_WITH_DEPENDENCIES=true webpack --mode=development",
  25. "build:dev:without-dependencies": "webpack --mode=development"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "git+https://github.com/neo4j-contrib/neovis.js.git"
  30. },
  31. "keywords": [],
  32. "author": "",
  33. "license": "Apache-2.0",
  34. "bugs": {
  35. "url": "https://github.com/neo4j-contrib/neovis.js/issues"
  36. },
  37. "homepage": "https://github.com/neo4j-contrib/neovis.js#readme",
  38. "devDependencies": {
  39. "@babel/cli": "^7.8.4",
  40. "@babel/core": "^7.8.4",
  41. "@babel/plugin-proposal-class-properties": "^7.8.3",
  42. "@babel/plugin-transform-runtime": "^7.8.3",
  43. "@babel/preset-env": "^7.8.4",
  44. "babel-eslint": "^10.0.3",
  45. "babel-loader": "^8.0.6",
  46. "cross-env": "^7.0.0",
  47. "css-loader": "^3.4.2",
  48. "eslint": "^6.8.0",
  49. "eslint-plugin-jest": "^23.6.0",
  50. "file-loader": "^5.0.2",
  51. "jest": "^26.6.2",
  52. "jest-canvas-mock": "^2.2.0",
  53. "npm-run-all": "^4.1.5",
  54. "rimraf": "^3.0.1",
  55. "style-loader": "^1.1.3",
  56. "url-loader": "^3.0.0",
  57. "webpack": "^4.41.5",
  58. "webpack-cli": "^3.3.10"
  59. },
  60. "dependencies": {
  61. "@babel/runtime-corejs3": "^7.8.4",
  62. "neo4j-driver": "^4.1.0",
  63. "vis-data": "^7.0.0",
  64. "vis-network": "^7.3.5"
  65. },
  66. "jest": {
  67. "moduleNameMapper": {
  68. "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
  69. "\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
  70. },
  71. "setupFiles": [
  72. "jest-canvas-mock"
  73. ],
  74. "transformIgnorePatterns": [
  75. "node_modules[/\\\\](?!vis-network)"
  76. ]
  77. }
  78. }