UNPKG

ts-mockito

Version:
82 lines (81 loc) 2.29 kB
{ "name": "ts-mockito", "version": "2.6.1", "description": "Mocking library for TypeScript", "main": "lib/ts-mockito.js", "typings": "lib/ts-mockito", "scripts": { "compile": "yarn test:compile-check && yarn rimraf '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", "test:karma:watch": "./node_modules/.bin/karma start karma.conf.js", "test:compile-check": "tsc --noEmit -p tsconfig.json", "lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'" }, "author": "kuster.maciej@gmail.com", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/NagRock/ts-mockito" }, "keywords": [ "mock", "typescript", "tests", "fake", "stub", "spy", "javascript" ], "devDependencies": { "@types/jasmine": "^2.6.0", "@types/lodash": "^4.14.104", "@types/node": "^8.0.46", "babel-polyfill": "^6.26.0", "jasmine-core": "^2.8.0", "jest": "^23.5.0", "karma": "^1.7.1", "karma-chrome-launcher": "^2.2.0", "karma-cli": "^1.0.1", "karma-jasmine": "^1.1.0", "karma-mocha-reporter": "^2.2.5", "karma-phantomjs-launcher": "^1.0.4", "karma-typescript": "^3.0.8", "karma-typescript-preprocessor": "^0.3.1", "phantomjs-prebuilt": "^2.1.16", "puppeteer": "^0.12.0", "rimraf": "^3.0.0", "ts-helpers": "^1.1.2", "ts-jest": "^23.0.1", "tslint": "^5.7.0", "typescript": "^2.7.2" }, "dependencies": { "lodash": "^4.17.5" }, "resolutions": { "write-file-atomic": "2.4.1" }, "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" ] } }