Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 5.42 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 5.42 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "renewedtab",
"version": "1.21.2",
"description": "A customisable home page for your web browser",
"main": "webpack.config.js",
"sideEffects": false,
"scripts": {
"build": "npm run trans:compile && webpack",
"start": "concurrently \"npm run start:app\" \"npm run start:server\" ",
"start:liveapp": "live-server dist/webext/app --port=8085",
"start:app": "npm run trans:compile && concurrently \"webpack --watch\" \"npm run start:liveapp\"",
"start:server": "NODE_PATH=src nodemon src/server/index.ts",
"start:chrome": "export TARGET=chrome && npm run trans:compile && concurrently \"webpack --watch\" \"web-ext run -t chromium -s ./dist/webext/ -i app/manifest.json -i manifest.firefox.json -i app/index.html\" \"npm run start:server\"",
"start:firefox": "export TARGET=firefox && npm run trans:compile && concurrently \"webpack --watch\" \"web-ext run -t firefox-desktop -s ./dist/webext/ -i app/manifest.json -i manifest.firefox.json -i app/index.html \" \"npm run start:server\"",
"start:edge": "export TARGET=edge && npm run trans:compile && concurrently \"webpack --watch\" \"web-ext run -t chromium --chromium-binary='/usr/bin/microsoft-edge-stable' -s ./dist/webext/ -i app/manifest.json -i manifest.firefox.json -i app/index.html\" \"npm run start:server\"",
"package:webext": "npm run package:chrome && npm run package:firefox && npm run package:edge",
"package:chrome": "export TARGET=chrome && npm run build && web-ext build -s ./dist/webext/ -i app/manifest.json -i app/index.html -i manifest.chrome.json -i manifest.firefox.json -i 'app/*.map' -n chrome.zip --overwrite-dest",
"package:firefox": "export TARGET=firefox && npm run build && web-ext build -s ./dist/webext/ -i app/manifest.json -i manifest.chrome.json -i manifest.firefox.json -i app/index.html -i 'app/*.map' -n firefox.zip --overwrite-dest",
"package:edge": "export TARGET=edge && npm run build && web-ext build -s ./dist/webext/ -i app/manifest.json -i app/index.html -i manifest.chrome.json -i manifest.firefox.json -i 'app/*.map' -n edge.zip --overwrite-dest",
"typecheck": "tsc --noemit",
"lint": "npm run typecheck && eslint 'src/**/*.{js,ts,tsx}' --ignore-pattern '**/*.test.*' --max-warnings 0",
"fixlint": "npm run typecheck && eslint 'src/**/*.{js,ts,tsx}' --ignore-pattern '**/*.test.*' --fix",
"test": "TS_NODE_FILES=1 NODE_PATH=src mocha",
"uitest": "TS_NODE_FILES=1 NODE_PATH=src cypress run",
"uitest:open": "TS_NODE_FILES=1 NODE_PATH=src cypress open --e2e",
"uitest:chrome": "TS_NODE_FILES=1 NODE_PATH=src cypress run --browser chrome",
"uitest:firefox": "TS_NODE_FILES=1 NODE_PATH=src cypress run --browser firefox",
"coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" npm run test",
"trans:extract": "formatjs extract 'src/app/**/*.ts*' --out-file src/app/locale/locales/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format crowdin && node utils/update_translations.js",
"trans:compile": "node utils/compile_translations.js && node utils/copy_trans_to_ext_locale.js",
"trans:check": "node utils/check_translations.js",
"votes": "node utils/votes_report.js",
"upload:chrome": "node utils/upload_chrome.js",
"upload:firefox": "node utils/upload_firefox.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gitlab.com/renewedtab/renewedtab.git"
},
"author": "rubenwardy",
"license": "GPLv3+",
"bugs": {
"url": "https://gitlab.com/renewedtab/renewedtab/issues"
},
"homepage": "https://gitlab.com/renewedtab/renewedtab#readme",
"dependencies": {
"@babel/core": "^8.0.7",
"@babel/plugin-transform-react-jsx": "^8.0.1",
"@babel/preset-env": "^8.0.7",
"@babel/preset-typescript": "^8.0.7",
"@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@sentry/node": "^11.8.0",
"@sentry/react": "^11.8.0",
"@types/express": "^5.0.6",
"@types/firefox-webext-browser": "^143.0.1",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/react-grid-layout": "^1.3.6",
"@types/webextension-polyfill": "^0.12.6",
"babel-loader": "^10.1.1",
"babel-plugin-formatjs": "^13.0.7",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.5",
"express": "^5.3.0",
"fork-ts-checker-webpack-plugin": "^9.1.0",
"git-revision-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.6.8",
"mini-css-extract-plugin": "^2.10.2",
"njwt": "^2.0.1",
"node-fetch": "^3.3.2",
"nodemon": "^3.1.14",
"posthog-js": "^1.438.12",
"prom-client": "^15.1.3",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-grid-layout": "^1.5.3",
"react-intl": "^12.1.4",
"sass": "^1.105.2",
"sass-loader": "^17.0.1",
"typescript": "^6.0.3",
"webextension-polyfill": "^0.12.0",
"webpack": "^5.112.0",
"webpack-cli": "^7.2.3"
},
"devDependencies": {
"@eslint/compat": "^2.1.1",
"@eslint/eslintrc": "^3.3.7",
"@eslint/js": "^9.22.0",
"@formatjs/cli": "^6.16.34",
"@types/chai": "^5.2.3",
"@types/jsdom": "^30.0.0",
"@types/mocha": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^8.71.2",
"@typescript-eslint/parser": "^8.71.2",
"chai": "^6.3.0",
"concurrently": "^10.0.6",
"cypress": "^16.2.0",
"eslint": "^9.39.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^30.1.3",
"live-server": "^1.2.2",
"mocha": "^12.0.3",
"start-server-and-test": "^3.0.13",
"ts-node": "^10.9.2",
"web-ext": "^10.8.0"
},
"allowScripts": {
"cypress@16.2.0": true,
"core-js": false,
"@parcel/watcher": false
}
}