Skip to content

Commit c6e3cc9

Browse files
committed
removed script/build.js, updated live demo to be responsive
1 parent 869aa91 commit c6e3cc9

File tree

4 files changed

+8
-31
lines changed

4 files changed

+8
-31
lines changed

.eslintrc.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,4 @@ module.exports = {
2424
'space-infix-ops': ['warn'],
2525
'space-in-parens': ['warn', 'never'],
2626
},
27-
globals: {
28-
process: true,
29-
},
3027
}

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Tailwindcss plugin to make skeleton screen easier than ever.
66
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@gradin/tailwindcss-skeleton-screen)
77
![npm](https://img.shields.io/npm/dw/@gradin/tailwindcss-skeleton-screen)
88

9-
[Live Demo](https://play.tailwindcss.com/pvcsIiczqb)
9+
[Live Demo](https://play.tailwindcss.com/YSl180l7et)
1010

1111
## Installation
1212

@@ -18,7 +18,7 @@ npm install -D @gradin/tailwindcss-skeleton-screen
1818
yarn add -D @gradin/tailwindcss-skeleton-screen
1919
```
2020

21-
Then add the plugin too `tailwind.config.js` file
21+
Then add the plugin to `tailwind.config.js` file
2222

2323
```js
2424
module.exports = {
@@ -27,7 +27,6 @@ module.exports = {
2727
},
2828
plugins: [
2929
require('@gradin/tailwindcss-skeleton-screen'),
30-
// ...
3130
],
3231
}
3332
```

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "0.0.1",
44
"description": "Tailwindcss plugin to make skeleton screen easier than ever.",
55
"main": "src/index.js",
6-
"scripts": {
7-
"prepublishOnly": "node scripts/build.js",
8-
"test": "jest"
9-
},
6+
"scripts": {},
107
"repository": {
118
"type": "git",
129
"url": "git+https://github.com/gradints/tailwindcss-skeleton-screen.git"
1310
},
11+
"publishConfig": {
12+
"access": "public"
13+
},
1414
"keywords": [
1515
"tailwind",
1616
"tailwindcss",
@@ -25,8 +25,7 @@
2525
},
2626
"homepage": "https://github.com/gradints/tailwindcss-skeleton-screen#readme",
2727
"devDependencies": {
28-
"clean-css": "^5.1.2",
2928
"eslint": "^7.24.0",
3029
"tailwindcss": "^2.1.1"
3130
}
32-
}
31+
}

src/index.js

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,4 @@ module.exports = plugin(
3131
},
3232
])
3333
}
34-
)
35-
36-
// .loading {
37-
// @apply bg-gray-300 overflow-hidden relative;
38-
// &::after {
39-
// @apply block absolute h-full top-0 -left-40 w-40;
40-
// content: '';
41-
// background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
42-
// animation: skeletonloading 1s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
43-
// }
44-
// }
45-
// @keyframes skeletonloading {
46-
// from {
47-
// @apply -left-40;
48-
// }
49-
// to {
50-
// @apply left-full;
51-
// }
52-
// }
34+
)

0 commit comments

Comments
 (0)