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",
|
2017-04-19 18:37:55 +08:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
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",
|
2017-04-19 18:37:55 +08:00
|
|
|
"gantt",
|
|
|
|
"class diagram",
|
|
|
|
"git graph"
|
2015-03-01 16:48:16 +01:00
|
|
|
],
|
2014-12-20 17:18:38 -08:00
|
|
|
"bin": {
|
|
|
|
"mermaid": "./bin/mermaid.js"
|
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"scripts": {
|
2017-04-19 18:37:55 +08:00
|
|
|
"watch": "yarn build -- --watch",
|
2017-04-16 21:38:48 +08:00
|
|
|
"build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors",
|
|
|
|
"dist": "node -r babel-register ./node_modules/.bin/webpack --progress --colors -p --config webpack.config.prod.js",
|
2017-04-15 15:34:23 +08:00
|
|
|
"upgrade": "rm -rf node_modules && rm yarn.lock && yarn install && ncu -ua && yarn upgrade && yarn remove d3 && yarn add d3@3.5.17",
|
2017-04-11 22:02:50 +08:00
|
|
|
"lint": "node_modules/.bin/standard",
|
2015-12-26 10:59:44 +01:00
|
|
|
"karma": "node node_modules/karma/bin/karma start karma.conf.js --single-run",
|
|
|
|
"tape": "node node_modules/tape/bin/tape test/cli_test-*.js",
|
2017-04-19 18:37:55 +08:00
|
|
|
"test": "yarn run tape && yarn run karma",
|
|
|
|
"live": "live-server ./test/examples",
|
|
|
|
"jison": "gulp jison_legacy",
|
|
|
|
"old_watch": "source ./scripts/watch.sh",
|
2017-04-22 16:04:16 +08: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",
|
|
|
|
"pretest": "yarn jison && yarn lint",
|
|
|
|
"prepublish": "yarn build && yarn dist && yarn test"
|
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",
|
2017-04-11 22:57:57 +08:00
|
|
|
"standard": {
|
|
|
|
"ignore": [
|
|
|
|
"**/parser/*.js",
|
2017-04-11 23:46:11 +08:00
|
|
|
"dist/**/*.js",
|
|
|
|
"docs/**/*.js",
|
|
|
|
"editor/**/*.js"
|
2017-04-11 22:57:57 +08:00
|
|
|
]
|
|
|
|
},
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2017-04-10 17:43:02 +08:00
|
|
|
"chalk": "^1.1.3",
|
2017-04-15 13:26:58 +08:00
|
|
|
"d3": "3.5.17",
|
2015-10-30 10:47:25 +01:00
|
|
|
"dagre": "^0.7.4",
|
2017-04-15 14:49:35 +08:00
|
|
|
"dagre-d3-renderer": "0.1.6",
|
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",
|
2017-04-17 16:47:26 +08:00
|
|
|
"babel-core": "^6.24.1",
|
|
|
|
"babel-loader": "^6.4.1",
|
2017-04-17 22:34:25 +08:00
|
|
|
"babel-plugin-transform-remove-strict-mode": "^0.0.2",
|
2017-04-15 15:34:23 +08:00
|
|
|
"babel-preset-env": "^1.4.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"clone": "^2.1.1",
|
|
|
|
"codeclimate-test-reporter": "0.4.1",
|
2017-04-22 15:40:35 +08:00
|
|
|
"css-loader": "^0.28.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"dox": "^0.9.0",
|
|
|
|
"event-stream": "^3.3.4",
|
2017-04-22 15:40:35 +08:00
|
|
|
"extract-text-webpack-plugin": "^2.1.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"front-matter": "^2.1.2",
|
|
|
|
"gulp": "~3.9.1",
|
|
|
|
"gulp-bower": "0.0.13",
|
|
|
|
"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-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-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-18 23:20:38 +08:00
|
|
|
"inject-loader": "^3.0.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"jasmine": "2.5.3",
|
|
|
|
"jasmine-es6": "0.4.0",
|
2017-04-17 16:47:26 +08:00
|
|
|
"jison": "^0.4.17",
|
2017-04-10 18:10:30 +08:00
|
|
|
"jsdom": "^9.12.0",
|
|
|
|
"karma": "^1.6.0",
|
2017-04-18 22:14:02 +08:00
|
|
|
"karma-chrome-launcher": "^2.0.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"karma-jasmine": "^1.1.0",
|
2017-04-18 23:20:38 +08:00
|
|
|
"karma-webpack": "^2.0.3",
|
2017-04-22 15:40:35 +08:00
|
|
|
"less": "^2.7.2",
|
|
|
|
"less-loader": "^4.0.3",
|
2017-04-10 18:10:30 +08:00
|
|
|
"live-server": "^1.2.0",
|
|
|
|
"map-stream": "0.0.7",
|
|
|
|
"marked": "^0.3.6",
|
|
|
|
"mock-browser": "^0.92.14",
|
2017-04-18 22:14:02 +08:00
|
|
|
"npm-check-updates": "^2.11.0",
|
2017-04-18 22:20:49 +08:00
|
|
|
"phantomjs-prebuilt": "^2.1.14",
|
2017-04-10 18:10:30 +08:00
|
|
|
"require-dir": "^0.3.1",
|
|
|
|
"rimraf": "^2.6.1",
|
2017-04-15 15:34:23 +08:00
|
|
|
"standard": "^10.0.2",
|
2017-04-22 15:40:35 +08:00
|
|
|
"style-loader": "^0.16.1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"tape": "^4.6.3",
|
2017-04-16 21:38:48 +08:00
|
|
|
"webpack": "^2.4.1",
|
|
|
|
"webpack-node-externals": "^1.5.4"
|
2014-11-03 00:02:29 +01:00
|
|
|
}
|
|
|
|
}
|