103 lines
4.7 KiB
JSON
103 lines
4.7 KiB
JSON
{
|
|
"name": "renewedtab",
|
|
"version": "1.13.1",
|
|
"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:app": "npm run trans:compile && concurrently \"webpack --watch\" \"live-server dist/webext/app --port=8085\"",
|
|
"start:server": "concurrently \"tsc --preserveWatchOutput --watch --outDir dist/server --project tsconfig.server.json\" \"NODE_PATH=dist/server nodemon dist/server/server/index.js\"",
|
|
"start: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: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\"",
|
|
"package:webext": "npm run package:chrome && npm run package:firefox",
|
|
"package:chrome": "npm run build:app && web-ext build -s ./dist/webext/ -i app/manifest.json -i app/index.html -i manifest.firefox.json -i 'app/*.map' -n chrome.zip --overwrite-dest",
|
|
"package:firefox": "npm run build:app && cp src/webext/manifest.firefox.json dist/webext/manifest.json && web-ext build -s ./dist/webext/ -i app/manifest.json -i manifest.firefox.json -i app/index.html -i 'app/*.map' -n firefox.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 -r ts-node/register 'tests/app/**/*.test.ts'",
|
|
"uitest": "TS_NODE_FILES=1 NODE_PATH=src mocha -r ts-node/register 'tests/ui/**/*.test.ts' --file ./tests/ui/setup-selenium.ts",
|
|
"uitest-and-server": "start-server-and-test start:app http://127.0.0.1:8085 uitest",
|
|
"coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" npm run test",
|
|
"trans:extract": "formatjs extract 'src/app/**/*.ts*' --out-file src/app/locale/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",
|
|
"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": "^1.2.36",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
"@sentry/node": "^6.16.1",
|
|
"@sentry/react": "^6.16.1",
|
|
"@sentry/tracing": "^6.16.1",
|
|
"@types/express": "^4.17.13",
|
|
"@types/node-fetch": "^2.5.12",
|
|
"@types/react": "^17.0.38",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/react-grid-layout": "^1.3.0",
|
|
"@types/react-radio-group": "^3.0.4",
|
|
"babel-loader": "^8.2.3",
|
|
"babel-plugin-formatjs": "^10.3.18",
|
|
"copy-webpack-plugin": "^10.2.0",
|
|
"css-loader": "^6.5.1",
|
|
"express": "^4.17.2",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.1",
|
|
"git-revision-webpack-plugin": "^5.0.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"mini-css-extract-plugin": "^2.5.2",
|
|
"njwt": "^1.2.0",
|
|
"node-fetch": "^2.6.7",
|
|
"node-sass": "^7.0.1",
|
|
"nodemon": "^2.0.15",
|
|
"prom-client": "^14.0.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-grid-layout": "^1.3.1",
|
|
"react-intl": "^5.24.3",
|
|
"react-radio-group": "^3.0.3",
|
|
"sass-loader": "^12.4.0",
|
|
"typescript": "^4.5.4",
|
|
"webpack": "^5.66.0",
|
|
"webpack-cli": "^4.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"@formatjs/cli": "^4.7.1",
|
|
"@types/chai": "^4.3.0",
|
|
"@types/jsdom": "^16.2.14",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/selenium-webdriver": "^4.0.16",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
"@typescript-eslint/parser": "^5.10.0",
|
|
"chai": "^4.3.4",
|
|
"concurrently": "^7.0.0",
|
|
"eslint": "^8.7.0",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"jsdom": "^19.0.0",
|
|
"live-server": "^1.2.1",
|
|
"mocha": "^9.1.4",
|
|
"selenium-webdriver": "*",
|
|
"start-server-and-test": "^1.14.0",
|
|
"ts-node": "^10.4.0",
|
|
"web-ext": "^6.6.0",
|
|
"web-ext-types": "^3.2.1",
|
|
"webextension-polyfill-ts": "^0.26.0"
|
|
}
|
|
}
|