-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "@crazyfactory/tslint-rules",
"private": false,
"description": "",
"main": "./lib/index.js",
"typings": "./lib/index",
"module": "./lib.es2015/index.js",
"jsnext:main": "./lib.es2015/index.js",
"keywords": [],
"author": "",
"homepage": "https://github.com/crazyfactory/tslinit-rules",
"license": "GPL",
"repository": {
"type": "git",
"url": "https://github.com/crazyfactory/tslint-rules.git"
},
"dependencies": {
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"devDependencies": {
"@types/jest": "^23.3.7",
"@types/node": "^10.12.0",
"del-cli": "^1.0.0",
"husky": "^1.1.2",
"jest": "^23.6.0",
"semantic-release": "^15.9.17",
"ts-jest": "^23.10.4",
"tslint-microsoft-contrib": "^5.2.1",
"validate-commit-msg": "^2.14.0"
},
"scripts": {
"test": "echo no test yet, please add some.",
"test:no-cache": "jest --no-cache",
"test:watch": "jest --watch",
"build": "npm run clean && tsc -p .",
"clean": "del-cli ./lib ./lib.es2015 ./coverage",
"lint": "tslint -t stylish --project tsconfig.json './src/**/*.ts'",
"lint:fix": "npm run lint -s -- --fix",
"semantic-release": "semantic-release"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"cacheDirectory": "<rootDir>/.jest/cache",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
],
"coverageDirectory": "<rootDir>/coverage",
"coveragePathIgnorePatterns": [
"index.ts"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleDirectories": [
"node_modules",
"./"
],
"setupTestFrameworkScriptFile": "./JestBootstrap.ts"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "npm run lint -s",
"pre-push": "npm run build -s && npm run test -s"
}
}
}