This repository has been archived by the owner on Dec 13, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
38 lines (38 loc) · 1.74 KB
/
package.json
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
28
29
30
31
32
33
34
35
36
37
38
{
"name": "stylish-hub",
"version": "1.0.0",
"description": "A browser extension that brings new GitHub features and experience",
"main": "entry.js",
"scripts": {
"start": "npm-run-all debug:clean debug:copy debug:build",
"debug:build": "parcel build entry.js --no-cache --out-dir dist/debug",
"debug:copy": "cp manifest.json dist/debug/ && cp -r dist/prod/icons dist/debug",
"debug:clean": "rm -rf dist/debug/*",
"prod:build": "parcel build entry.js --no-cache --no-minify --out-dir dist/prod",
"prod:copy": "cp manifest.json dist/prod/",
"prod:clean": "cd dist/prod && rm -rf .DS_Store && ls | grep -v icons | xargs rm -rf",
"prod:clean-except": "cd dist/prod && ls | grep -v .zip | grep -v icons | xargs rm -rf",
"prod:zip": "cd dist/prod && zip -r -X stylish-hub-v.zip .",
"build": "npm-run-all prod:clean prod:copy prod:build prod:zip prod:clean-except",
"build:opera": "npm-run-all prod:clean manifest:opera prod:build prod:zip prod:clean-except",
"manifest:opera": "cat opera-manifest.json > dist/prod/pre-manifest.json && tail -c+2 manifest.json >> dist/prod/pre-manifest.json && mv dist/prod/pre-manifest.json dist/prod/manifest.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/daltonmenezes/stylish-hub.git"
},
"author": "Dalton Menezes <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/daltonmenezes/stylish-hub/issues"
},
"homepage": "https://github.com/daltonmenezes/stylish-hub#readme",
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.5.5",
"babel-runtime": "^6.26.0",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.3"
}
}