package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "leaf-conf-editor",
  3. "version": "0.1.0",
  4. "description": "Leaf configuration file editor based on Monaco",
  5. "source": "src/editor.html",
  6. "browserlist": "chrome >= 86",
  7. "scripts": {
  8. "test": "echo \"Error: no test specified\" && exit 1",
  9. "start": "parcel",
  10. "build": "parcel build --target src/editor.html src/editor.html && parcel build --target json.worker.js node_modules/monaco-editor/esm/vs/language/json/json.worker.js && parcel build --target editor.worker.js node_modules/monaco-editor/esm/vs/editor/editor.worker.js"
  11. },
  12. "repository": {
  13. "type": "git",
  14. "url": "git+https://github.com/YtFlow/Maple.git"
  15. },
  16. "author": "bdbai <[email protected]>",
  17. "license": "Apache-2.0",
  18. "bugs": {
  19. "url": "https://github.com/YtFlow/Maple/issues"
  20. },
  21. "homepage": "https://github.com/YtFlow/Maple#readme",
  22. "devDependencies": {
  23. "ipaddr.js": "^2.0.1",
  24. "monaco-editor": "^0.36.1",
  25. "parcel": "^2.7.0",
  26. "patch-package": "^6.5.0"
  27. },
  28. "alias": {
  29. "buffer": false,
  30. "process": false
  31. },
  32. "targets": {
  33. "src/editor.html": {
  34. "publicUrl": "/MonacoEditor",
  35. "distDir": "dist"
  36. },
  37. "json.worker.js": {
  38. "context": "web-worker",
  39. "distDir": "dist",
  40. "publicUrl": "/MonacoEditor",
  41. "sourceMap": false
  42. },
  43. "editor.worker.js": {
  44. "context": "web-worker",
  45. "distDir": "dist",
  46. "publicUrl": "/MonacoEditor",
  47. "sourceMap": false
  48. }
  49. }
  50. }