mochapack
Version:
mocha cli with webpack support
167 lines (166 loc) • 4.75 kB
JSON
{
"name": "mochapack",
"version": "2.1.5",
"description": "mocha cli with webpack support",
"bin": "./bin/mochapack",
"main": "./lib/createMochapack.js",
"files": [
"*.md",
"bin",
"src",
"lib",
"LICENSE.md",
"README.md"
],
"scripts": {
"clean-lib": "del-cli \"lib/**\" \"!lib\" \"!lib/reporters\" \"!lib/utils.js\" \"!lib/entry.js\" \"!lib/reporters/base.js\"",
"clean-tmp": "del-cli \".tmp/**\"",
"build": "nari clean-lib && tsc",
"format": "prettier '{src,test}/**/*' ./*.json --write --loglevel warn",
"lint": "eslint src/**/*.ts test/**/*.ts --fix",
"test": "nari clean-tmp && nari build && ts-mocha --timeout 10000 --recursive --require @babel/register --exit \"{test,src}/**/*.test.ts\"",
"cover": "cross-env BABEL_ENV=coverage nyc --reporter=lcov --reporter=text nari test",
"posttest": "nari format && nari lint",
"docs:clean": "del-cli _book",
"docs:build": "nari docs:clean && node ./gitbook-cli build",
"docs:watch": "node ./gitbook-cli serve --port 3000",
"docs:deploy": "gh-pages -d _book",
"prepack": "nari build",
"postpublish": "nari docs:deploy",
"release": "np",
"watch": "tsc -w"
},
"repository": {
"type": "git",
"url": "https://github.com/sysgears/mochapack"
},
"bugs": {
"url": "https://github.com/sysgears/mochapack/issues"
},
"keywords": [
"webpack",
"mocha"
],
"author": "Victor Vlasenko <victor.vlasenko@sysgears.com>",
"license": "MIT",
"peerDependencies": {
"mocha": ">=6",
"webpack": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-typescript": "^7.7.4",
"@babel/register": "^7.0.0",
"@babel/runtime": "^7.7.6",
"@types/chai": "^4.2.7",
"@types/lodash": "^4.14.149",
"@types/mocha": "^9.1.0",
"@types/node": "^22.7.4",
"@types/sinon": "^9.0.0",
"@types/sinon-chai": "^3.2.4",
"@types/yargs": "^15.0.4",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"anymatch": "3.1.1",
"assert": "^2.0.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-istanbul": "4.1.6",
"babel-plugin-lodash": "^3.2.10",
"bash-color": "0.0.4",
"bdd-lazy-var": "^2.5.0",
"chai": "^4.1.0",
"coffee-script": "^1.11.1",
"commander": "2.11.0",
"core-js": "^3.0.0",
"cross-env": "6.0.3",
"css-loader": "^5.0.1",
"del": "5.1.0",
"del-cli": "3.0.0",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.24.2",
"fs-extra": "5.0.0",
"gh-pages": "1.2.0",
"gitbook": "3.2.2",
"gitbook-plugin-anchors": "^0.7.1",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-prism": "^2.0.0",
"glob": "7.1.4",
"mocha": "9.2.0",
"np": "5.1.0",
"nyc": "14.1.1",
"optimist": "0.6.1",
"prettier": "^1.19.1",
"sass-loader": "^10.1.0",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"strip-ansi": "^5.2.0",
"tiny-worker": "2.3.0",
"ts-mocha": "^7.0.0",
"typescript": "^4.9.3",
"worker-loader": "^3.0.5"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.0.0",
"chalk": "^2.4.2",
"chokidar": "^3.5.2",
"glob-parent": "5.1.2",
"globby": "^10.0.1",
"interpret": "^1.2.0",
"is-glob": "^4.0.1",
"loader-utils": "^1.2.3",
"lodash": "^4.17.15",
"memory-fs": "^0.4.1",
"minimatch": "^3.0.4",
"nodent-runtime": "^3.2.1",
"normalize-path": "^3.0.0",
"progress": "^2.0.3",
"source-map-support": "^0.5.13",
"toposort": "^2.0.2",
"yargs": "14.0.0"
},
"greenkeeper": {
"ignore": [
"globby",
"gitbook-cli",
"gitbook-plugin-anchors",
"gitbook-plugin-edit-link",
"gitbook-plugin-github",
"gitbook-plugin-prism"
]
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"endOfLine": "lf"
},
"resolutions": {
"js-yaml": ">=3.13.0",
"lodash.mergewith": ">=4.6.2",
"bdd-lazy-var/mocha": ">=4.0.0",
"cheerio": "^0.20.0",
"graceful-fs": "4.2.4",
"fstream": ">=1.0.12",
"tunnel-agent": ">=0.6.0",
"hoek": "^4.2.1",
"cryptiles": "^4.1.3"
},
"lockTime": "2024-10-02T13:05:25.268Z"
}