UNPKG

2.27 kBJSONView Raw
1{
2 "name": "tsconfig-paths",
3 "version": "4.2.0",
4 "description": "Load node modules according to tsconfig paths, in run-time or via API.",
5 "main": "lib/index.js",
6 "types": "lib/index.d.ts",
7 "author": "Jonas Kello",
8 "license": "MIT",
9 "repository": "https://github.com/dividab/tsconfig-paths",
10 "files": [
11 "/src",
12 "/lib",
13 "register.js",
14 "package.json",
15 "CHANGELOG.md",
16 "LICENSE",
17 "README.md"
18 ],
19 "engines": {
20 "node": ">=6"
21 },
22 "devDependencies": {
23 "@types/jest": "^27.0.3",
24 "@types/minimist": "^1.2.2",
25 "@types/node": "^6.0.54",
26 "@types/strip-bom": "^3.0.0",
27 "@types/strip-json-comments": "^0.0.30",
28 "@typescript-eslint/eslint-plugin": "^5.22.0",
29 "@typescript-eslint/parser": "^5.22.0",
30 "eslint": "^8.14.0",
31 "eslint-config-prettier": "^8.5.0",
32 "eslint-plugin-import": "^2.26.0",
33 "eslint-plugin-jsdoc": "^39.2.9",
34 "husky": "^4.2.5",
35 "jest": "^27.3.1",
36 "lint-staged": "^10.2.11",
37 "prettier": "^2.0.5",
38 "rimraf": "^2.6.2",
39 "ts-jest": "^27.0.7",
40 "ts-node": "^10.7.0",
41 "typescript": "^4.5.2"
42 },
43 "dependencies": {
44 "json5": "^2.2.2",
45 "minimist": "^1.2.6",
46 "strip-bom": "^3.0.0"
47 },
48 "scripts": {
49 "start": "cd src && ts-node index.ts",
50 "example:node": "yarn build && cd ./example/node && ts-node -r ../../register.js main.ts",
51 "example:project": "yarn build && ts-node -r ./register.js -P ./example/project/tsconfig.json ./example/project/main.ts",
52 "example:api": "cd example/api && ts-node main.ts",
53 "example:perf": "cd example/perf && ts-node main.ts",
54 "test": "jest",
55 "test-coverage": "jest --coverage",
56 "build": "rimraf lib && tsc -p .",
57 "lint": "eslint \"./{src,tests}/**/*.ts{,x}\" --ext .js,.ts,.tsx -f visualstudio",
58 "verify": "yarn build && yarn lint && yarn test-coverage",
59 "preversion": "yarn verify",
60 "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
61 },
62 "lint-staged": {
63 "*.{ts,tsx}": "eslint",
64 "*.{ts,tsx,json,css}": [
65 "prettier --write",
66 "git add"
67 ]
68 },
69 "husky": {
70 "hooks": {
71 "pre-commit": "lint-staged"
72 }
73 }
74}