aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-01-28 22:16:48 -0500
committerAjay Ramachandran <[email protected]>2020-01-28 22:16:48 -0500
commit03836b69f296df8edef412fcb00876dc72fc6eb3 (patch)
tree6243957ddfb787a34b77a928709757b9d79fb32d /package.json
parent5837205a9a47e364dc9038221f29b25e091a2ee3 (diff)
downloadSponsorBlock-03836b69f296df8edef412fcb00876dc72fc6eb3.tar.gz
SponsorBlock-03836b69f296df8edef412fcb00876dc72fc6eb3.zip
Started conversion to TypeScript.
Diffstat (limited to 'package.json')
-rw-r--r--package.json23
1 files changed, 19 insertions, 4 deletions
diff --git a/package.json b/package.json
index c5dadd4a..5780b5b2 100644
--- a/package.json
+++ b/package.json
@@ -5,12 +5,27 @@
"main": "background.js",
"dependencies": {},
"devDependencies": {
- "web-ext": "^4.0.0"
+ "web-ext": "^4.0.0",
+ "@types/chrome": "0.0.91",
+ "@types/firefox-webext-browser": "70.0.1",
+ "@types/jest": "^24.0.23",
+ "@types/jquery": "^3.3.31",
+ "copy-webpack-plugin": "^5.0.5",
+ "jest": "^24.9.0",
+ "ts-jest": "^24.2.0",
+ "rimraf": "^3.0.0",
+ "ts-loader": "^6.2.1",
+ "typescript": "~3.7.3",
+ "webpack": "~4.41.2",
+ "webpack-cli": "~3.3.10",
+ "webpack-merge": "~4.2.2"
},
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1",
- "dev": "web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm",
- "build": "web-ext build --overwrite-dest -i \"*(package-lock.json|README.md|package.json|config.js.example|firefox_manifest-extra.json|manifest.json.original|ignored|crowdin.yml)\""
+ "dev": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm",
+ "watch": "webpack --config webpack/webpack.dev.js --watch",
+ "build": "webpack --config webpack/webpack.prod.js",
+ "clean": "rimraf dist",
+ "test": "npx jest"
},
"repository": {
"type": "git",