-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.82 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
{
"name": "react-find-first-text",
"version": "1.0.1",
"repository": "https://github.com/luxo-ai/react-find-first-text",
"author": "luxo-ai luxo.ai@proton.me",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.modern.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"scripts": {
"build:dev": "microbundle watch --no-compress --format modern,cjs",
"build": "microbundle --format modern,cjs --no-sourcemap",
"lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",
"test": "jest"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@types/jest": "^29.5.5",
"@types/lodash.memoize": "^4.1.7",
"@types/react": "^18.2.25",
"@types/react-is": "^18.2.2",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"babel-jest": "^29.7.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"jest": "^29.7.0",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"dependencies": {
"lodash.memoize": "^4.1.2",
"react-is": "^18.2.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"files": [
"dist"
],
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [],
"transform": {
"^.+\\.(ts|tsx)$": "babel-jest"
},
"testRegex": "\\.(test)\\.(ts|js|tsx|jsx)$",
"moduleFileExtensions": [
"ts",
"js",
"tsx",
"jsx"
]
}
}