ts-inquisition
Version:
expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.
126 lines (125 loc) • 4.14 kB
JSON
{
"name": "ts-inquisition",
"version": "0.1.0",
"description": "expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.",
"main": "build/main/ts-inquisition.js",
"bin": "build/main/bin/index.js",
"typings": "build/main/ts-inquisition.d.ts",
"module": "build/module/ts-inquisition.js",
"repository": "https://github.com/capaj/ts-inquisition",
"license": "MIT",
"keywords": [
"typescript",
"ci",
"green",
"typesafe",
"typeerror",
"code",
"migration",
"js-to-ts",
"expect",
"all-errors"
],
"scripts": {
"build": "npm run build:main && npm run build:module",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "nyc --silent ava",
"check-cli": "run-s test diff-integration-tests check-integration-tests",
"check-integration-tests": "run-s check-integration-test:*",
"diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
"watch:build": "tsc -p tsconfig.json -w",
"awc": "nyc --silent ava --watch",
"aw": "ava --watch --verbose",
"cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:lcov": "nyc report --reporter=lcov",
"cov:send": "run-s cov:lcov && codecov",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"doc": "run-s doc:html && open-cli build/docs/index.html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && yarn",
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
},
"engines": {
"node": ">=14"
},
"dependencies": {
"@bitauth/libauth": "^1.17.3",
"@types/node": "^14.14.6",
"globby": "^11.0.1",
"json5": "^2.1.3",
"lodash": "^4.17.20",
"unpad": "^1.0.0",
"typescript": "^5"
},
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/fs-extra": "^9.0.3",
"@types/json5": "0.0.30",
"@types/lodash": "^4.14.165",
"@types/react": "^16.9.56",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"ava": "^3.13.0",
"codecov": "^3.8.1",
"cspell": "^4.1.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.3.0",
"eslint-plugin-react": "^7.27.1",
"fs-extra": "^9.0.1",
"gh-pages": "^3.1.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open-cli": "^6.0.1",
"prettier": "^2.1.2",
"react": "^17.0.1",
"standard-version": "^9.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.25"
},
"files": [
"build/main",
"build/module",
"!**/*.spec.*",
"!**/*.json",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"ava": {
"failFast": true,
"timeout": "60s",
"require": [
"ts-node/register"
],
"extensions": [
"ts"
],
"files": [
"!build/**",
"!tests/**"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
}
}