-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
75 lines (75 loc) · 2.01 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
74
75
{
"name": "@crazyfactory/tinka",
"description": "A dependency-free library to gracefully handle fetch requests.",
"main": "./lib/index.js",
"typings": "./lib/index",
"module": "./lib.es2015/index.js",
"jsnext:main": "./lib.es2015/index.js",
"keywords": [],
"author": "",
"version": "1.0.0",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/crazyfactory/tinka.git"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.7",
"del": "^6.0.0",
"del-cli": "^3.0.1",
"husky": "^4.3.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^26.6.3",
"node-fetch": "^2.6.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^4.0.5",
"validate-commit-msg": "^2.14.0",
"webpack": "^5.4.0",
"webpack-cli": "^4.2.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint -s",
"commit-msg": "validate-commit-msg",
"pre-push": "npm run test && npm run build -s"
}
},
"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 ./webpack.config.js",
"clean": "del-cli ./lib ./lib.es2015 ./coverage ./umd/**/*.js",
"lint": "tslint --format stylish --project ./tsconfig.json './src/**/*.ts'",
"lint-fix": "npm run lint -s -- --fix"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"cacheDirectory": "<rootDir>/.jest/cache",
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"index.ts"
],
"collectCoverageFrom": [
"src/**/*"
],
"coverageDirectory": "<rootDir>/coverage",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleDirectories": [
"node_modules",
"./"
],
"setupFilesAfterEnv": ["./JestBootstrap.ts"]
}
}