react-char-fill 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +47 -33
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](https://badge.fury.io/js/react-char-fill)
|
|
2
|
+
|
|
1
3
|
# React Char Fill
|
|
2
4
|
|
|
3
5
|
A versatile React component library for creating customizable character-based ratings. Ideal for star ratings and other similar applications, with fine-grained control over rating steps, colors, and interactivity.
|
package/package.json
CHANGED
|
@@ -1,29 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-char-fill",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.7",
|
|
4
|
+
"author": "Alex Abushanab",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/lexabu/react-char-fill.git"
|
|
8
|
+
},
|
|
5
9
|
"main": "dist/react-char-fill.umd.js",
|
|
6
10
|
"module": "dist/react-char-fill.es.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist",
|
|
10
|
-
"README.md"
|
|
11
|
-
],
|
|
12
|
-
"type": "module",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "vite",
|
|
15
|
-
"build": "tsc -b && vite build",
|
|
16
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
17
|
-
"format": "prettier --write .",
|
|
18
|
-
"preview": "vite preview",
|
|
19
|
-
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
20
|
-
"test": "cypress",
|
|
21
|
-
"cypress": "npx cypress open",
|
|
22
|
-
"clean": "rm -rf dist && rm -rf node_modules && rm -rf bun.lockb && bun i"
|
|
23
|
-
},
|
|
24
11
|
"devDependencies": {
|
|
25
12
|
"@testing-library/cypress": "^10.0.2",
|
|
26
13
|
"@types/cypress": "^1.1.3",
|
|
14
|
+
"@types/node": "^22.2.0",
|
|
27
15
|
"@types/react": "^18.3.3",
|
|
28
16
|
"@types/react-dom": "^18.3.0",
|
|
29
17
|
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
|
@@ -31,6 +19,7 @@
|
|
|
31
19
|
"@vitejs/plugin-react": "^4.3.1",
|
|
32
20
|
"cypress": "^13.13.2",
|
|
33
21
|
"cypress-vite": "^1.5.0",
|
|
22
|
+
"dotenv": "^16.4.5",
|
|
34
23
|
"eslint": "^8.57.0",
|
|
35
24
|
"eslint-config-prettier": "^9.1.0",
|
|
36
25
|
"eslint-plugin-cypress": "^3.4.0",
|
|
@@ -45,12 +34,25 @@
|
|
|
45
34
|
"react": "^18.3.1",
|
|
46
35
|
"react-dom": "^18.3.1",
|
|
47
36
|
"typescript": "^5.5.4",
|
|
48
|
-
"vite": "^5.4.0"
|
|
37
|
+
"vite": "^5.4.0",
|
|
38
|
+
"vite-plugin-gh-pages": "^0.4.1"
|
|
49
39
|
},
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
42
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
53
43
|
},
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/lexabu/react-char-fill/issues"
|
|
46
|
+
},
|
|
47
|
+
"description": "A React component for creating flexible character-based ratings, perfect for star ratings and other similar use cases.",
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=14.0.0"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"README.md"
|
|
54
|
+
],
|
|
55
|
+
"homepage": "https://github.com/lexabu/react-char-fill#readme",
|
|
54
56
|
"keywords": [
|
|
55
57
|
"react",
|
|
56
58
|
"rating",
|
|
@@ -62,17 +64,29 @@
|
|
|
62
64
|
"star-rating",
|
|
63
65
|
"reviews"
|
|
64
66
|
],
|
|
65
|
-
"author": "Alex Abushanab",
|
|
66
67
|
"license": "MIT",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
68
|
+
"publishConfig": {
|
|
69
|
+
"registry": "https://npm.pkg.github.com"
|
|
70
70
|
},
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
71
|
+
"scripts": {
|
|
72
|
+
"dev": "vite",
|
|
73
|
+
"build": "vite build",
|
|
74
|
+
"bp": "vite build && vite preview",
|
|
75
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
76
|
+
"format": "prettier --write .",
|
|
77
|
+
"preview": "vite preview",
|
|
78
|
+
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
|
|
79
|
+
"test": "cypress",
|
|
80
|
+
"cypress": "npx cypress open",
|
|
81
|
+
"clean": "rm -rf dist && rm -rf node_modules && rm -rf bun.lockb && bun i",
|
|
82
|
+
"deploy": "vite build && vite preview && vite gh-pages-deploy",
|
|
83
|
+
"publish:npm": "npm publish --registry=https://registry.npmjs.org/",
|
|
84
|
+
"publish-bump:npm": "npm version patch && npm publish --registry=https://registry.npmjs.org/",
|
|
85
|
+
"publish:github": "npm run publish:github-prepare",
|
|
86
|
+
"publish:github-prepare": "export $(cat .env | xargs) && npm version patch && npm run name:scope && npm publish --registry=https://npm.pkg.github.com && npm run name:restore",
|
|
87
|
+
"name:scope": "node -e \"let pkg=require('./package.json'); pkg.name='@lexabu/react-char-fill'; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));\"",
|
|
88
|
+
"name:restore": "node -e \"let pkg=require('./package.json'); pkg.name='react-char-fill'; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2));\""
|
|
76
89
|
},
|
|
77
|
-
"
|
|
90
|
+
"type": "module",
|
|
91
|
+
"types": "dist/index.d.ts"
|
|
78
92
|
}
|