-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.24 KB
/
package.json
File metadata and controls
133 lines (133 loc) · 4.24 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@alessiofrittoli/react-top-loader",
"version": "1.0.1",
"description": "Displays a top loader progress while navigating on a different page",
"author": {
"name": "Alessio Frittoli",
"email": "info@alessiofrittoli.it",
"url": "https://alessiofrittoli.it"
},
"license": "MIT",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/alessiofrittoli"
}
],
"keywords": [
"react",
"nextjs",
"top-loader",
"top-loader-bar"
],
"homepage": "https://github.com/alessiofrittoli/react-top-loader#readme",
"bugs": {
"url": "https://github.com/alessiofrittoli/react-top-loader/issues",
"email": "info@alessiofrittoli.it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alessiofrittoli/react-top-loader.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./next": {
"import": {
"types": "./dist/next/index.d.mts",
"default": "./dist/next/index.mjs"
},
"require": {
"types": "./dist/next/index.d.ts",
"default": "./dist/next/index.js"
}
}
},
"sideEffects": false,
"scripts": {
"//1a": "*********************************************************************",
"//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
"//1c": "*********************************************************************",
"dev": "cross-env NODE_ENV=development tsup --watch",
"build:prod": "cross-env NODE_ENV=production tsup",
"build": "pnpm lint && pnpm test:ci && pnpm build:prod",
"lint": "eslint",
"release": "node scripts/release.js --verbose --npm",
"//2a": "*********************************************************************",
"//2b": "***************************** UNIT TESTS ****************************",
"//2c": "*********************************************************************",
"test": "jest --verbose",
"test:watch": "jest --watchAll --verbose",
"test:ci": "jest --ci --verbose",
"//3a": "*********************************************************************",
"//3b": "************************ UNIT TESTS COVERAGE ************************",
"//3c": "*********************************************************************",
"test:coverage": "pnpm test:watch --coverage",
"test:coverage:ci": "pnpm test:ci --coverage",
"test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent",
"test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"",
"//4a": "*********************************************************************",
"//4b": "************************ TARGETED UNIT TESTS ************************",
"//4c": "*********************************************************************",
"test:jest": "pnpm test:watch jest.test.ts"
},
"peerDependencies": {
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"next": "^15.3.1",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@alessiofrittoli/node-scripts": "3.2.0",
"@eslint/compat": "^2.0.0",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^9.39.1",
"@jest/globals": "^30.2.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"eslint": "^9.39.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-server-components": "^1.2.0",
"globals": "^16.5.0",
"http-server": "^14.1.1",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"next": "16.0.7",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1"
},
"dependencies": {
"@alessiofrittoli/react-hooks": "^3.4.0",
"@alessiofrittoli/url-utils": "^3.7.1"
}
}