UNPKG

@johanblumenberg/ts-mockito

Version:
78 lines (77 loc) 2.15 kB
{ "name": "@johanblumenberg/ts-mockito", "version": "1.0.51", "description": "Mocking library for TypeScript", "main": "lib/ts-mockito.js", "typings": "lib/ts-mockito", "scripts": { "compile": "rm -rf 'lib/*' && ./node_modules/.bin/tsc -p ./src", "test": "npm run test:jest && npm run test:karma", "test:watch": "npm run test:jest:watch", "test:coverage": "jest --coverage --maxWorkers=4", "test:jest": "jest", "test:jest:watch": "jest --watch", "test:karma": "./node_modules/.bin/karma start karma.conf.js --single-run --skip-tags nodejs", "test:karma:watch": "./node_modules/.bin/karma start karma.conf.js", "lint": "./node_modules/tslint/bin/tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'" }, "author": "johan.blumenberg@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/johanblumenberg/ts-mockito" }, "keywords": [ "mock", "typescript", "tests", "fake", "stub", "spy", "javascript" ], "devDependencies": { "@types/jasmine": "^2.6.0", "@types/jest": "^26.0.0", "@types/lodash": "^4.14.104", "@types/node": "^8.0.46", "babel-polyfill": "^6.26.0", "jasmine-core": "^5.0.0", "jest": "^26.0.0", "karma": "^6.0.0", "karma-chrome-launcher": "^3.1.0", "karma-cli": "^2.0.0", "karma-jasmine": "^5.0.0", "karma-jasmine-html-reporter": "^2.1.0", "karma-jasmine-spec-tags": "^2.0.0", "karma-mocha-reporter": "^2.2.5", "karma-typescript": "^5.2.0", "karma-typescript-preprocessor": "^0.4.0", "ts-expect": "^1.3.0", "ts-helpers": "^1.1.2", "ts-jest": "^26.0.0", "tslint": "^5.7.0", "typescript": "^3.4.5" }, "dependencies": { "lodash": "^4.17.20" }, "jest": { "testEnvironment": "node", "transform": { "^.+\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(spec))\\.(ts|js)$", "moduleFileExtensions": [ "ts", "js", "json" ], "collectCoverageFrom": [ "src/**/*.ts" ], "coverageReporters": [ "lcov" ] } }