@citolab/tspci 1.5.8 → 1.5.9
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/package.json +1 -1
- package/readme.md +13 -3
- package/release-notes.md +4 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
</h1>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
<img src="tspci-development.png" alt="Typescript Pci Builder">
|
|
6
|
+
<img src="https://github.com/Citolab/tspci/blob/main/lib/tspci/tspci-development.png" alt="Typescript Pci Builder">
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
|
+
[Release notes](https://github.com/Citolab/tspci/blob/main/lib/tspci/release-notes.md)
|
|
10
|
+
|
|
9
11
|
## ✨ Features <a name="features"></a>
|
|
10
12
|
|
|
11
13
|
- Use modern tooling like typescript, preact, postcss and tailwind
|
|
@@ -126,7 +128,7 @@ Available Commands
|
|
|
126
128
|
--dev -d Start development server
|
|
127
129
|
--watch -w Only watch changes
|
|
128
130
|
--help -h Help about commandos
|
|
129
|
-
--target
|
|
131
|
+
--target -t Build production for platform
|
|
130
132
|
|
|
131
133
|
Examples package.json scripts
|
|
132
134
|
$ "dev": "tspci --dev",
|
|
@@ -191,6 +193,13 @@ Appending css to shadowdom will prevent styles leaking into your player
|
|
|
191
193
|
```
|
|
192
194
|
|
|
193
195
|
### Use modern css
|
|
196
|
+
|
|
197
|
+
install autoprefixer
|
|
198
|
+
|
|
199
|
+
``` sh
|
|
200
|
+
npm i -D autoprefixer
|
|
201
|
+
```
|
|
202
|
+
|
|
194
203
|
add `postcss.config.js` with autoprefixer
|
|
195
204
|
|
|
196
205
|
// postcss.config.js
|
|
@@ -310,7 +319,8 @@ export const useMousePosition = () => {
|
|
|
310
319
|
Tao adds some lifecycle methods which you can implement and we supply an extended interfaee on top of the IMS one.
|
|
311
320
|
|
|
312
321
|
More info, see our extension
|
|
313
|
-
[
|
|
322
|
+
- [github](../tspci-tao)
|
|
323
|
+
- [@citolab/tspci-tao](https://www.npmjs.com/package/@citolab/tspci-tao)
|
|
314
324
|
|
|
315
325
|
|
|
316
326
|
## Roadmap
|