132 lines
4.0 KiB
JSON
132 lines
4.0 KiB
JSON
|
{
|
||
|
"name": "ts-jest",
|
||
|
"version": "24.3.0",
|
||
|
"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:unit": "node_modules/.bin/jest",
|
||
|
"test:external": "node scripts/test-external-project.js",
|
||
|
"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\"",
|
||
|
"changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
||
|
"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"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/kulshekhar/ts-jest.git"
|
||
|
},
|
||
|
"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)"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/kulshekhar/ts-jest/issues"
|
||
|
},
|
||
|
"homepage": "https://kulshekhar.github.io/ts-jest",
|
||
|
"dependencies": {
|
||
|
"bs-logger": "0.x",
|
||
|
"buffer-from": "1.x",
|
||
|
"fast-json-stable-stringify": "2.x",
|
||
|
"lodash.memoize": "4.x",
|
||
|
"json5": "2.x",
|
||
|
"make-error": "1.x",
|
||
|
"mkdirp": "0.x",
|
||
|
"resolve": "1.x",
|
||
|
"semver": "^5.5",
|
||
|
"yargs-parser": "10.x"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"jest": ">=24 <25"
|
||
|
},
|
||
|
"husky": {
|
||
|
"hooks": {
|
||
|
"pre-commit": "lint-staged",
|
||
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
||
|
"post-commit": "git reset"
|
||
|
}
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@commitlint/cli": "8.x",
|
||
|
"@commitlint/config-conventional": "7.x",
|
||
|
"@types/babel__core": "7.x",
|
||
|
"@types/buffer-from": "latest",
|
||
|
"@types/cross-spawn": "latest",
|
||
|
"@types/fs-extra": "latest",
|
||
|
"@types/jest": "23.x",
|
||
|
"@types/js-yaml": "latest",
|
||
|
"@types/json5": "latest",
|
||
|
"@types/lodash.memoize": "4.x",
|
||
|
"@types/lodash.merge": "4.x",
|
||
|
"@types/lodash.set": "4.x",
|
||
|
"@types/mkdirp": "latest",
|
||
|
"@types/node": "10.x",
|
||
|
"@types/resolve": "latest",
|
||
|
"@types/semver": "latest",
|
||
|
"@types/yargs": "latest",
|
||
|
"conventional-changelog-cli": "2.x",
|
||
|
"cross-spawn": "latest",
|
||
|
"eslint": "latest",
|
||
|
"fs-extra": "latest",
|
||
|
"glob-gitignore": "latest",
|
||
|
"husky": "1.x",
|
||
|
"jest": "24.x",
|
||
|
"js-yaml": "latest",
|
||
|
"lint-staged": "latest",
|
||
|
"lodash.merge": "4.x",
|
||
|
"lodash.set": "4.x",
|
||
|
"npm-run-all": "latest",
|
||
|
"prettier": "latest",
|
||
|
"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"
|
||
|
]
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 6"
|
||
|
}
|
||
|
}
|