UNPKG

4.88 kBJSONView Raw
1{
2 "name": "tslint-folders",
3 "version": "4.1.2",
4 "description": "Custom TSLint rules for checking imports between packages and their folders, and generating relevant diagrams.",
5 "main": "dist/lib/tslint-folders.js",
6 "typings": "dist/types/tslint-folders.d.ts",
7 "files": [
8 "dist"
9 ],
10 "author": "Sean Ryan <mr.sean.ryan(at)gmail.com>",
11 "license": "MIT",
12 "lint-staged": {
13 "{src,test}/**/*.ts": [
14 "prettier --write",
15 "git add"
16 ]
17 },
18 "config": {
19 "commitizen": {
20 "path": "node_modules/cz-conventional-changelog"
21 }
22 },
23 "jest": {
24 "transform": {
25 ".(ts|tsx)": "ts-jest"
26 },
27 "transformIgnorePatterns": [
28 "^.+\\.js$",
29 "^.+\\.json$"
30 ],
31 "testEnvironment": "node",
32 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
33 "moduleFileExtensions": [
34 "ts",
35 "tsx",
36 "js"
37 ],
38 "coveragePathIgnorePatterns": [
39 "/node_modules/",
40 "/test/",
41 "/testHarness/"
42 ],
43 "coverageThreshold": {
44 "global": {
45 "branches": 83,
46 "functions": 95,
47 "lines": 95,
48 "statements": 95
49 }
50 },
51 "collectCoverageFrom": [
52 "src/*.{js,ts}"
53 ],
54 "testPathIgnorePatterns": [
55 "/testHarness/",
56 "/node_modules/"
57 ]
58 },
59 "prettier": {
60 "semi": true,
61 "singleQuote": false
62 },
63 "commitlint": {
64 "extends": [
65 "@commitlint/config-conventional"
66 ]
67 },
68 "devDependencies": {
69 "@commitlint/cli": "^11.0.0",
70 "@commitlint/config-conventional": "^11.0.0",
71 "@types/jest": "^26.0.20",
72 "@types/lodash": "^4.14.149",
73 "@types/node": "^14.14.20",
74 "colors": "^1.4.0",
75 "commitizen": "^4.0.3",
76 "coveralls": "^3.0.9",
77 "cross-env": "^7.0.3",
78 "cz-conventional-changelog": "^3.0.2",
79 "husky": "^4.3.7",
80 "jest": "^26.6.3",
81 "jest-config": "^26.6.3",
82 "lint-staged": "^9.5.0",
83 "lodash.camelcase": "^4.3.0",
84 "prettier": "^2.2.1",
85 "prompt": "^1.0.0",
86 "replace-in-file": "^6.1.0",
87 "rimraf": "^3.0.0",
88 "semantic-release": "^17.3.1",
89 "ts-jest": "^26.4.4",
90 "ts-node": "^9.1.1",
91 "tslint": "^6.1.3",
92 "tslint-config-prettier": "^1.18.0",
93 "tslint-config-standard-sr": "^8.2.0",
94 "typedoc": "^0.20.14",
95 "typescript": "^4.1.3"
96 },
97 "peerDependencies": {
98 "tslint": ">=5.9.1 || >=^5.11.0",
99 "typescript": ">=2.1.0 || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >=3.1.0-dev || >=3.2.0-dev || >=3.3.0-dev"
100 },
101 "engines": {
102 "node": ">=10.18.0"
103 },
104 "scripts": {
105 "clean": "rm -rf dist/",
106 "lint": "tslint -p tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
107 "lint:local": "tslint -p tsconfig.json -t codeFrame",
108 "prebuild": "rimraf dist",
109 "build": "tsc --module commonjs && typedoc --out docs --theme minimal src",
110 "build:minimal": "tsc --module commonjs",
111 "start": "yarn clean && yarn build && yarn test && yarn lint",
112 "test": "yarn build:minimal && yarn lint && yarn tsl:test && yarn test:unit",
113 "test:unit": "jest --coverage",
114 "test:watch": "jest --coverage --watch",
115 "test:prod": "yarn build && yarn lint && yarn test -- --no-cache",
116 "tsl:build-and-test": "yarn build && yarn tsl:test",
117 "tsl:test": "tslint --test test/rules/**/tslint.json",
118 "tsl:test-one": "tslint --test test/rules/tsf-folders-imports-between-packages/**/tslint.json",
119 "deploy-docs": "ts-node tools/gh-pages-publish",
120 "report-coverage": "cat ./coverage/lcov.info | coveralls",
121 "commit": "git-cz",
122 "semantic-release": "semantic-release",
123 "semantic-release-prepare": "ts-node tools/semantic-release-prepare"
124 },
125 "repository": {
126 "type": "git",
127 "url": "https://github.com/mrseanryan/tslint-folders.git"
128 },
129 "dependencies": {
130 "lodash": "^4.17.15"
131 },
132 "keywords": [
133 "tslint",
134 "folders",
135 "checker",
136 "architecture",
137 "structure",
138 "analysis",
139 "disabled tests",
140 "static code analysis",
141 "code analysis",
142 "dependencies",
143 "diagram"
144 ],
145 "husky": {
146 "hooks": {
147 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
148 "pre-commit": "lint-staged",
149 "pre-push": "yarn test:prod"
150 }
151 }
152}