package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "netbox",
  3. "version": "0.1.0",
  4. "main": "dist/netbox.js",
  5. "license": "Apache-2.0",
  6. "private": true,
  7. "workspaces": [
  8. "netbox-graphiql"
  9. ],
  10. "scripts": {
  11. "bundle": "node bundle.js",
  12. "bundle:styles": "node bundle.js --styles",
  13. "bundle:scripts": "node bundle.js --scripts",
  14. "format": "yarn format:scripts && yarn format:styles",
  15. "format:scripts": "prettier -w src/**/*.ts",
  16. "format:styles": "prettier -w styles/**/*.scss",
  17. "validate": "yarn validate:types && yarn validate:lint",
  18. "validate:lint": "eslint -c .eslintrc ./src/**/*.ts",
  19. "validate:types": "tsc --noEmit",
  20. "validate:formatting": "yarn validate:formatting:scripts && yarn validate:formatting:styles",
  21. "validate:formatting:styles": "prettier -c styles/**/*.scss",
  22. "validate:formatting:scripts": "prettier -c src/**/*.ts"
  23. },
  24. "dependencies": {
  25. "@mdi/font": "^5.9.55",
  26. "@popperjs/core": "^2.9.2",
  27. "bootstrap": "~5.0.2",
  28. "clipboard": "^2.0.8",
  29. "color2k": "^1.2.4",
  30. "cookie": "^0.4.1",
  31. "dayjs": "^1.10.4",
  32. "flatpickr": "4.6.3",
  33. "htmx.org": "^1.6.1",
  34. "just-debounce-it": "^1.4.0",
  35. "masonry-layout": "^4.2.2",
  36. "query-string": "^6.14.1",
  37. "sass": "^1.32.8",
  38. "simplebar": "^5.3.4",
  39. "slim-select": "^1.27.0"
  40. },
  41. "devDependencies": {
  42. "@types/bootstrap": "^5.0.12",
  43. "@types/cookie": "^0.4.0",
  44. "@types/masonry-layout": "^4.2.2",
  45. "@typescript-eslint/eslint-plugin": "^4.29.3",
  46. "@typescript-eslint/parser": "^4.29.3",
  47. "esbuild": "^0.12.24",
  48. "esbuild-sass-plugin": "^1.5.2",
  49. "eslint": "^7.32.0",
  50. "eslint-config-prettier": "^8.3.0",
  51. "eslint-import-resolver-typescript": "^2.4.0",
  52. "eslint-plugin-import": "^2.24.2",
  53. "eslint-plugin-prettier": "^3.4.1",
  54. "prettier": "^2.3.2",
  55. "typescript": "~4.3.5"
  56. },
  57. "resolutions": {
  58. "eslint-import-resolver-typescript/**/path-parse": "^1.0.7",
  59. "slim-select/**/trim-newlines": "^3.0.1",
  60. "eslint/glob-parent": "^5.1.2",
  61. "esbuild-sass-plugin/**/glob-parent": "^5.1.2",
  62. "@typescript-eslint/**/glob-parent": "^5.1.2",
  63. "eslint-plugin-import/**/hosted-git-info": "^2.8.9"
  64. }
  65. }