-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
111 lines (111 loc) · 2.59 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
102
103
104
105
106
107
108
109
110
111
{
"name": "@epig/luna",
"version": "1.12.1",
"description": "基于redux和redux-saga的数据流框架",
"main": "index.js",
"scripts": {
"test": "jest",
"build": "rm -rf lib && tsc",
"precommit": "lint-staged && tsc",
"prepublish": "npm run build"
},
"lint-staged": {
"src/**/*.tsx": [
"tslint -c tslint.json",
"jest --findRelatedTests"
],
"src/**/*.ts": [
"tslint -c tslint.json",
"jest --findRelatedTests"
]
},
"files": [
"lib",
"index.js",
"model.js",
"*.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/evel-pig/luna.git"
},
"keywords": [
"redux",
"redux-saga"
],
"author": "infeng",
"license": "MIT",
"bugs": {
"url": "https://github.com/evel-pig/luna/issues"
},
"homepage": "https://github.com/evel-pig/luna#readme",
"devDependencies": {
"@testing-library/react-hooks": "^1.1.0",
"@types/jest": "^22.0.0",
"@types/node": "^8.5.2",
"@types/react": "^16.8.5",
"@types/react-dom": "^16.8.2",
"@types/react-redux": "^7.1.0",
"@types/redux-actions": "^2.3.1",
"babel-jest": "^22.0.4",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.4",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.4.4",
"jest-fetch-mock": "^2.1.0",
"lint-staged": "^7.1.2",
"npm-run-script": "0.0.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0",
"tslint-eslint-rules": "^5.3.1",
"tslint-language-service": "^0.9.9",
"tslint-react": "^3.6.0",
"typescript": "^3.0.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"es6-promise": "^4.2.6",
"isomorphic-fetch": "^2.2.1",
"react-redux": "^7.1.0",
"redux": "^4.0.1",
"redux-actions": "^2.6.4",
"redux-saga": "^0.16.0"
},
"jest": {
"testURL": "http://localhost/",
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js",
"\\.js$": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"moduleDirectories": [
"node_modules"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"roots": [
"./src"
],
"automock": false,
"setupFiles": [
"./test/setupJest.js"
]
}
}