-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 1.79 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
{
"name": "searilie",
"description": "",
"main": "./lib/index.js",
"typings": "./lib/index",
"module": "./lib.es2015/index.js",
"jsnext:main": "./lib.es2015/index.js",
"keywords": [],
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/fossapps/searilie.git"
},
"homepage": "https://github.com/fossapps/searilie",
"dependencies": {},
"devDependencies": {
"@types/jest": "^24.0.0",
"@types/node": "^13.1.0",
"del-cli": "^3.0.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"ts-jest": "^24.0.0",
"tslint": "^5.11.0",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.1.3",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.22.0",
"webpack-cli": "^3.1.2"
},
"scripts": {
"test": "jest",
"test:no-cache": "jest --no-cache",
"test:watch": "jest --watch",
"build": "npm run clean && tsc -p . && tsc -p tsconfig.es2015.json && webpack",
"clean": "del-cli ./lib ./lib.es2015 ./coverage ./umd/**/*.js",
"lint": "tslint -t stylish --project tsconfig.json './src/**/*.ts'",
"lint:fix": "npm run lint -s -- --fix"
},
"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",
"./"
]
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "npm run lint -s",
"pre-push": "npm run build -s && npm run test -s"
}
}
}