UNPKG

apex-mutation-testing

Version:

Apex mutation testing plugin

247 lines (246 loc) 5.71 kB
{ "name": "apex-mutation-testing", "description": "Apex mutation testing plugin", "version": "1.1.0", "dependencies": { "@oclif/core": "^4.2.8", "@salesforce/apex-node": "^8.1.19", "@salesforce/core": "^8.8.3", "@salesforce/sf-plugins-core": "^12.2.0", "@stryker-mutator/core": "^8.7.1", "antlr4ts": "^0.5.0-alpha.4", "apex-parser": "^2.17.0" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@commitlint/config-conventional": "^19.7.1", "@oclif/plugin-help": "^6.2.26", "@salesforce/cli-plugins-testkit": "^5.3.39", "@salesforce/dev-config": "^4.3.1", "@types/chai": "^5.0.1", "@types/jest": "^29.5.14", "chai": "^5.2.0", "husky": "^9.1.7", "jest": "^29.7.0", "knip": "^5.45.0", "mocha": "^11.1.0", "nyc": "^17.1.0", "oclif": "^4.17.32", "shx": "^0.3.4", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.7.3", "wireit": "^0.14.11" }, "engines": { "node": ">=18.6.0" }, "files": [ "/lib", "/messages", "/npm-shrinkwrap.json", "/oclif.manifest.json", "/oclif.lock" ], "keywords": [ "sf", "sf-plugin", "apex", "test", "mutation" ], "license": "MIT", "oclif": { "commands": "./lib/commands", "bin": "sf", "topicSeparator": " ", "flexibleTaxonomy": true, "devPlugins": [ "@oclif/plugin-help" ] }, "scripts": { "build": "wireit", "clean:package-manager": "wireit", "clean": "wireit", "compile": "wireit", "dependencies:upgrade": "npx npm-check-updates -u ; npm install ; npm audit fix", "lint": "wireit", "lint:dependencies": "wireit", "lint:fix": "wireit", "lint:staged": "wireit", "postpack": "shx rm -f oclif.manifest.json", "prepack": "wireit", "prepare": "husky", "prepublishOnly": "npm shrinkwrap", "test:build": "wireit", "test:nut": "wireit", "test:unit": "wireit", "test": "wireit" }, "publishConfig": { "access": "public" }, "wireit": { "build": { "dependencies": [ "compile", "lint" ] }, "clean": { "command": "shx rm -rf 'reports/*' .nyc_output oclif.manifest.json package.tgz 'sfdx-git-delta-*.tgz' 'stderr*.txt' 'stdout*.txt' '.stryker-tmp/*' perf-result.txt", "files": [ "lib", "reports/*", ".nyc_output", "oclif.manifest.json", "package.tgz", "sfdx-git-delta-v*.tgz", "stderr*.txt", "stdout*.txt", ".stryker-tmp/*", "perf-result.txt" ], "dependencies": [ "clean:build" ] }, "clean:build": { "command": "shx rm -rf lib", "files": [ "lib/*" ] }, "clean:package-manager": { "command": "shx rm -rf node_modules tsconfig.tsbuildinfo .wireit", "files": [ "node_modules/*" ] }, "compile": { "command": "tsc -p . --pretty --incremental", "files": [ "src/**/*.ts", "**/tsconfig.json", "messages/**" ], "output": [ "lib/**", "*.tsbuildinfo" ], "clean": "if-file-deleted" }, "lint": { "command": "npx @biomejs/biome check --error-on-warnings --no-errors-on-unmatched src test", "files": [ "src/**", "test/**/*.ts", "messages/**", "**/biome.json", "**/tsconfig.json" ], "output": [] }, "lint:dependencies": { "command": "knip", "files": [ "src/**/*.ts", "test/**/*.ts", "messages/**", "**/tsconfig.json", "knip.config.ts" ], "output": [], "dependencies": [ "lint" ] }, "lint:fix": { "command": "npx @biomejs/biome check --error-on-warnings --no-errors-on-unmatched src test --fix --unsafe ", "files": [ "src/**", "test/**/*.ts", "messages/**", "**/biome.json", "**/tsconfig.json" ], "output": [] }, "lint:staged": { "command": "npx @biomejs/biome check --error-on-warnings --no-errors-on-unmatched --staged src test", "files": [ "src/**", "test/**/*.ts", "messages/**", "**/biome.json", "**/tsconfig.json" ], "output": [] }, "prepack": { "command": "oclif manifest && oclif readme", "files": [ "src/commands/apex/mutation/test/run.ts", "messages/apex.mutation.test.run.md", "README.md" ], "dependencies": [ "build" ], "output": [ "README.md" ], "clean": false }, "test": { "dependencies": [ "build", "lint", "test:unit", "test:nut" ] }, "test:build": { "command": "npm install && npm pack && npm run test", "dependencies": [ "clean", "clean:package-manager" ] }, "test:nut": { "command": "nyc mocha -r ts-node/register **/*.nut.ts", "files": [ "src/**/*.ts", "test/**/*.ts", "messages/**", "**/tsconfig.json" ], "output": [ ".nyc_output/**" ], "dependencies": [ "lint", "build" ] }, "test:unit": { "command": "jest --coverage", "files": [ "src/**/*.ts", "__tests__/**/*.ts", "messages/**", "**/tsconfig.json" ], "output": [ "reports/coverage/**" ], "dependencies": [ "lint" ] } }, "type": "module", "author": "Sébastien Colladon (colladonsebastien@gmail.com)" }