mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
129 lines
4.7 KiB
JSON
129 lines
4.7 KiB
JSON
{
|
|
"name": "mermaid",
|
|
"version": "7.0.0",
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
|
"main": "src/mermaid.js",
|
|
"keywords": [
|
|
"diagram",
|
|
"markdown",
|
|
"flowchart",
|
|
"sequence diagram",
|
|
"gantt"
|
|
],
|
|
"bin": {
|
|
"mermaid": "./bin/mermaid.js"
|
|
},
|
|
"scripts": {
|
|
"upgrade": "ncu -ua && yarn upgrade",
|
|
"live": "live-server ./test/examples",
|
|
"lint": "node node_modules/eslint/bin/eslint.js src",
|
|
"jison": "gulp jison_legacy",
|
|
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
|
|
"watch": "source ./scripts/watch.sh",
|
|
"doc": "rm -r build;rm -r dist/www;gulp vartree;cp dist/www/all.html ../mermaid-pages/index.html;cp dist/mermaid.js ../mermaid-pages/javascripts/lib;cp dist/mermaid.forest.css ../mermaid-pages/stylesheets",
|
|
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
|
|
"jasmine": "npm run jison &&node node_modules/jasmine-es6/bin/jasmine.js",
|
|
"pretest": "npm run jison",
|
|
"test": "npm run dist && npm run karma && npm run tape",
|
|
"dist-slim-mermaid": "node node_modules/browserify/bin/cmd.js src/mermaid.js -s mermaid -o dist/mermaid.slim.js -x d3 && cat dist/mermaid.slim.js | node node_modules/uglifyjs/bin/uglifyjs -mc > dist/mermaid.slim.min.js",
|
|
"dist-slim-mermaidAPI": "node node_modules/browserify/bin/cmd.js src/mermaidAPI.js -s mermaidAPI -o dist/mermaidAPI.slim.js -x d3 && cat dist/mermaidAPI.slim.js | node node_modules/uglifyjs/bin/uglifyjs -mc > dist/mermaidAPI.slim.min.js",
|
|
"dist-mermaid": "node node_modules/browserify/bin/cmd.js src/mermaid.js -s mermaid -o dist/mermaid.js && cat dist/mermaid.js | node node_modules/uglifyjs/bin/uglifyjs -mc > dist/mermaid.min.js",
|
|
"dist-mermaid-nomin": "node node_modules/browserify/bin/cmd.js src/mermaid.js -s mermaid -o dist/mermaid.js",
|
|
"dist-mermaidAPI": "node node_modules/browserify/bin/cmd.js src/mermaidAPI.js -s mermaidAPI -o dist/mermaidAPI.js && cat dist/mermaidAPI.js | node node_modules/uglifyjs/bin/uglifyjs -mc > dist/mermaidAPI.min.js",
|
|
"dist": "npm run dist-slim-mermaid && npm run dist-slim-mermaidAPI && npm run dist-mermaid && npm run dist-mermaidAPI"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/knsv/mermaid"
|
|
},
|
|
"author": "Knut Sveidqvist",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"chalk": "^1.1.3",
|
|
"d3": "3.5.6",
|
|
"dagre": "^0.7.4",
|
|
"dagre-d3": "0.4.17",
|
|
"he": "^1.1.1",
|
|
"lodash": "^4.17.4",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"moment": "^2.18.1",
|
|
"semver": "^5.3.0",
|
|
"which": "^1.2.14"
|
|
},
|
|
"devDependencies": {
|
|
"async": "^2.3.0",
|
|
"babel-eslint": "^7.2.1",
|
|
"babelify": "^7.3.0",
|
|
"browserify": "~14.3.0",
|
|
"clone": "^2.1.1",
|
|
"codeclimate-test-reporter": "0.4.1",
|
|
"dateformat": "^2.0.0",
|
|
"dox": "^0.9.0",
|
|
"eslint": "^3.19.0",
|
|
"eslint-watch": "^3.0.1",
|
|
"event-stream": "^3.3.4",
|
|
"foundation": "^4.2.1-1",
|
|
"front-matter": "^2.1.2",
|
|
"gulp": "~3.9.1",
|
|
"gulp-bower": "0.0.13",
|
|
"gulp-browserify": "^0.5.1",
|
|
"gulp-bump": "^2.7.0",
|
|
"gulp-concat": "~2.6.1",
|
|
"gulp-data": "^1.2.1",
|
|
"gulp-dox": "^0.1.6",
|
|
"gulp-ext-replace": "^0.3.0",
|
|
"gulp-filelog": "^0.4.1",
|
|
"gulp-front-matter": "^1.3.0",
|
|
"gulp-hogan": "^2.0.0",
|
|
"gulp-if": "^2.0.2",
|
|
"gulp-insert": "^0.5.0",
|
|
"gulp-istanbul": "^1.1.1",
|
|
"gulp-jasmine": "~2.4.2",
|
|
"gulp-jasmine-browser": "^1.7.1",
|
|
"gulp-jison": "~1.2.0",
|
|
"gulp-jshint": "^2.0.4",
|
|
"gulp-less": "^3.3.0",
|
|
"gulp-livereload": "^3.8.1",
|
|
"gulp-marked": "^1.0.0",
|
|
"gulp-mdvars": "^2.0.0",
|
|
"gulp-qunit": "~1.5.0",
|
|
"gulp-rename": "~1.2.2",
|
|
"gulp-shell": "^0.6.3",
|
|
"gulp-tag-version": "^1.3.0",
|
|
"gulp-uglify": "~2.1.2",
|
|
"gulp-util": "^3.0.8",
|
|
"gulp-vartree": "^2.0.1",
|
|
"hogan.js": "^3.0.2",
|
|
"jasmine": "2.5.3",
|
|
"jasmine-es6": "0.4.0",
|
|
"jison": "zaach/jison",
|
|
"jsdom": "^9.12.0",
|
|
"jshint": "^2.9.4",
|
|
"jshint-stylish": "^2.2.1",
|
|
"karma": "^1.6.0",
|
|
"karma-babel-preprocessor": "^6.0.1",
|
|
"karma-browserify": "^5.1.1",
|
|
"karma-jasmine": "^1.1.0",
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
|
"live-server": "^1.2.0",
|
|
"map-stream": "0.0.7",
|
|
"marked": "^0.3.6",
|
|
"mock-browser": "^0.92.14",
|
|
"npm-check-updates": "^2.10.5",
|
|
"path": "^0.12.7",
|
|
"phantomjs": "^2.1.7",
|
|
"proxyquire": "^1.7.11",
|
|
"proxyquire-universal": "^1.0.8",
|
|
"proxyquireify": "^3.2.1",
|
|
"require-dir": "^0.3.1",
|
|
"rewire": "^2.5.2",
|
|
"rimraf": "^2.6.1",
|
|
"tape": "^4.6.3",
|
|
"testdom": "^2.0.0",
|
|
"uglifyjs": "^2.4.10",
|
|
"vinyl-source-stream": "^1.1.0",
|
|
"watchify": "^3.9.0"
|
|
}
|
|
}
|