2017-04-10 16:36:54 +08:00
|
|
|
{
|
2014-11-03 00:02:29 +01:00
|
|
|
"name": "mermaid",
|
2017-09-11 23:06:34 +08:00
|
|
|
"version": "7.0.14",
|
2017-04-19 18:37:55 +08:00
|
|
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
2017-09-09 21:47:21 +08:00
|
|
|
"main": "dist/mermaid.core.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-16 21:38:48 +08:00
|
|
|
"build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors",
|
2017-09-09 00:58:41 +08:00
|
|
|
"build:watch": "yarn build --watch",
|
|
|
|
"release": "yarn build -p --config webpack.config.prod.js",
|
|
|
|
"upgrade": "yarn upgrade --latest && yarn remove d3 && yarn add d3@3.5.17",
|
2017-09-03 12:21:42 +08:00
|
|
|
"lint": "standard",
|
2017-09-03 09:09:58 +08:00
|
|
|
"karma": "node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run",
|
2017-09-10 11:56:53 +08:00
|
|
|
"jest": "jest --coverage --runInBand",
|
2017-09-10 23:00:20 +08:00
|
|
|
"test": "yarn lint && yarn karma",
|
2017-09-11 23:06:34 +08:00
|
|
|
"jison": "node -r babel-register node_modules/.bin/gulp jison",
|
2017-09-01 18:34:10 +08:00
|
|
|
"prepublishOnly": "yarn build && yarn release && 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-09-01 17:35:13 +08:00
|
|
|
"dist/**/*.js"
|
2017-04-11 22:57:57 +08:00
|
|
|
]
|
|
|
|
},
|
2014-12-02 19:05:09 +01:00
|
|
|
"dependencies": {
|
2017-08-16 23:57:43 +08:00
|
|
|
"chalk": "^2.1.0",
|
2017-04-15 13:26:58 +08:00
|
|
|
"d3": "3.5.17",
|
2017-09-09 00:58:41 +08:00
|
|
|
"dagre-d3-renderer": "^0.4.23",
|
|
|
|
"dagre-layout": "^0.8.0",
|
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",
|
2017-08-16 23:57:43 +08:00
|
|
|
"semver": "^5.4.1",
|
|
|
|
"which": "^1.3.0"
|
2014-12-02 19:05:09 +01:00
|
|
|
},
|
2014-11-03 00:02:29 +01:00
|
|
|
"devDependencies": {
|
2017-08-16 23:57:43 +08:00
|
|
|
"async": "^2.5.0",
|
2017-09-01 14:52:27 +08:00
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-loader": "^7.1.2",
|
2017-09-05 21:19:53 +08:00
|
|
|
"babel-plugin-lodash": "^3.2.11",
|
2017-08-16 23:57:43 +08:00
|
|
|
"babel-preset-env": "^1.6.0",
|
2017-09-01 18:05:46 +08:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2017-04-10 18:10:30 +08:00
|
|
|
"clone": "^2.1.1",
|
2017-09-01 14:52:27 +08:00
|
|
|
"codeclimate-test-reporter": "^0.5.0",
|
|
|
|
"css-loader": "^0.28.7",
|
2017-08-16 23:57:43 +08:00
|
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
2017-09-01 14:52:27 +08:00
|
|
|
"gulp": "^3.9.1",
|
2015-06-14 09:51:42 +02:00
|
|
|
"gulp-filelog": "^0.4.1",
|
2017-09-01 14:52:27 +08:00
|
|
|
"gulp-jison": "^1.2.0",
|
2017-08-16 23:57:43 +08:00
|
|
|
"inject-loader": "^3.0.1",
|
2017-09-01 14:52:27 +08:00
|
|
|
"jasmine": "^2.8.0",
|
|
|
|
"jasmine-es6": "^0.4.1",
|
2017-09-10 11:42:39 +08:00
|
|
|
"jest": "^21.0.2",
|
2017-09-02 23:44:00 +08:00
|
|
|
"jison": "^0.4.18",
|
2017-09-01 14:52:27 +08:00
|
|
|
"karma": "^1.7.1",
|
2017-08-16 23:57:43 +08:00
|
|
|
"karma-chrome-launcher": "^2.2.0",
|
2017-04-10 18:10:30 +08:00
|
|
|
"karma-jasmine": "^1.1.0",
|
2017-09-12 16:08:03 +08:00
|
|
|
"karma-sourcemap-loader": "^0.3.7",
|
2017-08-16 23:57:43 +08:00
|
|
|
"karma-webpack": "^2.0.4",
|
2017-04-22 15:40:35 +08:00
|
|
|
"less": "^2.7.2",
|
2017-08-16 23:57:43 +08:00
|
|
|
"less-loader": "^4.0.5",
|
|
|
|
"phantomjs-prebuilt": "^2.1.15",
|
2017-09-12 16:08:03 +08:00
|
|
|
"puppeteer": "^0.10.2",
|
2017-04-10 18:10:30 +08:00
|
|
|
"rimraf": "^2.6.1",
|
2017-08-16 23:57:43 +08:00
|
|
|
"standard": "^10.0.3",
|
|
|
|
"style-loader": "^0.18.2",
|
2017-09-09 00:58:41 +08:00
|
|
|
"webpack": "^3.5.6",
|
|
|
|
"webpack-node-externals": "^1.6.0"
|
2017-06-01 13:38:08 +08:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"bin",
|
|
|
|
"dist",
|
|
|
|
"lib",
|
|
|
|
"src"
|
2017-09-10 11:42:39 +08:00
|
|
|
],
|
|
|
|
"jest": {
|
|
|
|
"testRegex": "test/cli_test-.+?\\.js"
|
|
|
|
}
|
2014-11-03 00:02:29 +01:00
|
|
|
}
|