forked from agiledigital/typed-redux-saga
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.89 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "typed-redux-saga",
"version": "1.5.0",
"description": "Redux-Saga effects with strong types.",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "./dist",
"sideEffects": false,
"engines": {
"node": ">=10.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/agiledigital/typed-redux-saga.git"
},
"bugs": {
"url": "https://github.com/agiledigital/typed-redux-saga/issues"
},
"keywords": [
"redux-saga",
"saga",
"typescript",
"babel-plugin-macros"
],
"peerDependencies": {
"redux-saga": "^1.1.3"
},
"optionalDependencies": {
"@babel/helper-module-imports": "^7.14.5",
"babel-plugin-macros": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@types/babel-plugin-macros": "^2.8.5",
"@types/fs-extra": "^9.0.12",
"@types/node": "^16.7.10",
"@types/nunjucks": "^3.1.5",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"babel-plugin-tester": "^10.1.0",
"codecov": "^3.8.3",
"copyfiles": "^2.4.1",
"dtslint": "^4.1.6",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-typed-fp": "^3.0.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-functional": "^4.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-total-functions": "^6.0.0",
"jest": "^28.0.0",
"nunjucks": "^3.2.3",
"prettier": "^2.3.2",
"redux-saga": "^1.1.3",
"redux-saga-test-plan": "^4.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"ts-node": "^10.2.1",
"type-coverage": "^2.18.2",
"typescript": "^4.4.2"
},
"scripts": {
"generate:templates": "ts-node generateTemplates.ts",
"lint": "${npm_execpath} run lint:eslint && ${npm_execpath} run lint:dts",
"lint:eslint": "eslint --ext=.js,.ts src types *.js *.ts",
"lint:fix": "${npm_execpath} run eslint --fix",
"lint:dts": "dtslint types",
"test": "jest",
"build": "${npm_execpath} run build:clean && ${npm_execpath} run build:dts && ${npm_execpath} run build:js",
"build:clean": "rimraf dist/",
"build:dts": "copyfiles -u 1 types/**/*.d.ts dist/",
"build:js": "rollup -c",
"release": "${npm_execpath} run lint && ${npm_execpath} run test && ${npm_execpath} run build && ${npm_execpath} publish"
},
"typeCoverage": {
"atLeast": 94.19,
"strict": true,
"detail": true
},
"jest": {
"testRegex": "./tests/.*.js$",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/index.js"
],
"coverageDirectory": "./coverage/",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}