{
  "name": "sequence-diagram",
  "version": "1.0.0",
  "description": "Generates SVG Sequence Diagrams from code in the browser",
  "homepage": "https://github.com/davidje13/SequenceDiagram",
  "repository": {
    "type": "git",
    "url": "https://github.com/davidje13/SequenceDiagram.git"
  },
  "bugs": {
    "url": "https://github.com/davidje13/SequenceDiagram/issues"
  },
  "license": "LGPL-3.0",
  "files": [
    "bin",
    "fonts",
    "lib/sequence-diagram.js",
    "lib/sequence-diagram-web.js",
    "scripts"
  ],
  "main": "lib/sequence-diagram",
  "module": "scripts/standalone",
  "bin": {
    "sequence-diagram-svg": "./bin/sequence-diagram-svg.js"
  },
  "eslintIgnore": [
    "lib",
    "web/lib",
    "ephemeral",
    "*FontData.mjs"
  ],
  "scripts": {
    "copy-third-party": "cat node_modules/codemirror/lib/codemirror.css node_modules/codemirror/addon/hint/show-hint.css > web/lib/codemirror.css && uglifyjs --compress --mangle --output web/lib/codemirror.js -- node_modules/codemirror/lib/codemirror.js && uglifyjs --compress --mangle --output web/lib/show-hint.js -- node_modules/codemirror/addon/hint/show-hint.js && uglifyjs --compress --mangle --output web/lib/trailingspace.js -- node_modules/codemirror/addon/edit/trailingspace.js && uglifyjs --compress --mangle --output web/lib/comment.js -- node_modules/codemirror/addon/comment/comment.js && cat node_modules/codemirror/mode/xml/xml.js node_modules/codemirror/mode/javascript/javascript.js node_modules/codemirror/addon/runmode/runmode.js node_modules/codemirror/addon/runmode/colorize.js | uglifyjs --compress --mangle --output web/lib/cm-addons-library.js && uglifyjs --compress --mangle --warn --output web/lib/require.js -- node_modules/requirejs/require.js",
    "lint": "eslint . --config eslintrc.js --ext .js --ext .mjs",
    "generate-screenshots": "bin/generate-screenshots.js README.md",
    "minify-lib": "rollup --config scripts/rollup.config.js && uglifyjs --compress --mangle --warn --output lib/sequence-diagram-web.min.js -- lib/sequence-diagram-web.js",
    "minify-web": "rollup --config web/scripts/rollup.config.js && uglifyjs --compress --mangle --warn --output web/lib/editor.min.js -- web/lib/editor.js && npm run copy-third-party",
    "minify": "npm run minify-lib && npm run minify-web",
    "prepublishOnly": "npm run minify-lib && npm run generate-screenshots && npm test",
    "start": "bin/server.js",
    "test": "npm run unit-test && npm run web-test && npm run lint && echo 'PASSED :)'",
    "unit-test": "rollup --config spec/support/rollup.config.js && node -r source-map-support/register node_modules/.bin/jasmine --config=spec/support/jasmine.json",
    "web-test": "karma start spec/support/karma.conf.js --single-run",
    "web-test:manual": "MANUAL=1 karma start spec/support/karma.conf.js"
  },
  "devDependencies": {
    "buffer-to-stream": "^1.0.0",
    "codemirror": "^5.47.0",
    "eslint": "^5.16.0",
    "eslint-plugin-jasmine": "^2.10.1",
    "jasmine": "^3.4.0",
    "karma": "^4.1.0",
    "karma-chrome-launcher": "^2.2.0",
    "karma-detect-browsers": "^2.3.3",
    "karma-firefox-launcher": "^1.1.0",
    "karma-jasmine": "^2.0.1",
    "karma-safari-launcher": "^1.0.0",
    "pngcrush": "^2.0.1",
    "requirejs": "^2.3.6",
    "rollup": "^1.15.6",
    "rollup-plugin-hypothetical": "^2.1.0",
    "rollup-plugin-multi-entry": "^2.1.0",
    "source-map-support": "^0.5.12",
    "svg2png": "^4.1.1",
    "uglify-es": "3.2.2"
  },
  "dependencies": {
    "opentype.js": "^1.1.0"
  }
}
