UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

123 lines (122 loc) 7 kB
{ "name": "ts-auto-mock", "version": "3.7.4", "description": "Typescript transformer to unlock automatic mock creation for interfaces and classes", "scripts": { "build": "npm run build:modules && npm run build:transformer", "ts-patch:install": "ts-patch install", "build:debug": "npm run build:modules:debug && npm run build:transformer:debug", "build:transformer": "webpack --config config/modules/transformer/webpack.js", "build:transformer:debug": "cross-env DEBUG=true webpack --config config/modules/transformer/webpack.js", "build:modules": "webpack --config config/modules/webpack.js", "build:modules:debug": "cross-env DEBUG=true webpack --config config/modules/webpack.js", "build:transformer:definitelyTyped": "webpack --config config/modules/definitelyTypedTransformer/webpack.functions.js && webpack --config config/modules/definitelyTypedTransformer/webpack.js", "build:transformer:definitelyTyped:debug": "cross-env DEBUG=true webpack --config config/modules/definitelyTypedTransformer/webpack.functions.js && cross-env DEBUG=true webpack --config config/modules/definitelyTypedTransformer/webpack.js", "build:playground": "tspc --project ./test/playground/tsconfig.build.json", "test": "npm run test:transformer && npm run test:noTransformer && npm run test:framework:context && npm run test:framework && npm run test:frameworkDeprecated && npm run test:registerMock && npm run test:createHydratedMock && npm run test:features && npm run test:filesFilter && npm run test:logs && npm run test:unit && npm run test:build", "test:unit": "cross-env JASMINE_CONFIG=./test/unit/jasmine.json TSCONFIG=./test/tsconfig.json npm run test:common", "test:transformer": "cross-env JASMINE_CONFIG=./test/transformer/jasmine.json TSCONFIG=./test/transformer/tsconfig.json npm run test:common", "test:build": "cross-env JASMINE_CONFIG=./test/build/jasmine.json TSCONFIG=./test/build/tsconfig.json npm run test:common", "test:noTransformer": "cross-env JASMINE_CONFIG=./test/noTransformer/jasmine.json TSCONFIG=./test/tsconfig.json npm run test:common", "test:registerMock": "cross-env JASMINE_CONFIG=./test/registerMock/jasmine.json TSCONFIG=./test/registerMock/tsconfig.json npm run test:common", "test:createHydratedMock": "cross-env JASMINE_CONFIG=./test/createHydratedMock/jasmine.json TSCONFIG=./test/createHydratedMock/tsconfig.json npm run test:common", "test:framework:context": "cross-env JASMINE_CONFIG=./test/frameworkContext/jasmine.json TSCONFIG=./test/frameworkContext/tsconfig.json npm run test:common", "test:frameworkDeprecated": "cross-env JASMINE_CONFIG=./test/frameworkContext/jasmineDeprecated.json TSCONFIG=./test/frameworkContext/tsconfig.json npm run test:common", "test:framework": "cross-env JASMINE_CONFIG=./test/framework/jasmine.json TSCONFIG=./test/framework/tsconfig.json npm run test:common", "test:features": "cross-env JASMINE_CONFIG=./test/features/jasmine.json TSCONFIG=./test/features/tsconfig.json npm run test:common", "test:filesFilter": "cross-env JASMINE_CONFIG=./test/filesFilter/jasmine.json TSCONFIG=./test/filesFilter/tsconfig.json npm run test:common", "test:logs": "cross-env JASMINE_CONFIG=./test/logs/jasmine.json TSCONFIG=./test/logs/tsconfig.json npm run test:common", "test:playground": "cross-env JASMINE_CONFIG=./test/playground/jasmine.json TSCONFIG=./test/playground/tsconfig.json npm run test:common", "test:playground:build": "cross-env JASMINE_CONFIG=./test/playground/jasmine.build.json TSCONFIG=./test/playground/tsconfig.json npm run test:common", "test:common": "cross-var ts-node --files -r tsconfig-paths/register --project $TSCONFIG node_modules/jasmine/bin/jasmine --config=$JASMINE_CONFIG", "dist:collect": "cp -r package.json package-lock.json README.md LICENSE.md dist", "ts-check:src": "tsc --noEmit", "eslint": "eslint ./src/**/*.ts ./test/**/*.ts", "eslint:fix": "eslint --fix ./src/**/*.ts ./test/**/*.ts", "prettier": "prettier --check **/*.{ts,json}", "prettier:fix": "npm run prettier -- --write", "release": "npm run dist:collect && semantic-release", "postversion": "cp -r package.json ../ && cp -r package-lock.json ../", "cz": "git-cz", "commit": "npm run cz", "commitlint": "commitlint -E $1", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate" }, "keywords": [ "typescript", "spy", "mock", "auto" ], "repository": { "type": "git", "url": "https://github.com/Typescript-TDD/ts-auto-mock.git" }, "author": "Vittorio Guerriero & Giulio Caprino", "license": "MIT", "devDependencies": { "@commitlint/cli": "19.4.0", "@commitlint/config-angular": "19.3.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "10.0.1", "@semantic-release/github": "10.1.7", "@stylistic/eslint-plugin": "2.6.4", "@stylistic/eslint-plugin-ts": "2.6.4", "@types/jasmine": "^5.1.4", "@types/lodash-es": "^4.17.12", "@types/micromatch": "^4.0.9", "@types/node": "20.16.1", "@typescript-eslint/eslint-plugin": "8.2.0", "@typescript-eslint/parser": "8.2.0", "all-contributors-cli": "^6.26.1", "clean-webpack-plugin": "4.0.0", "commitizen": "^4.3.0", "conventional-changelog-angular": "8.0.0", "cross-env": "7.0.3", "cross-var": "1.1.0", "cz-customizable": "7.2.1", "eslint": "8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "5.2.1", "eslint-webpack-plugin": "4.2.0", "git-branch-is": "4.0.0", "husky": "9.1.5", "jasmine": "5.2.0", "jasmine-spec-reporter": "7.0.0", "no-emit-webpack-plugin": "4.0.1", "prettier": "3.3.3", "regenerator-runtime": "^0.14.1", "semantic-release": "24.1.0", "semantic-release-slack-bot": "^4.0.2", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "ts-patch": "3.2.1", "tsconfig-paths": "4.2.0", "typescript": "5.5.4", "webpack": "^5.94.0", "webpack-cli": "^5.1.4", "webpack-merge": "6.0.1", "webpack-node-externals": "3.0.0" }, "dependencies": { "lodash-es": "4.17.21", "micromatch": "4.0.8" }, "peerDependencies": { "typescript": "^5.0.4" }, "config": { "commitizen": { "path": "./node_modules/cz-customizable" }, "cz-customizable": { "config": "./commitizen.js" } }, "engines": { "npm": ">=6.x.x", "node": ">=14.x.x" } }