|
15 | 15 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", |
16 | 16 | "Jonathan Haines <jonno.haines@gmail.com> (https://barrythepenguin.github.io)" |
17 | 17 | ], |
| 18 | + "types": "types/index.d.ts", |
18 | 19 | "files": [ |
| 20 | + "types/index.d.ts", |
19 | 21 | "lib", |
20 | 22 | "index.js" |
21 | 23 | ], |
22 | 24 | "dependencies": { |
| 25 | + "@types/mdast": "^3.0.3", |
| 26 | + "@types/unist": "^2.0.3", |
23 | 27 | "extend": "^3.0.2", |
24 | 28 | "github-slugger": "^1.2.1", |
25 | 29 | "mdast-util-to-string": "^1.0.5", |
26 | | - "unist-util-is": "^3.0.0", |
27 | | - "unist-util-visit": "^1.1.0" |
| 30 | + "unist-util-is": "^4.0.0", |
| 31 | + "unist-util-visit": "^2.0.0" |
28 | 32 | }, |
29 | 33 | "devDependencies": { |
30 | 34 | "browserify": "^16.2.3", |
| 35 | + "dtslint": "^1.0.2", |
31 | 36 | "nyc": "^14.0.0", |
32 | 37 | "prettier": "^1.15.2", |
33 | | - "remark": "^10.0.0", |
34 | | - "remark-attr": "^0.8.0", |
35 | | - "remark-cli": "^6.0.0", |
36 | | - "remark-parse": "^6.0.3", |
37 | | - "remark-preset-wooorm": "^5.0.0", |
38 | | - "remark-usage": "^6.1.3", |
| 38 | + "remark": "^11.0.1", |
| 39 | + "remark-attr": "^0.9.0", |
| 40 | + "remark-cli": "^7.0.0", |
| 41 | + "remark-parse": "^7.0.1", |
| 42 | + "remark-preset-wooorm": "^6.0.1", |
| 43 | + "remark-usage": "^7.0.1", |
39 | 44 | "tape": "^4.10.1", |
40 | 45 | "tinyify": "^2.5.0", |
| 46 | + "typescript": "^3.0.0", |
41 | 47 | "unified": "^8.0.0", |
42 | | - "unist-builder": "^1.0.3", |
43 | | - "xo": "^0.24.0" |
| 48 | + "unist-builder": "^2.0.1", |
| 49 | + "xo": "^0.25.3" |
44 | 50 | }, |
45 | 51 | "scripts": { |
46 | 52 | "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", |
|
49 | 55 | "build": "npm run build-bundle && npm run build-mangle", |
50 | 56 | "test-api": "node test", |
51 | 57 | "test-coverage": "nyc --reporter lcov tape test/index.js", |
52 | | - "test": "npm run format && npm run build && npm run test-coverage" |
| 58 | + "test-types": "dtslint types", |
| 59 | + "test": "npm run format && npm run build && npm run test-coverage && npm run test-types" |
53 | 60 | }, |
54 | 61 | "nyc": { |
55 | 62 | "check-coverage": true, |
|
0 commit comments