playlight-sdk 0.0.1
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/LICENSE +21 -0
- package/dist/playlight-sdk.css +1 -0
- package/dist/playlight-sdk.es.js +3737 -0
- package/dist/playlight-sdk.es.js.map +1 -0
- package/dist/playlight-sdk.iife.js +23 -0
- package/dist/playlight-sdk.iife.js.map +1 -0
- package/dist/static/fonts/Geist[wght].ttf +0 -0
- package/dist/static/images/logo-white-small.png +0 -0
- package/dist/static/sounds/hover-selection.ogg +0 -0
- package/package.json +59 -0
- package/readme.md +16 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "playlight-sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "The SDK for Playlight - a discovery platform, built into your own game.",
|
|
6
|
+
"main": "dist/playlight-sdk.es.js",
|
|
7
|
+
"module": "dist/playlight-sdk.es.js",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "vite dev --port 3000",
|
|
10
|
+
"build": "vite build",
|
|
11
|
+
"postbuild": "node process-css.cjs",
|
|
12
|
+
"preview": "vite preview",
|
|
13
|
+
"format": "prettier --write .",
|
|
14
|
+
"lint": "prettier --check ."
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
18
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
19
|
+
"clsx": "^2.1.1",
|
|
20
|
+
"mode-watcher": "^0.5.1",
|
|
21
|
+
"prettier": "^3.4.2",
|
|
22
|
+
"prettier-plugin-svelte": "^3.3.3",
|
|
23
|
+
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
24
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
25
|
+
"svelte": "^5.0.0",
|
|
26
|
+
"svelte-sonner": "^0.3.28",
|
|
27
|
+
"tailwind-merge": "^3.0.2",
|
|
28
|
+
"tailwind-variants": "^0.3.1",
|
|
29
|
+
"tailwindcss": "^4.0.0",
|
|
30
|
+
"tailwindcss-animate": "^1.0.7",
|
|
31
|
+
"vite": "^6.0.0"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"lucide-svelte": "^0.476.0",
|
|
35
|
+
"vite-plugin-static-copy": "^2.3.0"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist"
|
|
39
|
+
],
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/therealPaulPlay/Playlight-SDK.git"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"Playlight",
|
|
46
|
+
"Games",
|
|
47
|
+
"Discovery",
|
|
48
|
+
"SDK"
|
|
49
|
+
],
|
|
50
|
+
"author": "PaulPlay",
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/therealPaulPlay/Playlight-SDK/issues"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://playlight.dev",
|
|
56
|
+
"publishConfig": {
|
|
57
|
+
"access": "public"
|
|
58
|
+
}
|
|
59
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Playlight (SDK)
|
|
2
|
+
Playlight is an integrable game discovery platform.
|
|
3
|
+
|
|
4
|
+
## Installation
|
|
5
|
+
Please refer to [the docs](https://playlight.dev/docs).
|
|
6
|
+
If you want to contribute to the docs, you can access the [source](https://github.com/therealPaulPlay/Playlight-Site/blob/main/src/routes/docs/%2Bpage.svelte) here.
|
|
7
|
+
The package is also available on [NPM](https://npmjs.com) under the name `playlight-sdk`.
|
|
8
|
+
|
|
9
|
+
## Developing
|
|
10
|
+
|
|
11
|
+
The Playlight SDK uses [Svelte](https://svelte.dev) together with [Tailwind CSS](https://tailwindcss.com/) and [Shadcn-Svelte components](https://next.shadcn-svelte.com/).
|
|
12
|
+
|
|
13
|
+
Run `npm run build` to create a fresh build, and test the SDK using the `index.html` file found in the `/example` folder.
|
|
14
|
+
To view it, start a live server (e.g. with the live server VSCode extension).
|
|
15
|
+
|
|
16
|
+
The `index.js` file is the entry point of the project and mounts the main `App.svelte` component.
|