-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.66 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"name": "xplus",
"version": "1.3.1",
"description": "Browser extension that opens X (Twitter) post links and notifications in new tabs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rm -rf dist",
"prebuild": "npm run clean && mkdir -p dist",
"dev": "npm run dev:chrome && npm run dev:firefox",
"dev:chrome": "rm -rf dist/chrome-dev && mkdir -p dist/chrome-dev/assets && cp -r shared-assets/* dist/chrome-dev/assets/ && cp -r src/common/* dist/chrome-dev/ && cp src/chrome/manifest.json dist/chrome-dev/",
"dev:firefox": "rm -rf dist/firefox-dev && mkdir -p dist/firefox-dev/assets && cp -r shared-assets/* dist/firefox-dev/assets/ && cp -r src/common/* dist/firefox-dev/ && cp src/firefox/manifest.json dist/firefox-dev/",
"build": "npm run build:chrome && npm run build:firefox",
"build:chrome": "rm -rf dist/chrome-build && mkdir -p dist/chrome-build/assets && cp -r shared-assets/* dist/chrome-build/assets/ && cp -r src/common/* dist/chrome-build/ && cp src/chrome/manifest.json dist/chrome-build/ && cd dist/chrome-build && zip -r ../xplus-chrome.zip *",
"build:firefox": "rm -rf dist/firefox-build && mkdir -p dist/firefox-build/assets && cp -r shared-assets/* dist/firefox-build/assets/ && cp -r src/common/* dist/firefox-build/ && cp src/firefox/manifest.json dist/firefox-build/ && cd dist/firefox-build && zip -r ../xplus-firefox.zip *"
},
"keywords": [
"chrome-extension",
"firefox-extension",
"browser-extension",
"twitter",
"x",
"tabs"
],
"author": "",
"license": "MIT"
}