UNPKG

@sprucelabs/test-utils

Version:

Helpful utilities to make asserting more complicated conditions quick and easy! ⚡️

109 lines (108 loc) 3.71 kB
{ "name": "@sprucelabs/test-utils", "publishConfig": { "access": "public" }, "version": "7.1.1", "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": "^8.0.14", "deep-equal": "^2.2.3", "jest-matcher-utils": "^30.2.0", "just-clone": "^6.2.0", "lodash": "^4.17.21", "ts-expect": "^1.3.0", "variable-diff": "^2.0.2" }, "devDependencies": { "@sprucelabs/esm-postbuild": "^9.0.12", "@sprucelabs/jest-json-reporter": "^10.0.16", "@sprucelabs/jest-sheets-reporter": "^2.0.20", "@sprucelabs/semantic-release": "^6.0.0", "@sprucelabs/test": "^11.0.5", "@types/deep-equal": "^1.0.4", "@types/jest": "^30.0.0", "@types/lodash": "^4.17.21", "@types/node": "^25.0.3", "chokidar-cli": "^3.0.0", "eslint": "^9.39.2", "eslint-config-spruce": "^11.2.26", "jest": "^30.2.0", "jest-circus": "^30.2.0", "prettier": "^3.7.4", "ts-node": "^10.9.2", "tsc-watch": "^7.2.0", "tsconfig-paths": "^4.2.0", "typescript": "^5.9.3" }, "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)" ] } }