-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
59 lines (59 loc) · 2.09 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
{
"name": "use-state-with-deps",
"version": "0.0.0-development",
"description": "A React hook to use and reset state with dependencies",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/peterjuras/use-state-with-deps.git"
},
"author": "Peter Juras <[email protected]>",
"scripts": {
"build:typedefs": "tsc -p tsconfig.build.json --declaration --emitDeclarationOnly",
"build:ts": "babel src -d build --extensions '.ts,.tsx' --ignore '**/*.test.ts,**/*.test.tsx'",
"build": "rm -rf build && run-p build:ts build:typedefs && cp -R scripts .npmignore LICENSE package.json README.md build",
"prepublishOnly": "node ./scripts/ensure-publish-path",
"lint:eslint": "eslint '{scripts,src,test}/**/*.{ts,tsx,js}' --max-warnings 0",
"lint:tsc": "tsc",
"lint:prettier": "prettier-check '{scripts,src,test}/**/*.{ts,tsx,js}'",
"lint": "run-p lint:eslint lint:tsc lint:prettier",
"test": "jest --config .jest.js",
"test-ci": "jest --ci --config .jest.ci.js"
},
"license": "MIT",
"devDependencies": {
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.1.0",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "29.5.14",
"@types/lolex": "5.1.6",
"@types/react": "18.3.18",
"@typescript-eslint/eslint-plugin": "8.18.1",
"@typescript-eslint/parser": "8.18.1",
"babel-jest": "29.7.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.37.2",
"jest": "29.7.0",
"jest-circus": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"npm-run-all2": "7.0.2",
"prettier": "3.4.2",
"prettier-check": "2.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"typescript": "5.7.2"
},
"peerDependencies": {
"react": "> 16.8.0"
},
"dependencies": {}
}