marquee-selection 0.0.11

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 ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "marquee-selection",
3
+ "version": "0.0.11",
4
+ "description": "A TypeScript library for creating a marquee selection effect",
5
+ "type": "module",
6
+ "main": "dist/marquee-selection.umd.js",
7
+ "module": "dist/marquee-selection.es.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/marquee-selection.es.js",
12
+ "require": "./dist/marquee-selection.umd.js",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "index.html"
19
+ ],
20
+ "scripts": {
21
+ "build": "vite build -c vite.config.marqueeSelection.ts && vite build -c vite.config.InfiniteCanvas.ts",
22
+ "build:dts": "rm -rf temp-types && pnpm exec tsc --emitDeclarationOnly --declaration true --outDir temp-types --declarationDir temp-types --emitDeclarationOnly true && pnpm exec rollup -c rollup.dts.config.mjs && rm -rf temp-types",
23
+ "build:all": "pnpm run clean && pnpm run build && pnpm run build:dts",
24
+ "position": "node lib/position.js",
25
+ "start": "node dist/index.js",
26
+ "dev": "vite",
27
+ "watch": "tsc --watch",
28
+ "clean": "rm -rf dist",
29
+ "preview": "vite preview",
30
+ "prepublishOnly": "npm run build:all"
31
+ },
32
+ "keywords": [
33
+ "typescript",
34
+ "node"
35
+ ],
36
+ "author": "",
37
+ "license": "MIT",
38
+ "devDependencies": {
39
+ "@types/node": "^20.0.0",
40
+ "ts-node": "^10.9.0",
41
+ "typescript": "^5.0.0",
42
+ "vite": "^5.0.0",
43
+ "rollup": "^4.21.0",
44
+ "rollup-plugin-dts": "^6.1.0"
45
+ },
46
+ "dependencies": {
47
+ "parse5": "^8.0.0"
48
+ }
49
+ }