@gasket/plugin-mocha
Version:
Integrates mocha based testing in to your Gasket application
129 lines • 3.24 kB
JSON
{
"name": "@gasket/plugin-mocha",
"version": "7.5.3",
"description": "Integrates mocha based testing in to your Gasket application",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"generator",
"lib"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./node-loader-babel": {
"types": "./lib/node-loader-babel/index.d.ts",
"default": "./lib/node-loader-babel/index.js"
},
"./node-loader-styles": {
"types": "./lib/node-loader-styles/index.d.ts",
"default": "./lib/node-loader-styles/index.js"
},
"./package.json": "./package.json"
},
"repository": "godaddy/gasket.git",
"publishConfig": {
"access": "public"
},
"keywords": [
"gasket",
"mocha",
"plugin",
"test"
],
"author": "GoDaddy Operating Company, LLC",
"license": "MIT",
"bugs": "https://github.com/godaddy/gasket/issues",
"homepage": "https://github.com/godaddy/gasket/tree/main/packages/gasket-plugin-mocha",
"devDependencies": {
"@babel/core": "^7.26.9",
"@babel/plugin-transform-runtime": "^7.26.9",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.3.0",
"@types/jest": "^29.5.14",
"@types/mocha": "^10.0.10",
"@types/node": "^20.17.19",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-config-godaddy": "^7.1.1",
"eslint-config-godaddy-typescript": "^4.0.3",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-unicorn": "^55.0.0",
"global-jsdom": "^8.8.0",
"jest": "^29.7.0",
"jsdom": "^20.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.2",
"@gasket/core": "^7.5.2",
"@gasket/plugin-express": "^7.4.1",
"@gasket/plugin-metadata": "^7.4.4",
"create-gasket-app": "^7.4.6"
},
"eslintConfig": {
"extends": [
"godaddy",
"plugin:jest/recommended",
"plugin:jsdoc/recommended-typescript-flavor"
],
"plugins": [
"unicorn",
"jsdoc"
],
"rules": {
"unicorn/filename-case": "error",
"max-nested-callbacks": [
2,
6
]
},
"overrides": [
{
"files": [
"lib/*.ts"
],
"extends": [
"godaddy-typescript"
],
"rules": {
"jsdoc/*": "off"
}
}
]
},
"eslintIgnore": [
"generator"
],
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/transform-runtime"
]
},
"jest": {
"rootDir": "test"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "pnpm run lint --fix",
"posttest": "pnpm run lint && pnpm run typecheck",
"test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict' jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
}
}