Skip to content

Commit

Permalink
add pack
Browse files Browse the repository at this point in the history
  • Loading branch information
nella17 committed Jan 22, 2023
1 parent dde9475 commit 633df10
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
include
pack
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "fswatch -o src | xargs -n1 -I{} pnpm run build:dev",
"build:dev": "NODE_ENV=developmemnt vite build --mode developmemnt",
"build": "vite build"
"build": "vite build",
"pack": "pnpm run build && zip -j -r -9 pack/pack.zip dist"
},
"repository": {
"type": "git",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/content-scripts/main.ts → src/content-scripts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createApp } from 'vue'
import Main from './main.vue'
import Main from './components/main.vue'
import { createPinia } from 'pinia'
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
Expand Down
4 changes: 2 additions & 2 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "NYCU Cos Search",
"version": "1.0",
"version": "1.0.0",
"permissions": [
"webRequest",
"storage",
Expand All @@ -20,7 +20,7 @@
"content_scripts": [
{
"matches": ["https://cos.nycu.edu.tw/*"],
"js": ["content-scripts/main.ts"]
"js": ["content-scripts.ts"]
}
]
}

0 comments on commit 633df10

Please sign in to comment.