mirror of
https://github.com/documentationjs/documentation.git
synced 2025-12-08 18:23:43 +00:00
test: Stop testing in Node 14 and 16 BREAKING CHANGE This will require Node 18 as the new minimum required version, because we no longer test in 14 or 16.
122 lines
3.2 KiB
JSON
122 lines
3.2 KiB
JSON
{
|
|
"name": "documentation",
|
|
"description": "a documentation generator",
|
|
"version": "14.0.3",
|
|
"author": "Tom MacWright",
|
|
"homepage": "https://documentation.js.org",
|
|
"type": "module",
|
|
"bin": {
|
|
"documentation": "./bin/documentation.js"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/generator": "^7.18.10",
|
|
"@babel/parser": "^7.18.11",
|
|
"@babel/traverse": "^7.18.11",
|
|
"@babel/types": "^7.18.10",
|
|
"chalk": "^5.0.1",
|
|
"chokidar": "^3.5.3",
|
|
"diff": "^5.1.0",
|
|
"doctrine-temporary-fork": "2.1.0",
|
|
"git-url-parse": "^13.1.0",
|
|
"github-slugger": "1.4.0",
|
|
"glob": "^8.0.3",
|
|
"globals-docs": "^2.4.1",
|
|
"highlight.js": "^11.6.0",
|
|
"ini": "^3.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"konan": "^2.1.1",
|
|
"lodash": "^4.17.21",
|
|
"mdast-util-find-and-replace": "^2.2.1",
|
|
"mdast-util-inject": "^1.1.0",
|
|
"micromark-util-character": "^1.1.0",
|
|
"parse-filepath": "^1.0.2",
|
|
"pify": "^6.0.0",
|
|
"read-pkg-up": "^9.1.0",
|
|
"remark": "^14.0.2",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-html": "^15.0.1",
|
|
"remark-reference-links": "^6.0.1",
|
|
"remark-toc": "^8.0.1",
|
|
"resolve": "^1.22.1",
|
|
"strip-json-comments": "^5.0.0",
|
|
"unist-builder": "^3.0.0",
|
|
"unist-util-visit": "^4.1.0",
|
|
"vfile": "^5.3.4",
|
|
"vfile-reporter": "^7.0.4",
|
|
"vfile-sort": "^3.0.0",
|
|
"yargs": "^17.5.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@vue/compiler-sfc": "^3.2.37",
|
|
"vue-template-compiler": "^2.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"chdir": "0.0.0",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"documentation-schema": "0.0.1",
|
|
"eslint": "^8.21.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"fs-extra": "^10.1.0",
|
|
"husky": "^8.0.1",
|
|
"jest": "^28.1.3",
|
|
"json-schema": "^0.4.0",
|
|
"lint-staged": "^13.0.3",
|
|
"mock-fs": "^5.1.4",
|
|
"prettier": "^2.7.1",
|
|
"standard-version": "^9.5.0",
|
|
"tmp": "^0.2.1"
|
|
},
|
|
"keywords": [
|
|
"documentation",
|
|
"formatter",
|
|
"jsdoc",
|
|
"jsdoc3",
|
|
"parser",
|
|
"website"
|
|
],
|
|
"license": "ISC",
|
|
"main": "src/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:documentationjs/documentation.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run doc",
|
|
"release": "standard-version",
|
|
"format": "prettier --write '{src,__tests__,declarations,bin,default_theme}/**/*.js'",
|
|
"doc": "node ./bin/documentation.js build src/index.js -f md --access=public > docs/NODE_API.md",
|
|
"self-lint": "node ./bin/documentation.js lint src",
|
|
"test": "eslint . && node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
"test-ci": "eslint . && node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
|
|
"prepare": "husky install",
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"utils.js",
|
|
"fixture"
|
|
],
|
|
"transform": {},
|
|
"collectCoverage": true,
|
|
"testEnvironment": "jest-environment-node",
|
|
"moduleNameMapper": {
|
|
"#(.*)": "<rootDir>/node_modules/$1"
|
|
}
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|