-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.28 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3.28 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
{
"name": "react-cyclic-slider",
"version": "1.0.13",
"description": "A Cyclic Slider React component for circular values like angles, hue, and more",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.js"
},
"./theme/cyclic-slider-theme.css": "./dist/theme/cyclic-slider-theme.css"
},
"sideEffects": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "vite",
"build": "vite build --config vite.config.mjs",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"preview": "vite preview",
"clean": "rimraf dist build",
"build:lib": "vite build --config vite.lib.config.mjs",
"build:theme": "mkdir -p dist/theme && cp src/theme/cyclic-slider-theme.css dist/theme/",
"prepublishOnly": "npm run clean && npm run build:lib && npm run build:theme",
"update-version": "node scripts/update-version.js",
"version:patch": "npm version patch && npm run update-version",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"deploy:version": "npm run version:patch && npm run predeploy && npm run deploy",
"postdeploy": "git push && git push --tags",
"publish-and-deploy": "npm run test && npm run version:patch && npm run deploy && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tombigel/react-cyclic-slider.git"
},
"files": [
"dist",
"LICENSE.txt",
"README.md"
],
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"keywords": [
"react",
"slider",
"cyclic",
"angle",
"component",
"circular",
"rotate",
"hue",
"wheel"
],
"author": {
"name": "Tom Bigelajzen",
"url": "https://github.com/tombigel"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/tombigel/react-cyclic-slider/issues"
},
"homepage": "https://tombigel.github.io/react-cyclic-slider",
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.14.1",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^3.1.1",
"ajv": "^8.17.1",
"eslint": "^9.25.0",
"eslint-plugin-react": "^7.37.5",
"gh-pages": "^6.3.0",
"jsdom": "^26.1.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"typescript": "^5.8.3",
"vite": "^6.3.2",
"vite-plugin-dts": "^4.5.3",
"vitest": "^3.1.1"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}