markserv 1.17.3 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -10
- package/lib/cli-defs.js +23 -8
- package/lib/cli-help.txt +6 -3
- package/lib/cli.js +1 -15
- package/lib/readme.js +2 -1
- package/lib/server.js +310 -83
- package/lib/templates/directory.html +158 -2
- package/lib/templates/error.html +159 -3
- package/lib/templates/github-markdown-dark.css +1124 -0
- package/lib/templates/github-markdown-light.css +1124 -0
- package/lib/templates/github-markdown-synthwave.css +987 -0
- package/lib/templates/highlight-js-github-gist.css +243 -1
- package/lib/templates/markdown.html +157 -1
- package/lib/templates/markserv.css +191 -519
- package/package.json +32 -30
- package/CHANGELOG.md +0 -145
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markserv",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "🏁 serve markdown as html (GitHub style), index directories, live-reload as you edit",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"scripts": {
|
|
@@ -58,6 +58,9 @@
|
|
|
58
58
|
"lib/templates/github.less",
|
|
59
59
|
"lib/templates/highlight-js-github-gist.css",
|
|
60
60
|
"lib/templates/markserv.css",
|
|
61
|
+
"lib/templates/github-markdown-dark.css",
|
|
62
|
+
"lib/templates/github-markdown-light.css",
|
|
63
|
+
"lib/templates/github-markdown-synthwave.css",
|
|
61
64
|
"media/markserv-favicon-96x96.png",
|
|
62
65
|
"media/markserv-logo-term.png"
|
|
63
66
|
],
|
|
@@ -70,50 +73,49 @@
|
|
|
70
73
|
},
|
|
71
74
|
"dependencies": {
|
|
72
75
|
"analyze-deps": "^2.0.0",
|
|
73
|
-
"bluebird": "^3.
|
|
74
|
-
"chalk": "^
|
|
75
|
-
"commander": "^
|
|
76
|
-
"connect": "^3.
|
|
77
|
-
"
|
|
78
|
-
"deepmerge": "^2.
|
|
79
|
-
"emoji-regex": "^
|
|
80
|
-
"handlebars": "^4.
|
|
76
|
+
"bluebird": "^3.7.2",
|
|
77
|
+
"chalk": "^3.0.0",
|
|
78
|
+
"commander": "^4.0.1",
|
|
79
|
+
"connect": "^3.7.0",
|
|
80
|
+
"get-port": "^5.1.0",
|
|
81
|
+
"deepmerge": "^4.2.2",
|
|
82
|
+
"emoji-regex": "^8.0.0",
|
|
83
|
+
"handlebars": "^4.5.3",
|
|
81
84
|
"implant": "^2.0.3",
|
|
82
|
-
"is-online": "^
|
|
83
|
-
"less": "^3.
|
|
84
|
-
"
|
|
85
|
-
"markdown-it": "^
|
|
86
|
-
"markdown-it-anchor": "^5.
|
|
85
|
+
"is-online": "^8.2.1",
|
|
86
|
+
"less": "^3.10.3",
|
|
87
|
+
"ws": "^7.4.0",
|
|
88
|
+
"markdown-it": "^10.0.0",
|
|
89
|
+
"markdown-it-anchor": "^5.2.5",
|
|
87
90
|
"markdown-it-emoji": "^1.4.0",
|
|
88
91
|
"markdown-it-highlightjs": "^3.0.0",
|
|
89
|
-
"markdown-it-include": "^1.
|
|
92
|
+
"markdown-it-include": "^1.1.0",
|
|
90
93
|
"markdown-it-mathjax": "^2.0.0",
|
|
91
|
-
"markdown-it-table-of-contents": "^0.4.
|
|
94
|
+
"markdown-it-table-of-contents": "^0.4.4",
|
|
92
95
|
"markdown-it-task-lists": "^2.1.1",
|
|
93
|
-
"meow": "^
|
|
94
|
-
"micromatch": "^
|
|
95
|
-
"mime": "^
|
|
96
|
-
"
|
|
96
|
+
"meow": "^6.0.0",
|
|
97
|
+
"micromatch": "^4.0.2",
|
|
98
|
+
"mime": "^2.4.4",
|
|
99
|
+
"open": "^6.0.0",
|
|
97
100
|
"promptly": "^3.0.3",
|
|
98
|
-
"send": "^0.
|
|
99
|
-
"snyk": "^1.
|
|
100
|
-
"term-img": "^
|
|
101
|
+
"send": "^0.17.1",
|
|
102
|
+
"snyk": "^1.266.0",
|
|
103
|
+
"term-img": "^4.1.0"
|
|
101
104
|
},
|
|
102
105
|
"devDependencies": {
|
|
103
|
-
"all-contributors-cli": "^6.
|
|
106
|
+
"all-contributors-cli": "^6.11.2",
|
|
104
107
|
"ava": "^2.4.0",
|
|
105
|
-
"coveralls": "^3.0.
|
|
106
|
-
"
|
|
107
|
-
"husky": "^0.14.3",
|
|
108
|
+
"coveralls": "^3.0.9",
|
|
109
|
+
"husky": "^3.1.0",
|
|
108
110
|
"nyc": "^15.0.0",
|
|
109
|
-
"request": "^2.
|
|
110
|
-
"xo": "^0.
|
|
111
|
+
"request": "^2.88.0",
|
|
112
|
+
"xo": "^0.25.3"
|
|
111
113
|
},
|
|
112
114
|
"xo": {
|
|
113
115
|
"esnext": true,
|
|
114
116
|
"semicolon": false,
|
|
115
117
|
"rules": {
|
|
116
|
-
"node/no-unpublished-bin":
|
|
118
|
+
"node/no-unpublished-bin": 2
|
|
117
119
|
}
|
|
118
120
|
},
|
|
119
121
|
"ava": {
|
package/CHANGELOG.md
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
- Markserv uses [Semantic Versioning](http://semver.org/)
|
|
4
|
-
- Markserv [Keeps a ChangeLog](https://keepachangelog.com/en/1.0.0/)
|
|
5
|
-
|
|
6
|
-
## [1.17.3] - 2019-12-28
|
|
7
|
-
|
|
8
|
-
### Added
|
|
9
|
-
|
|
10
|
-
- Added test for file implant. [#98]
|
|
11
|
-
|
|
12
|
-
### Changed
|
|
13
|
-
|
|
14
|
-
- Process MathJax with Markdown-It-MathJax. [#93]
|
|
15
|
-
- Update all-contibutors table. [#98]
|
|
16
|
-
|
|
17
|
-
### Removed
|
|
18
|
-
|
|
19
|
-
- Removed unused Patreon links. [#98]
|
|
20
|
-
|
|
21
|
-
### Fixed
|
|
22
|
-
|
|
23
|
-
- Fixed Live-Reload for browsers without Plugin. [#92]
|
|
24
|
-
- Documentation fixes. [#97], [#89]
|
|
25
|
-
|
|
26
|
-
### Security
|
|
27
|
-
|
|
28
|
-
- NPM audit fix --force. Resulted in AVA update to 2.x requiring package script test runner path change. [#98]
|
|
29
|
-
|
|
30
|
-
## [1.17.2] - 2019-02-26
|
|
31
|
-
|
|
32
|
-
### Fixed
|
|
33
|
-
|
|
34
|
-
- Missing CLI packages. [#79], [#81]
|
|
35
|
-
|
|
36
|
-
## [1.17.1] - 2019-02-23
|
|
37
|
-
|
|
38
|
-
### Fixed
|
|
39
|
-
|
|
40
|
-
- Snyk security audit & fixed CLI launch bug. [#77]
|
|
41
|
-
|
|
42
|
-
## [1.17.0] - 2019-02-23
|
|
43
|
-
|
|
44
|
-
### Added
|
|
45
|
-
|
|
46
|
-
- Added contributors table to README. [#76]
|
|
47
|
-
|
|
48
|
-
## [1.16.0] - 2019-02-23
|
|
49
|
-
|
|
50
|
-
### Changed
|
|
51
|
-
|
|
52
|
-
- Updated CSS page width in stylesheets to reflect GitHubs styles. [#74]
|
|
53
|
-
- Replace Commander with Meow. [#75]
|
|
54
|
-
|
|
55
|
-
### Fixed
|
|
56
|
-
|
|
57
|
-
- Fixed README CLI command. [#75]
|
|
58
|
-
|
|
59
|
-
## [1.15.1] - 2018-10-14
|
|
60
|
-
|
|
61
|
-
### Added
|
|
62
|
-
|
|
63
|
-
- Added `markserv --livereloadport false` to disable LiveReload. [#65]
|
|
64
|
-
- Added `markserv --browser false` to disable Browser Launch. [#65]
|
|
65
|
-
- Added contributors to `package.json` [#65]
|
|
66
|
-
|
|
67
|
-
### Fixed
|
|
68
|
-
|
|
69
|
-
- Fix launch of relative files and dirs from `markserv` and `readme` commands. [#63]
|
|
70
|
-
|
|
71
|
-
## [1.13.2] - 2018-09-14
|
|
72
|
-
|
|
73
|
-
### Fixed
|
|
74
|
-
|
|
75
|
-
- Clean `npm audit`: PR [#59](https://github.com/F1LT3R/markserv/pull/59)
|
|
76
|
-
|
|
77
|
-
## [1.13.1] - 2018-09-14
|
|
78
|
-
|
|
79
|
-
### Fixed
|
|
80
|
-
|
|
81
|
-
- Check for updates only when online: PR [#56](https://github.com/F1LT3R/markserv/pull/56)
|
|
82
|
-
|
|
83
|
-
## [1.13.0] - 2018-09-14
|
|
84
|
-
|
|
85
|
-
### Added
|
|
86
|
-
|
|
87
|
-
- Mobile Font - does not look squished on smaller screens: PR [#55](https://github.com/F1LT3R/markserv/pull/55)
|
|
88
|
-
|
|
89
|
-
### Changed
|
|
90
|
-
|
|
91
|
-
- Removed useless CSS, and border from printing and mobile view: PR [#55](https://github.com/F1LT3R/markserv/pull/55)
|
|
92
|
-
|
|
93
|
-
## [1.12.0] - 2018-05-23
|
|
94
|
-
|
|
95
|
-
### Changed
|
|
96
|
-
|
|
97
|
-
- Updated boot - splash is now called from cli and readme to so the user can see that markserv is loading: PR [#53](https://github.com/F1LT3R/markserv/pull/53)
|
|
98
|
-
|
|
99
|
-
### Added
|
|
100
|
-
|
|
101
|
-
- Auto Upgrade - user gets option to upgrade to latest when starting Markserv: PR [#52](https://github.com/F1LT3R/markserv/pull/52)
|
|
102
|
-
|
|
103
|
-
## [1.11.0] - 2018-05-22
|
|
104
|
-
|
|
105
|
-
### Changed
|
|
106
|
-
|
|
107
|
-
- Updated README after changing github:filter/markserv to github/markserv/markserv (no PR)
|
|
108
|
-
|
|
109
|
-
## [1.10.0] - 2018-05-22
|
|
110
|
-
|
|
111
|
-
### Changed
|
|
112
|
-
|
|
113
|
-
- Updated README after changing github:filter/markserv to github/markserv/markserv (no PR)
|
|
114
|
-
|
|
115
|
-
## [1.9.0] - 2018-05-21
|
|
116
|
-
|
|
117
|
-
### Changed
|
|
118
|
-
|
|
119
|
-
- Better breadcrumbs: PR [#52](https://github.com/F1LT3R/markserv/pull/52)
|
|
120
|
-
- All folders now use the same icon, to reduce visual noise: PR [#52](https://github.com/F1LT3R/markserv/pull/52)
|
|
121
|
-
|
|
122
|
-
### Added
|
|
123
|
-
|
|
124
|
-
- Sanitize urls in breadcrumbs: PR [#52](https://github.com/F1LT3R/markserv/pull/52)
|
|
125
|
-
+ Thanks @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48)
|
|
126
|
-
- Error page with back links: PR [#52](https://github.com/F1LT3R/markserv/pull/52)
|
|
127
|
-
+ Thanks @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48)
|
|
128
|
-
- Slugify Links (w/ Emojis) PR [#51](https://github.com/F1LT3R/markserv/pull/51)
|
|
129
|
-
+ Thanks @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48)
|
|
130
|
-
|
|
131
|
-
## [1.8.0] - 2018-05-13
|
|
132
|
-
|
|
133
|
-
### Added
|
|
134
|
-
|
|
135
|
-
- Emoji support with `mdItEmoji`. Example: `:fire:` now renders as :fire:
|
|
136
|
-
+ Thanks @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48/files)
|
|
137
|
-
- Indent size 4 to `.editorconfig` - @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48/files)
|
|
138
|
-
|
|
139
|
-
## [1.7.3] - 2018-05-13
|
|
140
|
-
|
|
141
|
-
### Fixed
|
|
142
|
-
|
|
143
|
-
- Emojis require \:colon-syntax\: to render correctly on NPMJS.org
|
|
144
|
-
+ Thanks @ChenYingChou PR [#48](https://github.com/F1LT3R/markserv/pull/48/files)
|
|
145
|
-
- Added ChangeLog
|