Skip to content

Commit 9256e8d

Browse files
committed
Initial commit
0 parents  commit 9256e8d

15 files changed

+16897
-0
lines changed

.gitignore

+168
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/node,macos,vscode+all
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,macos,vscode+all
4+
5+
### macOS ###
6+
# General
7+
.DS_Store
8+
.AppleDouble
9+
.LSOverride
10+
11+
# Icon must end with two \r
12+
Icon
13+
14+
15+
# Thumbnails
16+
._*
17+
18+
# Files that might appear in the root of a volume
19+
.DocumentRevisions-V100
20+
.fseventsd
21+
.Spotlight-V100
22+
.TemporaryItems
23+
.Trashes
24+
.VolumeIcon.icns
25+
.com.apple.timemachine.donotpresent
26+
27+
# Directories potentially created on remote AFP share
28+
.AppleDB
29+
.AppleDesktop
30+
Network Trash Folder
31+
Temporary Items
32+
.apdisk
33+
34+
### Node ###
35+
# Logs
36+
logs
37+
*.log
38+
npm-debug.log*
39+
yarn-debug.log*
40+
yarn-error.log*
41+
lerna-debug.log*
42+
.pnpm-debug.log*
43+
44+
# Diagnostic reports (https://nodejs.org/api/report.html)
45+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
46+
47+
# Runtime data
48+
pids
49+
*.pid
50+
*.seed
51+
*.pid.lock
52+
53+
# Directory for instrumented libs generated by jscoverage/JSCover
54+
lib-cov
55+
56+
# Coverage directory used by tools like istanbul
57+
coverage
58+
*.lcov
59+
60+
# nyc test coverage
61+
.nyc_output
62+
63+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
64+
.grunt
65+
66+
# Bower dependency directory (https://bower.io/)
67+
bower_components
68+
69+
# node-waf configuration
70+
.lock-wscript
71+
72+
# Compiled binary addons (https://nodejs.org/api/addons.html)
73+
build/Release
74+
75+
# Dependency directories
76+
node_modules/
77+
jspm_packages/
78+
79+
# Snowpack dependency directory (https://snowpack.dev/)
80+
web_modules/
81+
82+
# TypeScript cache
83+
*.tsbuildinfo
84+
85+
# Optional npm cache directory
86+
.npm
87+
88+
# Optional eslint cache
89+
.eslintcache
90+
91+
# Microbundle cache
92+
.rpt2_cache/
93+
.rts2_cache_cjs/
94+
.rts2_cache_es/
95+
.rts2_cache_umd/
96+
97+
# Optional REPL history
98+
.node_repl_history
99+
100+
# Output of 'npm pack'
101+
*.tgz
102+
103+
# Yarn Integrity file
104+
.yarn-integrity
105+
106+
# dotenv environment variables file
107+
.env
108+
.env.test
109+
.env.production
110+
111+
# parcel-bundler cache (https://parceljs.org/)
112+
.cache
113+
.parcel-cache
114+
115+
# Next.js build output
116+
.next
117+
out
118+
119+
# Nuxt.js build / generate output
120+
.nuxt
121+
dist
122+
123+
# Gatsby files
124+
.cache/
125+
# Comment in the public line in if your project uses Gatsby and not Next.js
126+
# https://nextjs.org/blog/next-9-1#public-directory-support
127+
# public
128+
129+
# vuepress build output
130+
.vuepress/dist
131+
132+
# Serverless directories
133+
.serverless/
134+
135+
# FuseBox cache
136+
.fusebox/
137+
138+
# DynamoDB Local files
139+
.dynamodb/
140+
141+
# TernJS port file
142+
.tern-port
143+
144+
# Stores VSCode versions used for testing VSCode extensions
145+
.vscode-test
146+
147+
# yarn v2
148+
.yarn/cache
149+
.yarn/unplugged
150+
.yarn/build-state.yml
151+
.yarn/install-state.gz
152+
.pnp.*
153+
154+
### Node Patch ###
155+
# Serverless Webpack directories
156+
.webpack/
157+
158+
# Optional stylelint cache
159+
.stylelintcache
160+
161+
# SvelteKit build / generate output
162+
.svelte-kit
163+
164+
#!! ERROR: vscode+all is undefined. Use list command to see defined gitignore types !!#
165+
166+
# End of https://www.toptal.com/developers/gitignore/api/node,macos,vscode+all
167+
168+
.vscode/

.parcelrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "@parcel/config-default",
3+
"optimizers": {
4+
"*.html": [
5+
"parcel-optimizer-webview"
6+
]
7+
}
8+
}

Info.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "User Scripts",
3+
"identifier": "io.iina.user-scripts",
4+
"version": "0.1.0",
5+
"ghVersion": 1,
6+
"ghRepo": "iina/plugin-user-scripts",
7+
"description": "User Scripts for IINA",
8+
"author": {
9+
"name": "Collider LI",
10+
"email": "[email protected]",
11+
"url": "https://iina.io"
12+
},
13+
"entry": "dist/index.js",
14+
"globalEntry": "dist/global.js",
15+
"permissions": [
16+
"show-osd",
17+
"network-request",
18+
"video-overlay",
19+
"file-system"
20+
],
21+
"allowedDomains": ["iina.io", "*.iina.io"],
22+
"preferencesPage": "pref.html",
23+
"preferenceDefaults": {
24+
"keyNum": 10,
25+
"keyString": "hello",
26+
"keyBool": true
27+
}
28+
}

babel.config.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["@emotion/babel-plugin"]
3+
}

0 commit comments

Comments
 (0)