-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 3.72 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
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@earlorg/redux-kit",
"version": "1.1.26",
"main": "dist/lib/cjs/index.js",
"module": "dist/lib/esm/index.js",
"typings": "dist/types/src/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/edgar0011/redux-kit"
},
"files": [
"dist"
],
"exports": {
".": "./dist/lib/cjs/index.js",
"./redux": {
"import": "./dist/redux/esm/index.js",
"require": "./dist/redux/index.js"
},
"./utils": {
"import": "./dist/utils/esm/index.js",
"require": "./dist/utils/index.js"
}
},
"scripts": {
"prepare": "husky install",
"prepublish": "yarn clean && yarn build:lib",
"clean": "rimraf ./dist ./es ./coverage",
"build:lib": "yarn tsc && BABEL_ENV=production NODE_ENV=production rollup --config --prod --mini",
"build": "yarn lint && yarn build:lib",
"watch": "rollup --config --watch",
"lint": "eslint src",
"lint:ts": "eslint src --ext js,jsx,ts,tsx",
"lint:quiet": "eslint src --quiet",
"lint:ts:quiet": "eslint src --ext js,jsx,ts,tsx --quiet",
"lint:fix": "yarn lint --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"tsc": "tsc",
"prepush": "yarn lint:ts && yarn test && yarn tsc"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/eslint-plugin": "^7.14.5",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-proposal-decorators": "^7.16.4",
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
"@babel/plugin-proposal-private-methods": "^7.16.0",
"@babel/plugin-proposal-private-property-in-object": "^7.16.0",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-transform-async-to-generator": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@earlorg/eslint-config": "^1.5.5",
"@types/jest": "^27.0.3",
"@types/lodash-es": "^4.17.5",
"@types/ramda": "^0.27.60",
"@types/redux": "^3.6.0",
"@types/reselect": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-jest": "^27.3.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"husky": "^7.0.4",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"prettier-eslint": "^13.0.0",
"prettier-eslint-cli": "^5.0.1",
"rollup": "^2.60.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"typescript": "^4.5.2"
},
"dependencies": {
"lodash-es": "^4.17.21",
"ramda": "^0.27.1",
"redux": "^4.1.2",
"redux-saga": "^1.1.3",
"reselect": "^4.1.4"
},
"jest": {
"moduleDirectories": [
"node_modules"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!lodash-es)"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|css|pdf)$": "<rootDir>/test/file-mock.js",
"^lodash-es$": "lodash",
"^lodash-es/(.*)": "lodash/$1"
},
"verbose": true,
"transform": {
"^.+\\.jsx$": "babel-jest",
"^.+\\.js$": "babel-jest",
"^.+\\.ts$": "babel-jest",
"^.+\\.tsx$": "babel-jest"
},
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"coverageDirectory": "report",
"collectCoverageFrom": [
"src/**/*.js"
]
}
}