-
Notifications
You must be signed in to change notification settings - Fork 6
/
package copy.json
177 lines (177 loc) · 5.08 KB
/
package copy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "markdown-it-graphviz",
"version": "1.0.0",
"description": "markdown-it-graphviz 是由哎呦迪奥编写的基于graphviz在web页面中生成各种图形的Markdown-IT扩展插件,种类繁多,我主要是用来生成思维导图,非常方便使用。",
"main": "./index.js",
"scripts": {
"start": "npm i http-server -D && cd test && node ../node_modules/http-server/bin/http-server -p 8989",
"debugger2": "node --inspect-brk ./node_modules/webpack/bin/webpack.js --config webpack.config.babel.js --progress --display-error-details --profile",
"debugger": "node --inspect-brk ./index.js",
"test": "jest --cache",
"test-all": "jest --watchAll",
"test2": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"lint": "eslint --ext .js ./",
"cz": "npm run lint&npm run lint-fix&npm run log && git add . && git cz",
"lint-fix": "eslint --fix --ext .js ./",
"log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0",
"push": "git push origin master:master",
"release": "standard-version",
"push-tag": "git push --follow-tags origin master",
"czpush": "npm run cz && npm run push",
"tagpush": "npm run release && npm run push-tag",
"login": "npm login",
"tonpm": "nrm use npm && npm publish"
},
"pre-commit": [
"lint",
"lint-fix"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/vue-cli-plugin-commitlint/lib/cz"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"transform": {
".(ts|tsx|js)": "typescript-babel-jest"
},
"testEnvironment": "jsdom",
"testRegex-backup": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testRegex": "\\.(spec)\\.(js|ts)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/boot.ts"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}",
"src/**/*.{js,ts}"
],
"verbose": true,
"moduleDirectories": [
"node_modules"
],
"globals": {
"NODE_ENV": "test"
}
},
"keywords": [
"markdown",
"graphviz",
"markdown-it",
"viz",
"graph",
"web",
"markdown-it-graphviz",
"aiyou"
],
"prettier": {
"semi": true,
"singleQuote": true
},
"author": "哎哟迪奥",
"license": "MPL-2",
"browserslist": [
"> 1%",
"last 2 versions"
],
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/jest": "^24.0.23",
"autoprefixer": "^9.4.2",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^7.1.5",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"child-process-promise": "^2.2.1",
"colors": "^1.4.0",
"commitizen": "^4.0.3",
"commitlint": "^8.2.0",
"conventional-changelog-cli": "^2.0.28",
"copy-webpack-plugin": "^5.1.1",
"coveralls": "^3.0.6",
"cross-env": "^6.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.7.2",
"eslint-config-standard": "^14.1.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^3.0.3",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"exec": "^0.2.1",
"glob-all": "^3.1.0",
"http-server": "^0.12.1",
"husky": "^3.0.9",
"imports-loader": "^0.8.0",
"jest": "^24.9.0",
"jest-config": "^24.9.0",
"lint-staged": "^9.4.1",
"nprogress": "^0.2.0",
"postcss": "^7.0.6",
"postcss-cssnext": "^3.1.0",
"postcss-loader": "^3.0.0",
"postcss-sprites": "^4.2.1",
"pre-commit": "^1.2.2",
"prompt": "^1.0.0",
"regenerator-runtime": "^0.13.3",
"semantic-release": "^15.13.24",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"tslint-loader": "^3.5.4",
"typescript": "^3.7.3",
"typescript-babel-jest": "^1.0.6",
"url-loader": "^1.1.2",
"vue-cli-plugin-commitlint": "^1.0.10"
},
"dependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/aiyoudiao/markdown-it-graphviz.git"
},
"bugs": {
"url": "https://github.com/aiyoudiao/markdown-it-graphviz/issues"
},
"homepage": "https://github.com/aiyoudiao/markdown-it-graphviz#readme"
}