-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.99 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
{
"name": "@freckle/react-hooks",
"version": "6.1.0",
"description": "React hooks used at Freckle",
"main": "dist/index.js",
"scripts": {
"build": "tsc -d && yarn copy:flow-lib",
"dev": "watch 'yarn run build' src",
"test": "jest",
"test:watch": "yarn run test -- --watch",
"lint": "eslint src --cache",
"format": "prettier --write 'src/**/*.(ts|tsx)'",
"check-git-clean": "./check-git-clean.sh",
"gen-flow": "yarn run flow-copy-source --ignore '**/*.test.js' src dist",
"copy:flow-lib": "cpy '**/*.flow' ../dist --cwd=flow-lib"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-flow",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"repository": "git@github.com:freckle/react-hooks.git",
"author": "Freckle",
"license": "MIT",
"peerDependencies": {
"react": ">= 16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@testing-library/react": "^15.0.7",
"@types/invariant": "^2.2.35",
"@types/jest": "^27.5.0",
"@types/lodash": "^4.14.182",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"cpy-cli": "^5.0.0",
"eslint": "^8.57.0",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-testing-library": "^6.2.2",
"flow-copy-source": "^2.0.9",
"flowgen": "^1.19.0",
"jest": "^27.5.1",
"prettier": "^3.3.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.4",
"watch": "^1.0.2"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"flow-bin": "0.252.0",
"invariant": "^2.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}