-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.14 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.14 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
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
{
"name": "react-countdown",
"version": "3.0.0-beta.0",
"description": "A customizable countdown component for React.",
"packageManager": "pnpm@10.30.1",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./hook": {
"types": "./dist/hook.d.ts",
"import": "./dist/hook.mjs",
"require": "./dist/hook.js"
},
"./component": {
"types": "./dist/component.d.ts",
"import": "./dist/component.mjs",
"require": "./dist/component.js"
},
"./package.json": "./package.json"
},
"files": [
"/dist"
],
"repository": {
"type": "git",
"url": "https://github.com/ndresx/react-countdown.git"
},
"author": "Martin Veith",
"license": "MIT",
"bugs": {
"url": "https://github.com/ndresx/react-countdown/issues"
},
"homepage": "https://github.com/ndresx/react-countdown",
"keywords": [
"react",
"typescript",
"countdown",
"component",
"hook"
],
"scripts": {
"build": "pnpm build:clean && rollup --config",
"build:clean": "rm -rf ./dist && pnpm test:e2e:clean && mkdir dist",
"build:watch": "pnpm build --watch",
"clean": "rm -rf ./node_modules && rm -rf ./coverage && pnpm build:clean",
"lint": "pnpm lint:oxlint && pnpm lint:oxfmt && pnpm lint:tsc",
"lint:oxlint": "oxlint",
"lint:oxfmt": "oxfmt --check './**/*.{ts,tsx}'",
"lint:tsc": "tsc --noEmit",
"lint:fix": "oxlint --fix && oxfmt './**/*.{ts,tsx}' && tsc --noEmit",
"pack:dry": "pnpm build && pnpm pack --dry-run",
"prepublishOnly": "pnpm build",
"test": "jest",
"test:all": "pnpm test && pnpm test:e2e",
"test:coverage": "jest --coverage",
"test:e2e": "pnpm build && start-server-and-test test:e2e:server http://localhost:1234 \"cypress run\"",
"test:e2e:clean": "rm -rf ./e2e/dist",
"test:e2e:dev": "start-server-and-test test:e2e:server http://localhost:1234 \"cypress open\"",
"test:e2e:server": "parcel ./e2e/index.html --dist-dir ./e2e/dist",
"test:watch": "jest --watch",
"verify": "pnpm lint:fix && pnpm test"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"cypress": "^15.17.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"oxfmt": "^0.54.0",
"oxlint": "^1.69.0",
"parcel": "^2.16.4",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"rollup": "^4.62.0",
"rollup-plugin-dts": "^6.4.1",
"start-server-and-test": "^3.0.11",
"ts-jest": "^29.4.11",
"tslib": "^2.8.1",
"typescript": "^6.0.3"
},
"peerDependencies": {
"react": ">= 18",
"react-dom": ">= 18"
},
"pnpm": {
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"cypress",
"lmdb",
"msgpackr-extract",
"unrs-resolver"
]
}
}