UNPKG

4.06 kBJSONView Raw
1{
2 "name": "tslint-ban-snippets",
3 "version": "1.8.1",
4 "description": "A custom tslint rule to ban configurable lists of code snippets.",
5 "keywords": [
6 "tslint",
7 "ban",
8 "snippets",
9 "static code analysis",
10 "checker",
11 "analysis",
12 "disabled tests",
13 "static code analysis",
14 "code analysis"
15 ],
16 "main": "dist/tslint-ban-snippets.umd.js",
17 "module": "dist/tslint-ban-snippets.es5.js",
18 "typings": "dist/types/tslint-ban-snippets.d.ts",
19 "files": [
20 "dist"
21 ],
22 "author": "Sean Ryan <mr.sean.ryan(at)gmail.com>",
23 "repository": {
24 "type": "git",
25 "url": "https://github.com/mrseanryan/tslint-ban-snippets.git"
26 },
27 "license": "MIT",
28 "engines": {
29 "node": ">=8.3.0"
30 },
31 "scripts": {
32 "lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
33 "prebuild": "rimraf dist",
34 "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src",
35 "build:minimal": "tsc --module commonjs",
36 "build-and-test": "yarn build:minimal && yarn test",
37 "start": "rollup -c rollup.config.ts -w",
38 "test": "jest --coverage",
39 "test:watch": "jest --coverage --watch",
40 "test:prod": "npm run build && npm run lint && npm run test -- --no-cache",
41 "tsl:build-and-test": "yarn build && yarn tsl:test",
42 "tsl:test": "tslint --test test/rules/**/tslint.json",
43 "deploy-docs": "ts-node tools/gh-pages-publish",
44 "report-coverage": "cat ./coverage/lcov.info | coveralls",
45 "commit": "git-cz",
46 "semantic-release": "semantic-release",
47 "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
48 "precommit": "lint-staged",
49 "travis-deploy-once": "travis-deploy-once"
50 },
51 "lint-staged": {
52 "{src,test}/**/*.ts": [
53 "prettier --write",
54 "git add"
55 ]
56 },
57 "config": {
58 "commitizen": {
59 "path": "node_modules/cz-conventional-changelog"
60 }
61 },
62 "jest": {
63 "transform": {
64 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
65 },
66 "testEnvironment": "node",
67 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
68 "moduleFileExtensions": [
69 "ts",
70 "tsx",
71 "js"
72 ],
73 "coveragePathIgnorePatterns": [
74 "/node_modules/",
75 "/test/"
76 ],
77 "coverageThreshold": {
78 "global": {
79 "branches": 83,
80 "functions": 95,
81 "lines": 95,
82 "statements": 95
83 }
84 },
85 "collectCoverageFrom": [
86 "src/*.{js,ts}"
87 ]
88 },
89 "prettier": {
90 "semi": true,
91 "singleQuote": true
92 },
93 "commitlint": {
94 "extends": [
95 "@commitlint/config-conventional"
96 ]
97 },
98 "devDependencies": {
99 "@commitlint/cli": "^7.1.2",
100 "@commitlint/config-conventional": "^7.1.2",
101 "@types/jest": "^23.3.2",
102 "@types/node": "^10.11.0",
103 "colors": "^1.3.2",
104 "commitizen": "^3.0.0",
105 "coveralls": "^3.0.2",
106 "cross-env": "^5.2.0",
107 "cz-conventional-changelog": "^2.1.0",
108 "husky": "^1.0.1",
109 "jest": "^23.6.0",
110 "jest-config": "^23.6.0",
111 "lint-staged": "^8.0.0",
112 "lodash.camelcase": "^4.3.0",
113 "prettier": "^1.14.3",
114 "prompt": "^1.0.0",
115 "replace-in-file": "^3.4.2",
116 "rimraf": "^2.6.2",
117 "rollup": "^0.67.0",
118 "rollup-plugin-commonjs": "^9.1.8",
119 "rollup-plugin-json": "^3.1.0",
120 "rollup-plugin-node-resolve": "^3.4.0",
121 "rollup-plugin-sourcemaps": "^0.4.2",
122 "rollup-plugin-typescript2": "^0.18.0",
123 "semantic-release": "^15.12.2",
124 "ts-jest": "^23.10.2",
125 "ts-node": "^7.0.1",
126 "tslint": "^5.11.0",
127 "tslint-config-prettier": "^1.15.0",
128 "tslint-config-standard": "^8.0.1",
129 "typedoc": "^0.13.0",
130 "typescript": "^3.0.3",
131 "travis-deploy-once": "^5.0.9"
132 },
133 "peerDependencies": {
134 "tslint": ">=5.9.1 || >=^5.11.0",
135 "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"
136 }
137}