2017-04-10 16:36:54 +08:00
|
|
|
{
|
2014-11-03 00:02:29 +01:00
|
|
|
"name": "mermaid",
|
2017-01-29 12:14:02 +01:00
|
|
|
"version": "7.0.0",
|
2015-11-22 18:10:38 +01:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams and gantt charts.",
|
2015-06-07 09:21:19 +02:00
|
|
|
"main": "src/mermaid.js",
|
2015-03-01 16:48:16 +01:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"markdown",
|
|
|
|
"flowchart",
|
|
|
|
"sequence diagram",
|
|
|
|
"gantt"
|
|
|
|
],
|
2014-12-20 17:18:38 -08:00
|
|
|
"bin": {
|
|
|
|
"mermaid": "./bin/mermaid.js"
|
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"scripts": {
|
2017-04-10 18:10:30 +08:00
|
|
|
"upgrade": "ncu -ua && yarn upgrade",
|
2015-10-12 07:37:02 +02:00
|
|
|
"live": "live-server ./test/examples",
|
|
|
|
"lint": "node node_modules/eslint/bin/eslint.js src",
|
2015-10-24 20:45:42 +02:00
|
|
|
"jison": "gulp jison_legacy",
|
2015-12-26 10:59:44 +01:00
|
|
|
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
|
2015-10-12 07:37:02 +02:00
|
|
|
"watch": "source ./scripts/watch.sh",
|
2015-10-04 23:09:00 +02:00
|
|
|
"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",
|
2015-12-26 10:59:44 +01:00
|
|
|
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
|
2015-10-24 20:33:52 +02:00
|
|
|
"jasmine": "npm run jison &&node node_modules/jasmine-es6/bin/jasmine.js",
|
2015-11-21 11:51:15 +01:00
|
|
|
"pretest": "npm run jison",
|
2017-04-10 20:51:01 +08:00
|
|
|
"test": "npm run tape && npm run karma",
|
2017-04-01 13:51:03 +02:00
|
|
|
"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",
|
2015-12-26 10:59:44 +01:00
|
|
|
"dist": "npm run dist-slim-mermaid && npm run dist-slim-mermaidAPI && npm run dist-mermaid && npm run dist-mermaidAPI"
|
2014-11-03 00:02:29 +01:00
|
|
|
},
|
2014-11-22 17:53:02 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2014-12-04 15:16:40 -05:00
|
|
|
"url": "https://github.com/knsv/mermaid"
|
2014-11-22 17:53:02 +01:00
|
|
|
},
|
2015-03-01 16:48:16 +01:00
|
|
|
"author": "Knut Sveidqvist",
|
2014-12-09 20:42:31 +01:00
|
|
|
"license": "MIT",
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2017-04-10 17:43:02 +08:00
|
|
|
"chalk": "^1.1.3",
|
2015-11-11 20:15:02 +01:00
|
|
|
"d3": "3.5.6",
|
2015-10-30 10:47:25 +01:00
|
|
|
"dagre": "^0.7.4",
|
2017-04-10 18:10:30 +08:00
|
|
|
"dagre-d3": "0.4.17",
|
2017-04-10 17:43:02 +08:00
|
|
|
"he": "^1.1.1",
|
|
|
|
"lodash": "^4.17.4",
|
2017-04-10 17:46:52 +08:00
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"mkdirp": "^0.5.1",
|
|
|
|
"moment": "^2.18.1",
|
|
|
|
"semver": "^5.3.0",
|
|
|
|
"which": "^1.2.14"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2017-04-10 18:10:30 +08:00
|
|
|
"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",
|
2015-01-04 17:56:58 +01:00
|
|
|
"foundation": "^4.2.1-1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"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",
|
2015-09-24 18:41:38 +02:00
|
|
|
"gulp-dox": "^0.1.6",
|
2017-04-10 18:10:30 +08:00
|
|
|
"gulp-ext-replace": "^0.3.0",
|
2015-06-14 09:51:42 +02:00
|
|
|
"gulp-filelog": "^0.4.1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"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",
|
2015-06-14 09:51:42 +02:00
|
|
|
"gulp-jison": "~1.2.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"gulp-jshint": "^2.0.4",
|
|
|
|
"gulp-less": "^3.3.0",
|
|
|
|
"gulp-livereload": "^3.8.1",
|
2015-09-24 18:41:38 +02:00
|
|
|
"gulp-marked": "^1.0.0",
|
|
|
|
"gulp-mdvars": "^2.0.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"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",
|
2015-09-24 18:41:38 +02:00
|
|
|
"gulp-vartree": "^2.0.1",
|
2015-01-04 17:56:58 +01:00
|
|
|
"hogan.js": "^3.0.2",
|
2017-04-10 18:10:30 +08:00
|
|
|
"jasmine": "2.5.3",
|
|
|
|
"jasmine-es6": "0.4.0",
|
2015-10-24 20:27:54 +02:00
|
|
|
"jison": "zaach/jison",
|
2017-04-10 18:10:30 +08:00
|
|
|
"jsdom": "^9.12.0",
|
|
|
|
"jshint": "^2.9.4",
|
|
|
|
"jshint-stylish": "^2.2.1",
|
|
|
|
"karma": "^1.6.0",
|
2015-11-21 11:51:15 +01:00
|
|
|
"karma-babel-preprocessor": "^6.0.1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"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",
|
2017-04-10 17:52:19 +08:00
|
|
|
"phantomjs": "^2.1.7",
|
2017-04-10 18:10:30 +08:00
|
|
|
"proxyquire": "^1.7.11",
|
2015-11-21 11:51:15 +01:00
|
|
|
"proxyquire-universal": "^1.0.8",
|
2017-04-10 18:10:30 +08:00
|
|
|
"proxyquireify": "^3.2.1",
|
|
|
|
"require-dir": "^0.3.1",
|
|
|
|
"rewire": "^2.5.2",
|
|
|
|
"rimraf": "^2.6.1",
|
2017-04-10 21:15:12 +08:00
|
|
|
"standard": "^10.0.1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"tape": "^4.6.3",
|
2015-10-29 07:49:08 +01:00
|
|
|
"testdom": "^2.0.0",
|
2015-10-17 15:12:59 +02:00
|
|
|
"uglifyjs": "^2.4.10",
|
2015-06-20 20:58:58 +02:00
|
|
|
"vinyl-source-stream": "^1.1.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"watchify": "^3.9.0"
|
2014-11-03 00:02:29 +01:00
|
|
|
}
|
|
|
|
}
|