diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000000..0dc7d40bd9 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,7 @@ +module.exports = { + testPathIgnorePatterns: [ + '/frontend/', + '/node_modules/', + 'test/functional', + ], +}; diff --git a/package.json b/package.json index a82877714c..8b05396428 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,6 @@ "name": "markbind-cli", "version": "2.14.1", "description": "Command line interface for MarkBind", - "main": "index.js", - "bin": { - "markbind": "./index.js" - }, "keywords": [ "mark", "markdown", @@ -14,33 +10,11 @@ "reusable", "CLI" ], - "author": "Jiang Sheng ", + "homepage": "https://markbind.org", "license": "MIT", - "dependencies": { - "@fortawesome/fontawesome-free": "^5.7.2", - "@primer/octicons": "^9.3.1", - "bluebird": "^3.7.2", - "bootswatch": "^4.4.1", - "chalk": "^3.0.0", - "cheerio": "^0.22.0", - "chokidar": "^3.3.0", - "commander": "^3.0.2", - "crypto-js": "^4.0.0", - "fastmatter": "^2.1.1", - "figlet": "^1.2.4", - "find-up": "^4.1.0", - "fs-extra-promise": "^1.0.1", - "gh-pages": "^2.1.1", - "htmlparser2": "^3.10.1", - "ignore": "^5.1.4", - "js-beautify": "^1.10.3", - "live-server": "^1.2.1", - "lodash": "^4.17.15", - "markbind": "file:src/lib/markbind", - "progress": "^2.0.3", - "walk-sync": "^2.0.2", - "winston": "^2.4.4", - "winston-daily-rotate-file": "^3.10.0" + "main": "index.js", + "bin": { + "markbind": "./index.js" }, "repository": { "type": "git", @@ -77,12 +51,31 @@ "updatetestwin:cli": "cd test/functional && update.bat", "watch:components": "cd frontend/components && npm run watch" }, - "jest": { - "testPathIgnorePatterns": [ - "/frontend/", - "/node_modules/", - "test/functional" - ] + "dependencies": { + "@fortawesome/fontawesome-free": "^5.7.2", + "@primer/octicons": "^9.3.1", + "bluebird": "^3.7.2", + "bootswatch": "^4.4.1", + "chalk": "^3.0.0", + "cheerio": "^0.22.0", + "chokidar": "^3.3.0", + "commander": "^3.0.2", + "crypto-js": "^4.0.0", + "fastmatter": "^2.1.1", + "figlet": "^1.2.4", + "find-up": "^4.1.0", + "fs-extra-promise": "^1.0.1", + "gh-pages": "^2.1.1", + "htmlparser2": "^3.10.1", + "ignore": "^5.1.4", + "js-beautify": "^1.10.3", + "live-server": "^1.2.1", + "lodash": "^4.17.15", + "markbind": "file:src/lib/markbind", + "progress": "^2.0.3", + "walk-sync": "^2.0.2", + "winston": "^2.4.4", + "winston-daily-rotate-file": "^3.10.0" }, "devDependencies": { "diff": "^4.0.1", diff --git a/src/lib/markbind/package.json b/src/lib/markbind/package.json index c21a024fbd..61321774c5 100644 --- a/src/lib/markbind/package.json +++ b/src/lib/markbind/package.json @@ -1,8 +1,7 @@ { "name": "markbind", - "version": "2.12.0", - "description": "MarkBind core module.", - "main": "src/parser.js", + "version": "2.14.1", + "description": "MarkBind core module", "keywords": [ "mark", "markdown", @@ -10,8 +9,13 @@ "fragment", "reusable" ], - "author": "Jiang Sheng ", + "homepage": "https://markbind.org", "license": "MIT", + "main": "src/parser.js", + "repository": { + "type": "git", + "url": "https://github.com/MarkBind/markbind.git" + }, "dependencies": { "@sindresorhus/slugify": "^0.9.1", "bluebird": "^3.7.2", @@ -38,9 +42,5 @@ "moment": "^2.24.0", "nunjucks": "^3.2.0", "path-is-inside": "^1.0.2" - }, - "repository": { - "type": "git", - "url": "https://github.com/MarkBind/markbind.git" } }