-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
108 lines (108 loc) · 5.37 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "renewedtab",
"version": "1.19.0",
"description": "A customisable home page for your web browser",
"main": "webpack.config.js",
"sideEffects": false,
"scripts": {
"build": "npm run build:app && npm run build:server",
"build:app": "npm run trans:compile && webpack",
"build:server": "tsc --outDir dist/server --project tsconfig.server.json",
"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": "concurrently \"tsc --preserveWatchOutput --watch --outDir dist/server --project tsconfig.server.json\" \"NODE_PATH=dist/server nodemon dist/server/server/index.js\"",
"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:app && 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:app && 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:app && 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",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --max-warnings 0",
"fixlint": "eslint 'src/**/*.{js,ts,tsx}' --fix",
"test": "TS_NODE_FILES=1 NODE_PATH=src mocha 'tests/**/*.test.ts'",
"uitest": "TS_NODE_FILES=1 NODE_PATH=src cypress run",
"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 utils/translation-format.js && 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"
},
"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/plugin-transform-react-jsx": "^7.17.3",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
"@fortawesome/free-solid-svg-icons": "^6.3.0",
"@sentry/node": "^7.7.0",
"@sentry/react": "^7.7.0",
"@sentry/tracing": "^7.7.0",
"@types/express": "^4.17.13",
"@types/node-fetch": "^2.6.1",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"@types/react-grid-layout": "^1.3.2",
"@types/react-radio-group": "^3.0.4",
"babel-loader": "^8.2.3",
"babel-plugin-formatjs": "^10.3.18",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"express": "^4.17.3",
"fork-ts-checker-webpack-plugin": "^7.2.1",
"git-revision-webpack-plugin": "^5.0.0",
"html-webpack-plugin": "^5.5.0",
"ical-expander": "^3.1.0",
"ical.js": "^1.5.0",
"mini-css-extract-plugin": "^2.5.3",
"njwt": "^1.2.0",
"node-fetch": "^2.6.7",
"node-sass": "^8.0.0",
"nodemon": "^2.0.15",
"prom-client": "^14.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-grid-layout": "^1.3.4",
"react-intl": "^5.24.6",
"react-radio-group": "^3.0.3",
"sass-loader": "^13.2.0",
"typescript": "^4.6.2",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2"
},
"devDependencies": {
"@formatjs/cli": "^4.8.2",
"@types/chai": "^4.3.0",
"@types/jsdom": "^16.2.14",
"@types/mocha": "^9.1.0",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"chai": "^4.3.6",
"concurrently": "^7.0.0",
"cypress": "^12.12.0",
"eslint": "^8.10.0",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"jsdom": "^19.0.0",
"live-server": "^1.2.1",
"mocha": "^9.2.1",
"start-server-and-test": "^1.14.0",
"ts-node": "^10.6.0",
"web-ext": "^6.8.0",
"web-ext-types": "^3.2.1",
"webextension-polyfill-ts": "^0.26.0"
}
}