-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
102 lines (102 loc) · 2.9 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
{
"name": "@smastrom/react-rating",
"version": "1.5.0",
"private": false,
"keywords": [
"react",
"rating",
"react rating",
"react-rating",
"rating star",
"rating-star",
"rating-component",
"rating component",
"stars",
"star",
"star-component",
"star component",
"reviews",
"review",
"reviews-component",
"reviews component",
"react reviews",
"react-reviews"
],
"homepage": "https://reactrating.netlify.app/",
"bugs": {
"url": "https://github.com/smastrom/react-rating/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/smastrom/react-rating"
},
"license": "MIT",
"author": "Simone Mastromattei <[email protected]>",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./style.css": "./dist/style.css",
"./style": "./dist/style.css",
"./styles.css": "./dist/style.css",
"./styles": "./dist/style.css"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"build": "rm -rf dist && tsc && vite build",
"postbuild": "./scripts/add-use-client.sh",
"coverage": "vitest run --coverage",
"dev": "vite",
"test": "vitest",
"test:ct": "playwright test -c playwright-ct.config.ts",
"test:ct:rtl": "IS_RTL=true pnpm test:ct",
"lint": "eslint . --ext .ts,.tsx && prettier --write \"**/*.{ts,tsx,css,md}\"",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{ts,tsx,css,md}": "prettier --write"
},
"devDependencies": {
"@playwright/experimental-ct-react": "1.29.0",
"@playwright/test": "1.29.0",
"@rollup/plugin-terser": "^0.4.3",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/node": "^18.17.5",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/testing-library__jest-dom": "^5.14.9",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.8",
"cpy-cli": "^4.2.0",
"eslint": "^8.47.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jsdom": "^21.1.2",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vitest": "^0.29.8",
"vite-plugin-dts": "^3.5.2"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
}
}