-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
132 lines (132 loc) · 4.14 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
123
124
125
126
127
128
129
130
131
132
{
"name": "kea",
"version": "3.1.6",
"description": "Smart front-end architecture",
"author": "Marius Andra",
"license": "MIT",
"types": "lib/index.d.ts",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"repository": {
"type": "git",
"url": "git+https://github.com/keajs/kea.git"
},
"bugs": {
"url": "https://github.com/keajs/kea/issues"
},
"homepage": "https://github.com/keajs/kea#readme",
"scripts": {
"build": "pnpm run clean && pnpm run compile",
"clean": "rimraf lib/*",
"compile": "pnpm run compile:rollup",
"compile:tsc": "tsc -p .",
"compile:rollup": "rollup -c",
"watch": "rollup -cw",
"lint": "eslint src/**/*.{ts,tsx}",
"prettier": "prettier --write src/**/*",
"prepublishOnly": "pnpm run test && npm run build",
"start": "pnpm run watch",
"test": "pnpm run test:jest && pnpm run test:tsd && pnpm run test:types",
"test:jest": "BABEL_ENV=test jest",
"test:jest:watch": "BABEL_ENV=test jest --watchAll",
"test:tsd": "pnpm run build && cp test/tsd/*.test-d.ts lib/ && tsd",
"test:types": "tsc",
"test:types:watch": "pnpm run type-check -- --watch"
},
"files": [
"lib",
"src",
"README.md",
"LICENSE.md",
"tsconfig.json"
],
"jest": {
"testMatch": [
"<rootDir>/test/jest/*"
],
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.js"
]
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"peerDependencies": {
"react": ">= 16.8"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-proposal-do-expressions": "^7.14.5",
"@babel/plugin-proposal-export-default-from": "^7.14.5",
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
"@babel/plugin-proposal-function-bind": "^7.14.5",
"@babel/plugin-proposal-function-sent": "^7.14.5",
"@babel/plugin-proposal-json-strings": "^7.14.5",
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-proposal-pipeline-operator": "^7.14.5",
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@types/jest": "^27.4.1",
"@types/node": "^18.11.14",
"@types/react": "^18.0.6",
"@types/react-redux": "^7.1.24",
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^28.0.0",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"jest": "^28.0.0",
"jest-environment-jsdom": "^28.0.0",
"jest-environment-node-debug": "^2.0.0",
"npm-run-all-v2": "^1.0.0",
"prettier": "^2.3.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-redux": "^8.0.1",
"react-test-renderer": "^18.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.52.7",
"rollup-plugin-dts": "^3.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"tsd": "^0.17.0",
"typescript": "^4.6.3"
},
"dependencies": {
"redux": "^4.2.0",
"reselect": "^4.1.5",
"use-sync-external-store": "^1.2.0"
}
}