@sprucelabs/test-utils
Version:
Helpful utilities to make asserting more complicated conditions quick and easy! ⚡️
108 lines (107 loc) • 3.68 kB
JSON
{
"name": "@sprucelabs/test-utils",
"publishConfig": {
"access": "public"
},
"version": "6.0.54",
"files": [
"build"
],
"skill": {
"namespace": "spruce-test-utils",
"upgradeIgnoreList": [
"concurrently",
"@sprucelabs/jest-sheets-reporter",
"@sprucelabs/resolve-path-aliases",
"@sprucelabs/spruce-test-fixtures",
"@sprucelabs/test-utils"
]
},
"main": "./build/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"sideEffects": false,
"description": "Helpful utilities to make asserting more complicated conditions quick and easy! ⚡️",
"keywords": [
"node",
"components",
"sprucebot",
"sprucelabs"
],
"homepage": "https://github.com/sprucelabsai/spruce-test-utils",
"bugs": {
"url": "https://github.com/sprucelabsai/spruce-test-utils/issues"
},
"scripts": {
"build.ci": "yarn build.tsc && yarn lint",
"build.copy-files": "true",
"build.dev": "yarn build.tsc --sourceMap",
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
"build.resolve-paths": "true",
"build.tsc": "tsc",
"clean": "yarn run clean.build",
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
"clean.build": "rm -rf build/",
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
"clean.dist": "rm -rf build/__tests__ build/esm/__tests__",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"lint": "eslint --cache '**/*.ts'",
"lint.tsc": "tsc -p . --noEmit",
"lint.watch": "chokidar 'index.ts' 'src/**/*.(js|jsx|ts|tsx)' -c 'yarn lint'",
"post.watch.build": "yarn run build.copy-files && yarn run build.resolve-paths",
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
"release": "semantic-release",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"test": "jest",
"update.dependencies": "yarn run clean.dependencies && yarn",
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
"watch.tsc": "tsc -w"
},
"dependencies": {
"@sprucelabs/error": "^7.1.0",
"deep-equal": "^2.2.3",
"just-clone": "^6.2.0",
"lodash": "^4.17.21",
"ts-expect": "^1.3.0",
"variable-diff": "^2.0.2"
},
"devDependencies": {
"@sprucelabs/esm-postbuild": "^7.0.22",
"@sprucelabs/jest-json-reporter": "^9.0.35",
"@sprucelabs/jest-sheets-reporter": "^2.0.20",
"@sprucelabs/semantic-release": "^5.0.2",
"@sprucelabs/test": "^10.0.14",
"@types/deep-equal": "^1.0.4",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/node": "^24.2.1",
"chokidar-cli": "^3.0.0",
"eslint": "^9.33.0",
"eslint-config-spruce": "^11.2.26",
"jest": "^30.0.5",
"jest-circus": "^30.0.5",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"tsc-watch": "^7.1.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.2"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/tmp/",
"<rootDir>/src/",
"<rootDir>/node_modules/",
"<rootDir>/build/__tests__/testDirsAndFiles/",
"<rootDir>/build/esm/"
],
"watchPathIgnorePatterns": [
"<rootDir>/src/"
],
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
]
}
}