-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
116 lines (116 loc) · 3.74 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
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
{
"name": "@tanem/react-nprogress",
"version": "5.0.53",
"description": "A React primitive for building slim progress bars.",
"main": "dist/index.js",
"module": "dist/react-nprogress.esm.js",
"jsnext:main": "dist/react-nprogress.esm.js",
"typings": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"authors": "tanem-scripts authors > AUTHORS",
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"changelog": "tanem-scripts changelog -f v$npm_package_version > CHANGELOG.md",
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:compiled": "shx rm -rf compiled",
"clean:coverage": "shx rm -rf coverage",
"clean:dist": "shx rm -rf dist",
"compile": "tsc -p tsconfig.base.json",
"format": "npm run lint -- --fix && prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint .",
"postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js",
"release": "tanem-scripts release",
"test": "run-s check:* lint build test:*",
"test:cjs": "jest --config ./scripts/jest/config.cjs.js",
"test:cjsprod": "jest --config ./scripts/jest/config.cjsprod.js",
"test:es": "jest --config ./scripts/jest/config.es.js",
"test:src": "jest --config ./scripts/jest/config.src.js",
"test:umd": "jest --config ./scripts/jest/config.umd.js",
"test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
"version": "run-s test changelog authors && git add ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/tanem/react-nprogress.git"
},
"keywords": [
"animation",
"component",
"higher-order-component",
"hoc",
"hook",
"hooks",
"javascript",
"loading",
"nprogress",
"progress",
"react",
"render-props",
"spinner",
"typescript"
],
"author": "Tane Morgan <[email protected]>",
"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"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"hoist-non-react-statics": "^3.3.2"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/plugin-transform-runtime": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.26.3",
"@babel/preset-typescript": "7.26.0",
"@eslint/compat": "1.2.5",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.18.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@testing-library/react": "16.1.0",
"@types/hoist-non-react-statics": "3.3.6",
"@types/jest": "29.5.14",
"@types/mock-raf": "1.0.6",
"@types/node": "22.10.6",
"@types/react": "19.0.7",
"@types/react-dom": "19.0.3",
"@typescript-eslint/eslint-plugin": "8.20.0",
"@typescript-eslint/parser": "8.20.0",
"babel-core": "6.26.3",
"eslint": "9.18.0",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"mock-raf": "1.0.1",
"npm-run-all2": "7.0.2",
"prettier": "3.4.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-test-renderer": "19.0.0",
"regenerator-runtime": "0.14.1",
"rollup": "4.30.1",
"shx": "0.3.4",
"tanem-scripts": "7.0.27",
"ts-jest": "29.2.5",
"typescript": "5.7.3"
}
}