-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.57 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.57 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
{
"name": "@tanem/react-nprogress",
"version": "7.1.1",
"description": "A React primitive for building slim progress bars.",
"type": "commonjs",
"exports": {
".": {
"import": {
"types": "./dist/react-nprogress.d.mts",
"default": "./dist/react-nprogress.mjs"
},
"default": {
"types": "./dist/react-nprogress.d.cts",
"default": "./dist/react-nprogress.cjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/react-nprogress.cjs",
"module": "dist/react-nprogress.mjs",
"types": "dist/react-nprogress.d.cts",
"sideEffects": false,
"size-limit": [
{
"name": "ESM bundle",
"path": "dist/react-nprogress.mjs",
"gzip": true,
"limit": "1.2 kB"
},
{
"name": "CJS bundle",
"path": "dist/react-nprogress.cjs",
"gzip": true,
"limit": "1.3 kB"
}
],
"files": [
"dist",
"src"
],
"scripts": {
"build": "run-s clean bundle",
"bundle": "tsdown",
"check:format": "prettier --list-different \"**/*.{cjs,cts,js,mjs,mts,ts,tsx}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:coverage": "shx rm -rf coverage",
"clean:react": "node ./scripts/clean-react.js",
"format": "eslint . --fix && prettier --write \"**/*.{cjs,cts,js,mjs,mts,ts,tsx}\"",
"lint": "eslint . --max-warnings=0",
"package:attw": "node ./scripts/attw.js",
"package:publint": "publint",
"postbuild": "run-s package:*",
"prepare": "npm run build",
"size": "size-limit",
"test": "run-s check:* lint build size test:*",
"test:bundles": "jest --config ./scripts/jest/config.bundles.js",
"test:cjs": "jest --config ./scripts/jest/config.cjs.js",
"test:es": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --config ./scripts/jest/config.es.js",
"test:react": "node ./scripts/test-react.js",
"test:src": "jest --config ./scripts/jest/config.src.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tanem/react-nprogress.git"
},
"keywords": [
"animation",
"component",
"hook",
"hooks",
"javascript",
"loading",
"nprogress",
"progress",
"react",
"render-props",
"spinner",
"typescript"
],
"author": "Tane Morgan <tane.morgan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "github:tanem/react-nprogress/issues"
},
"homepage": "github:tanem/react-nprogress",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"overrides": {
"brace-expansion": "^5.0.8"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@eslint-react/eslint-plugin": "5.18.0",
"@eslint/js": "10.0.1",
"@size-limit/file": "13.0.2",
"@testing-library/react": "16.3.2",
"@types/jest": "30.0.0",
"@types/mock-raf": "1.0.6",
"@types/node": "24.11.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"eslint": "10.8.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-perfectionist": "5.10.0",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-simple-import-sort": "12.1.1",
"globals": "17.3.0",
"jest": "30.2.0",
"jest-environment-jsdom": "30.2.0",
"mock-raf": "1.0.1",
"npm-run-all2": "8.0.4",
"prettier": "3.8.1",
"publint": "0.3.22",
"react": "19.2.4",
"react-dom": "19.2.4",
"shx": "0.4.0",
"size-limit": "13.0.2",
"ts-jest": "29.4.6",
"tsdown": "0.22.14",
"typescript": "5.9.3",
"typescript-eslint": "8.56.1"
}
}