2020-03-31 20:42:07 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "ts-jest",
|
2020-04-30 20:40:07 +08:00
|
|
|
"version": "25.4.0",
|
2020-03-31 20:57:48 +08:00
|
|
|
"main": "dist/index.js",
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"bin": "cli.js",
|
|
|
|
"description": "A preprocessor with source maps support to help use TypeScript with Jest",
|
|
|
|
"scripts": {
|
|
|
|
"prebuild": "node scripts/clean-dist.js",
|
|
|
|
"build": "tsc -p tsconfig.build.json",
|
|
|
|
"postbuild": "node scripts/post-build.js",
|
|
|
|
"build:watch": "tsc -p tsconfig.build.json -w",
|
|
|
|
"clean": "node scripts/clean.js",
|
|
|
|
"pretest": "npm run lint",
|
|
|
|
"test": "run-s -s test:e2e \"test:unit -- {@}\" --",
|
|
|
|
"test:prepare": "npm run test:e2e -- --prepareOnly",
|
|
|
|
"test:e2e": "node scripts/e2e.js",
|
|
|
|
"test:e2e:update-snaphots": "node scripts/e2e.js --updateSnapshot",
|
|
|
|
"test:unit": "node_modules/.bin/jest",
|
|
|
|
"test:external": "node scripts/test-external-project.js",
|
2020-04-30 20:40:07 +08:00
|
|
|
"test:external-repos": "npm run test:external external-repos",
|
2020-03-31 20:57:48 +08:00
|
|
|
"lint": "run-s lint:ts lint:js",
|
|
|
|
"lint:js": "node_modules/.bin/eslint . -f stylish",
|
|
|
|
"lint:ts": "node_modules/.bin/tslint -t stylish --project .",
|
|
|
|
"lint:fix": "run-s lint:fix:ts lint:fix:js",
|
|
|
|
"lint:fix:js": "node_modules/.bin/eslint . --fix",
|
|
|
|
"lint:fix:ts": "node_modules/.bin/tslint --fix --project .",
|
|
|
|
"typecheck": "node_modules/.bin/tsc -p .",
|
|
|
|
"doc": "cd docs && bundle exec jekyll serve --livereload",
|
|
|
|
"doc:link": "git worktree add docs/_site gh-pages",
|
|
|
|
"doc:unlink": "git worktree prune",
|
|
|
|
"doc:build": "cd docs && bundle exec jekyll build",
|
|
|
|
"doc:build-commit": "npm run doc:build && cd docs/_site && git add --all && git commit -m \"Updates github pages\"",
|
2020-04-30 20:40:07 +08:00
|
|
|
"changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
2020-03-31 20:57:48 +08:00
|
|
|
"prepare": "npm run build",
|
|
|
|
"prepublishOnly": "npm run test",
|
|
|
|
"preversion": "npm run test",
|
|
|
|
"update:e2e": "node scripts/update-e2e-templates.js",
|
|
|
|
"version": "npm run changelog && git add CHANGELOG.md"
|
2020-03-31 20:42:07 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/kulshekhar/ts-jest.git"
|
2020-03-31 20:42:07 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"keywords": [
|
|
|
|
"jest",
|
|
|
|
"typescript",
|
|
|
|
"sourcemap",
|
|
|
|
"react",
|
|
|
|
"testing"
|
|
|
|
],
|
|
|
|
"author": "Kulshekhar Kabra <kulshekhar@users.noreply.github.com> (https://github.com/kulshekhar)",
|
|
|
|
"contributors": [
|
|
|
|
"Huafu Gandon <huafu.gandon@gmail.com> (https://github.com/huafu)",
|
|
|
|
"Anh Pham <anhpnnd@gmail.com> (https://github.com/ahnpnl)",
|
|
|
|
"Gustav Wengel <gustavwengel@gmail.com> (https://github.com/GeeWee)"
|
|
|
|
],
|
|
|
|
"license": "MIT",
|
2020-03-31 20:42:07 +08:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/kulshekhar/ts-jest/issues"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"homepage": "https://kulshekhar.github.io/ts-jest",
|
2020-03-31 20:42:07 +08:00
|
|
|
"dependencies": {
|
|
|
|
"bs-logger": "0.x",
|
|
|
|
"buffer-from": "1.x",
|
|
|
|
"fast-json-stable-stringify": "2.x",
|
|
|
|
"json5": "2.x",
|
|
|
|
"lodash.memoize": "4.x",
|
|
|
|
"make-error": "1.x",
|
2020-04-30 20:40:07 +08:00
|
|
|
"micromatch": "4.x",
|
2020-03-31 20:42:07 +08:00
|
|
|
"mkdirp": "1.x",
|
|
|
|
"resolve": "1.x",
|
|
|
|
"semver": "6.x",
|
2020-04-30 20:40:07 +08:00
|
|
|
"yargs-parser": "18.x"
|
2020-03-31 20:42:07 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"peerDependencies": {
|
2020-04-30 20:40:07 +08:00
|
|
|
"jest": ">=25 <26",
|
|
|
|
"typescript": ">=3.4 <4.0"
|
2020-03-31 20:57:48 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
|
|
"post-commit": "git reset"
|
|
|
|
}
|
|
|
|
},
|
2020-03-31 20:42:07 +08:00
|
|
|
"devDependencies": {
|
|
|
|
"@commitlint/cli": "8.x",
|
2020-04-30 20:40:07 +08:00
|
|
|
"@commitlint/config-conventional": "8.x",
|
2020-03-31 20:42:07 +08:00
|
|
|
"@jest/transform": "25.x",
|
|
|
|
"@jest/types": "25.x",
|
|
|
|
"@types/babel__core": "7.x",
|
|
|
|
"@types/buffer-from": "latest",
|
|
|
|
"@types/cross-spawn": "latest",
|
|
|
|
"@types/fs-extra": "latest",
|
|
|
|
"@types/jest": "25.x",
|
|
|
|
"@types/js-yaml": "latest",
|
|
|
|
"@types/json5": "latest",
|
|
|
|
"@types/lodash.memoize": "4.x",
|
|
|
|
"@types/lodash.merge": "4.x",
|
|
|
|
"@types/lodash.set": "4.x",
|
2020-04-30 20:40:07 +08:00
|
|
|
"@types/micromatch": "4.x",
|
2020-03-31 20:42:07 +08:00
|
|
|
"@types/mkdirp": "latest",
|
|
|
|
"@types/node": "10.x",
|
2020-04-30 20:40:07 +08:00
|
|
|
"@types/react": "16.x",
|
2020-03-31 20:42:07 +08:00
|
|
|
"@types/resolve": "latest",
|
|
|
|
"@types/semver": "latest",
|
|
|
|
"@types/yargs": "latest",
|
2020-04-30 20:40:07 +08:00
|
|
|
"@types/yargs-parser": "15.x",
|
2020-03-31 20:42:07 +08:00
|
|
|
"conventional-changelog-cli": "2.x",
|
|
|
|
"cross-spawn": "latest",
|
|
|
|
"eslint": "latest",
|
|
|
|
"fs-extra": "8.x",
|
|
|
|
"glob-gitignore": "latest",
|
|
|
|
"husky": "3.x",
|
|
|
|
"jest": "25.x",
|
|
|
|
"js-yaml": "latest",
|
|
|
|
"lint-staged": "latest",
|
|
|
|
"lodash.merge": "4.x",
|
|
|
|
"lodash.set": "4.x",
|
|
|
|
"npm-run-all": "latest",
|
|
|
|
"prettier": "1.x",
|
|
|
|
"source-map": "latest",
|
|
|
|
"tslint": "latest",
|
|
|
|
"tslint-config-prettier": "latest",
|
|
|
|
"tslint-plugin-prettier": "latest",
|
|
|
|
"typescript": "3.x"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx}": [
|
|
|
|
"tslint --fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{js,jsx}": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"engines": {
|
|
|
|
"node": ">= 8"
|
|
|
|
}
|
2020-03-31 20:42:07 +08:00
|
|
|
}
|