UNPKG

4.71 kBJSONView Raw
1{
2 "name": "tslint-ban-snippets",
3 "version": "2.1.0",
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 "lint:local": "tslint --project tsconfig.json -t codeFrame",
34 "prebuild": "rimraf dist",
35 "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src",
36 "build:minimal": "tsc --module commonjs",
37 "build-and-test": "yarn build:minimal && yarn test",
38 "start": "rollup -c rollup.config.ts -w",
39 "test": "yarn tsl:test && jest --coverage",
40 "test:watch": "jest --coverage --watch",
41 "test:prod": "npm run build && npm run lint && npm run test -- --no-cache",
42 "tsl:build-and-test": "yarn build && yarn tsl:test",
43 "tsl:test": "tslint --test test/rules/**/tslint.json",
44 "deploy-docs": "ts-node tools/gh-pages-publish",
45 "report-coverage": "cat ./coverage/lcov.info | coveralls",
46 "commit": "git-cz",
47 "semantic-release": "semantic-release",
48 "semantic-release-prepare": "ts-node tools/semantic-release-prepare",
49 "precommit": "lint-staged",
50 "travis-deploy-once": "travis-deploy-once",
51 "prepush": "npm run test:prod"
52 },
53 "lint-staged": {
54 "{src,test}/**/*.ts": [
55 "prettier --write",
56 "git add"
57 ]
58 },
59 "config": {
60 "commitizen": {
61 "path": "node_modules/cz-conventional-changelog"
62 }
63 },
64 "jest": {
65 "transform": {
66 ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
67 },
68 "testEnvironment": "node",
69 "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
70 "moduleFileExtensions": [
71 "ts",
72 "tsx",
73 "js"
74 ],
75 "coveragePathIgnorePatterns": [
76 "/node_modules/",
77 "/test/"
78 ],
79 "coverageThreshold": {
80 "global": {
81 "branches": 83,
82 "functions": 95,
83 "lines": 95,
84 "statements": 95
85 }
86 },
87 "collectCoverageFrom": [
88 "src/*.{js,ts}"
89 ]
90 },
91 "prettier": {
92 "semi": true,
93 "singleQuote": false
94 },
95 "commitlint": {
96 "extends": [
97 "@commitlint/config-conventional"
98 ]
99 },
100 "devDependencies": {
101 "@commitlint/cli": "^7.1.2",
102 "@commitlint/config-conventional": "^7.1.2",
103 "@types/jest": "^23.3.2",
104 "@types/node": "^10.11.0",
105 "colors": "^1.3.2",
106 "commitizen": "^3.0.0",
107 "coveralls": "^3.0.2",
108 "cross-env": "^5.2.0",
109 "cz-conventional-changelog": "^2.1.0",
110 "husky": "^1.0.1",
111 "jest": "^23.6.0",
112 "jest-config": "^23.6.0",
113 "lint-staged": "^8.0.0",
114 "lodash.camelcase": "^4.3.0",
115 "prettier": "^1.14.3",
116 "prompt": "^1.0.0",
117 "replace-in-file": "^3.4.2",
118 "rimraf": "^2.6.2",
119 "rollup": "^0.67.0",
120 "rollup-plugin-commonjs": "^9.1.8",
121 "rollup-plugin-json": "^3.1.0",
122 "rollup-plugin-node-resolve": "^3.4.0",
123 "rollup-plugin-sourcemaps": "^0.4.2",
124 "rollup-plugin-typescript2": "^0.18.0",
125 "semantic-release": "^15.12.3",
126 "travis-deploy-once": "^5.0.9",
127 "ts-jest": "^23.10.2",
128 "ts-node": "^7.0.1",
129 "tslint": "^5.11.0",
130 "tslint-config-prettier": "^1.15.0",
131 "tslint-config-standard-sr": "^8.2.0",
132 "typedoc": "^0.13.0",
133 "typescript": "^3.0.3"
134 },
135 "peerDependencies": {
136 "tslint": ">=5.9.1 || >=^5.11.0",
137 "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"
138 }
139}