This repository has been archived by the owner on Apr 27, 2022. It is now read-only.
generated from s-weigand/browser-extension-template-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.41 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
{
"private": true,
"scripts": {
"lint:web-ext": "run-s update_manifest_firefox && web-ext lint -s distribution",
"lint": "tslint -t codeFrame -c tslint.json 'source/**/*.{ts,tsx,js}' 'tests/**/*.{ts,tsx,js}'",
"test": "jest --coverage --verbose",
"test:prod": "run-s test lint build",
"clean": "rimraf distribution",
"update_manifest_firefox": "npx ts-node tools/firefox_manifest_append.ts",
"build": "run-s clean && webpack --mode=production",
"watch": "run-s clean && webpack --mode=development --watch",
"version": "dot-json distribution/manifest.json version $VER",
"release": "VER=$(daily-version); git tag -a \"$VER\" -m \"Release version $VER\""
},
"jest": {
"preset": "ts-jest",
"setupFiles": [
"jest-webextension-mock"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testRegex": "(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/tests/"
],
"collectCoverageFrom": [
"source/**/{!(index),}.{js,ts,tsx}"
]
},
"devDependencies": {
"@sindresorhus/tsconfig": "^2.0.0",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.8",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"@types/xregexp": "^4.4.0",
"chrome-webstore-upload-cli": "^2.0.1",
"copy-webpack-plugin": "^9.0.1",
"daily-version": "^2.0.0",
"dot-json": "^1.2.2",
"file-loader": "^6.2.0",
"jest": "^27.4.7",
"jest-webextension-mock": "^3.7.18",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"sass": "^1.38.2",
"sass-loader": "^12.1.0",
"size-plugin": "^2.0.2",
"terser-webpack-plugin": "^5.1.4",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"tslint-react": "^5.0.0",
"typescript": "^4.3.5",
"web-ext": "^6.3.0",
"web-ext-submit": "^6.3.0",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"@material-ui/core": "^4.12.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"webext-options-sync": "^2.0.1",
"webextension-polyfill-ts": "^0.26.0",
"xregexp": "^5.1.0"
}
}