UNPKG

ts-node-test-register

Version:

Load from `test/tsconfig.json` with ts-node.

69 lines (68 loc) 1.65 kB
{ "name": "ts-node-test-register", "version": "10.0.0", "description": "Load from `test/tsconfig.json` with ts-node.", "homepage": "https://github.com/azu/ts-node-test-register", "bugs": { "url": "https://github.com/azu/ts-node-test-register/issues" }, "license": "MIT", "author": "azu", "files": [ "bin/", "lib/", "src/" ], "main": "lib/ts-node-test-register.js", "types": "lib/ts-node-test-register.d.ts", "directories": { "lib": "lib", "test": "test" }, "repository": { "type": "git", "url": "https://github.com/azu/ts-node-test-register.git" }, "scripts": { "build": "cross-env NODE_ENV=production tsc -p .", "prepublish": "npm run --if-present build", "test": "mocha \"test/**/*.ts\"", "test:example": "(cd example && yarn && yarn test)", "watch": "tsc -p . --watch", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", "prepare": "git config --local core.hooksPath .githooks" }, "dependencies": { "read-pkg": "^5.2.0" }, "devDependencies": { "@types/mocha": "^8.2.2", "@types/node": "^15.6.1", "cross-env": "^7.0.3", "lint-staged": "^11.0.0", "mocha": "^8.4.0", "prettier": "^2.3.0", "ts-node": "^10.0.0", "typescript": "^4.2.4" }, "peerDependencies": { "ts-node": "^10.0.0" }, "lint-staged": { "*.{js,jsx,ts,tsx,css}": [ "prettier --write" ] }, "prettier": { "singleQuote": false, "printWidth": 120, "tabWidth": 4, "trailingComma": "none" }, "husky": { "hooks": { "post-commit": "git reset", "pre-commit": "lint-staged" } } }