Add dep - markdown and unified modules

To build and convert md ast to markdown
This commit is contained in:
2019-12-15 16:31:31 +05:30
parent 7fe99ec7c5
commit 9fdd814558
2 changed files with 259 additions and 9 deletions
+7 -3
View File
@@ -19,8 +19,8 @@
"types": "lib/index",
"scripts": {
"clean": "rimraf lib && rimraf coverage",
"format": "prettier --write \"{src,__tests__}/**/*.ts\" --single-quote --trailing-comma es5",
"lint": "tslint --force --format verbose \"src/**/*.ts\"",
"format": "prettier --write \"{src,__tests__}/**/*.ts*\" --single-quote --trailing-comma es5",
"lint": "tslint --force --format verbose \"src/**/*.ts*\"",
"prepublishOnly": "npm run build",
"prebuild": "npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version",
"build": "tsc --pretty",
@@ -30,12 +30,16 @@
"watch:test": "jest --watch"
},
"dependencies": {
"react": "^16.12.0"
"mdast-builder": "^1.1.1",
"react": "^16.12.0",
"remark-stringify": "^7.0.4",
"unified": "^8.4.2"
},
"devDependencies": {
"@types/jest": "^23.3.3",
"@types/node": "^10.11.4",
"@types/react": "^16.9.16",
"@types/unist": "^2.0.3",
"coveralls": "^3.0.2",
"jest": "^23.6.0",
"prettier": "^1.14.3",