UNPKG

2.97 kBJSONView Raw
1{
2 "name": "react-loading-skeleton",
3 "version": "3.5.0",
4 "description": "Make beautiful, animated loading skeletons that automatically adapt to your app.",
5 "keywords": [
6 "react",
7 "loading",
8 "skeleton",
9 "progress",
10 "spinner"
11 ],
12 "repository": {
13 "type": "git",
14 "url": "https://github.com/dvtng/react-loading-skeleton.git"
15 },
16 "license": "MIT",
17 "author": "David Tang",
18 "sideEffects": [
19 "**/*.css"
20 ],
21 "type": "module",
22 "exports": {
23 ".": {
24 "types": "./dist/index.d.ts",
25 "require": "./dist/index.cjs",
26 "import": "./dist/index.js"
27 },
28 "./dist/skeleton.css": "./dist/skeleton.css"
29 },
30 "main": "dist/index.cjs",
31 "module": "dist/index.js",
32 "types": "dist/index.d.ts",
33 "files": [
34 "dist/"
35 ],
36 "scripts": {
37 "build": "yarn clean && tsc && rollup -c",
38 "clean": "rimraf dist",
39 "lint": "eslint .",
40 "lint-staged": "lint-staged --no-stash",
41 "prepack": "yarn run build",
42 "prettier-all": "prettier . --write",
43 "setup": "husky install",
44 "storybook": "storybook dev -p 8080",
45 "test": "vitest"
46 },
47 "lint-staged": {
48 "src/**/*.ts?(x)": [
49 "eslint --max-warnings 0 --fix",
50 "prettier --write"
51 ],
52 "*.{md,js,cjs,yml,json}": "prettier --write",
53 "vite.config.ts": "prettier --write",
54 ".storybook/*.ts": "prettier --write"
55 },
56 "devDependencies": {
57 "@rollup/plugin-typescript": "^11.1.0",
58 "@storybook/addon-essentials": "^7.0.7",
59 "@storybook/addon-interactions": "^7.0.7",
60 "@storybook/addon-links": "^7.0.7",
61 "@storybook/blocks": "^7.0.7",
62 "@storybook/react": "^7.0.7",
63 "@storybook/react-vite": "^7.0.7",
64 "@swc/core": "^1.3.56",
65 "@testing-library/jest-dom": "^5.16.5",
66 "@testing-library/react": "^12.1.5",
67 "@types/react": "^18.2.0",
68 "@types/react-dom": "^18.2.1",
69 "@types/testing-library__jest-dom": "^5.14.5",
70 "@typescript-eslint/eslint-plugin": "^5.59.1",
71 "@typescript-eslint/parser": "^5.59.1",
72 "@vitejs/plugin-react-swc": "^3.3.0",
73 "eslint": "^8.39.0",
74 "eslint-config-airbnb": "^19.0.4",
75 "eslint-config-airbnb-typescript": "^17.0.0",
76 "eslint-config-prettier": "^8.8.0",
77 "eslint-plugin-import": "^2.27.5",
78 "eslint-plugin-jsx-a11y": "^6.7.1",
79 "eslint-plugin-react": "^7.32.2",
80 "eslint-plugin-react-hooks": "^4.6.0",
81 "eslint-plugin-testing-library": "^5.10.3",
82 "husky": "^8.0.3",
83 "jsdom": "^21.1.1",
84 "lint-staged": "^13.2.2",
85 "prettier": "^2.8.8",
86 "prettier-plugin-packagejson": "^2.4.3",
87 "prop-types": "^15.8.1",
88 "react": "^17.0.2",
89 "react-dom": "^17.0.2",
90 "rimraf": "^5.0.0",
91 "rollup": "^3.21.1",
92 "rollup-plugin-copy": "^3.4.0",
93 "storybook": "^7.0.7",
94 "tslib": "^2.5.0",
95 "typescript": "^5.0.4",
96 "vite": "^4.3.3",
97 "vite-plugin-checker": "^0.5.6",
98 "vitest": "^0.30.1"
99 },
100 "peerDependencies": {
101 "react": ">=16.8.0"
102 },
103 "packageManager": "yarn@3.5.0"
104}