-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
87 lines (87 loc) · 3.47 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "git-notify-extension",
"version": "2.3.0",
"description": "Don't miss any GitLab merge requests and rocket up your productivity.",
"repository": "https://github.com/Mikescops/git-notify-extension",
"source": "src/popup/popup.html",
"scripts": {
"start": "npm run copy-config:dev; parcel --host localhost --target mv3",
"build:dev": "npm run copy-config:dev; parcel build --target mv3",
"build:prod": "rm -rf dist/; npm run copy-config:prod; npm run build:prod:mv3; npm run build:prod:mv2",
"build:prod:mv3": "parcel build --target mv3",
"build:prod:mv2": "parcel build --target mv2",
"copy-config:setup": "cp src/config/config.prod.ts src/config/config.dev.ts",
"copy-config:dev": "cp src/config/config.dev.ts src/config/config.ts",
"copy-config:prod": "cp src/config/config.prod.ts src/config/config.ts",
"lint": "tsc --noEmit --rootDir src/ && eslint \"src/**/*.ts{,x}\"",
"lint:fix": "npm run lint -- --quiet --fix",
"build-analyser": "parcel build src/manifest/manifest.json --reporter @parcel/reporter-bundle-analyzer",
"zip": "npm run zip:chrome; npm run zip:edge; npm run zip:firefox; npm run zip:source",
"zip:chrome": "ts-node ./src/tools/zip.ts dist/mv3 chrome.zip",
"zip:edge": "ts-node ./src/tools/zip.ts dist/mv3 edge.zip",
"zip:firefox": "ts-node ./src/tools/zip.ts dist/mv2 firefox.zip",
"zip:source": "git archive --format=zip HEAD -o dist/source.zip"
},
"author": "Corentin Mors ([email protected])",
"license": "ISC",
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions"
],
"targets": {
"mv3": {
"source": "src/manifest/manifest.json",
"context": "service-worker",
"sourceMap": false
},
"mv2": {
"source": "src/manifest-v2/manifest.json",
"context": "service-worker",
"sourceMap": false
}
},
"dependencies": {
"@gitbeaker/rest": "^40.0.3",
"@primer/octicons-react": "^19.9.0",
"@primer/react": "^36.22.0",
"marked": "^11.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sanitize-html": "^2.13.0",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@parcel/config-webextension": "^2.12.0",
"@parcel/reporter-bundle-analyzer": "^2.12.0",
"@parcel/transformer-typescript-tsc": "^2.12.0",
"@types/archiver": "^6.0.2",
"@types/node": "^18.19.34",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/sanitize-html": "^2.11.0",
"@types/styled-components": "^5.1.26",
"@types/webextension-polyfill": "^0.10.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"archiver": "^6.0.2",
"buffer": "^5.5.0||^6.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"parcel": "^2.12.0",
"prettier": "^3.3.2",
"process": "^0.11.10",
"styled-components": "^5.1.26",
"ts-node": "^10.9.1",
"typescript": "^5.4.5"
},
"engines": {
"node": "18.x.x",
"npm": ">=9"
},
"@parcel/resolver-default": {
"packageExports": true
}
}