49 lines
1.9 KiB
JSON
49 lines
1.9 KiB
JSON
{
|
|
"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": [
|
|
"lib/sequence-diagram.js"
|
|
],
|
|
"main": "lib/sequence-diagram",
|
|
"module": "scripts/standalone",
|
|
"scripts": {
|
|
"lint": "eslint . --config spec/support/eslintrc.js --ignore-path spec/support/eslintignore --ext .js --ext .mjs",
|
|
"minify-lib": "rollup --config scripts/rollup.config.js && uglifyjs --compress --mangle --warn --output lib/sequence-diagram.min.js -- lib/sequence-diagram.js",
|
|
"minify-web": "rollup --config web/rollup.config.js && uglifyjs --compress --mangle --warn --output weblib/editor.min.js -- weblib/editor.js",
|
|
"minify": "npm run minify-lib && npm run minify-web",
|
|
"start": "http-server",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"codemirror": "^5.37.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-plugin-jasmine": "^2.9.3",
|
|
"http-server": "^0.10.0",
|
|
"jasmine": "^3.1.0",
|
|
"karma": "^2.0.2",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-detect-browsers": "^2.3.2",
|
|
"karma-firefox-launcher": "^1.1.0",
|
|
"karma-jasmine": "^1.1.1",
|
|
"karma-safari-launcher": "^1.0.0",
|
|
"requirejs": "2.3.5",
|
|
"rollup": "^0.57.1",
|
|
"rollup-plugin-hypothetical": "^2.1.0",
|
|
"rollup-plugin-multi-entry": "^2.0.2",
|
|
"source-map-support": "^0.5.4",
|
|
"uglify-es": "^3.1.10"
|
|
}
|
|
}
|