Skip to content

Commit 04d142e

Browse files
Move mdast types to dev dependency
Closes GH-6. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 9d85ddc commit 04d142e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
"index.js"
3333
],
3434
"dependencies": {
35-
"@types/mdast": "^3.0.0",
3635
"unist-util-visit": "^2.0.0"
3736
},
3837
"devDependencies": {
38+
"@types/mdast": "^3.0.0",
3939
"browserify": "^16.0.0",
4040
"dtslint": "^3.0.0",
4141
"nyc": "^15.0.0",

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Supports funky keys, like `__proto__` or `toString`.
2020
npm install mdast-util-definitions
2121
```
2222

23+
[npm][] with [TypeScript][] support:
24+
25+
```sh
26+
npm install mdast-util-definitions @types/mdast
27+
```
28+
2329
## Use
2430

2531
```js
@@ -123,6 +129,8 @@ abide by its terms.
123129

124130
[npm]: https://docs.npmjs.com/cli/install
125131

132+
[typescript]: https://www.typescriptlang.org/
133+
126134
[contributing]: https://github.com/syntax-tree/.github/blob/master/contributing.md
127135

128136
[support]: https://github.com/syntax-tree/.github/blob/master/support.md

0 commit comments

Comments
 (0)