-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.19 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.19 KB
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
{
"name": "react-time-sync",
"version": "0.0.0-development",
"description": "A React library to synchronize timers across an application",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/peterjuras/react-time-sync.git"
},
"author": "Peter Juras <me@peterjuras.com>",
"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",
"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.28.6",
"@babel/core": "7.29.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.29.0",
"@babel/preset-react": "7.28.5",
"@babel/preset-typescript": "7.28.5",
"@sinonjs/fake-timers": "15.1.1",
"@testing-library/dom": "10.4.1",
"@testing-library/react": "16.3.2",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "29.5.14",
"@types/react": "18.3.28",
"@types/sinonjs__fake-timers": "15.0.1",
"@typescript-eslint/eslint-plugin": "8.57.0",
"@typescript-eslint/parser": "8.57.0",
"babel-jest": "29.7.0",
"eslint": "9.39.4",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-react": "7.37.5",
"jest": "29.7.0",
"jest-circus": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"npm-run-all2": "8.0.4",
"prettier": "3.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-test-renderer": "18.3.1",
"typescript": "5.9.3"
},
"peerDependencies": {
"react": "> 16.8.0"
},
"dependencies": {
"prop-types": "^15.7.2",
"time-sync": "^2.3.0",
"use-state-with-deps": "^1.1.0"
}
}