-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
61 lines (61 loc) · 2.76 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
{
"name": "@whotargetsme/who-targets-me",
"version": "1.14.0",
"description": "Track the extent of digital political advertising, discover which parties are targeting you",
"main": "index.js",
"dataApi": "https://data-api.whotargets.me",
"dataApiLocal": "http://localhost:3003",
"resultsUrl": "https://results.whotargets.me/",
"resultsUrlLocal": "http://localhost:3000/",
"repository": {
"type": "git",
"url": "git+https://github.com/WhoTargetsMe/Who-Targets-Me.git"
},
"bugs": {
"url": "https://github.com/WhoTargetsMe/Who-Targets-Me/issues"
},
"homepage": "https://github.com/WhoTargetsMe/Who-Targets-Me#readme",
"scripts": {
"build:chrome": "BROWSER=chrome webpack --config src/build/webpack.daemon.config.js",
"build:edge": "BROWSER=edge webpack --config src/build/webpack.daemon.config.js",
"build:firefox": "BROWSER=firefox webpack --config src/build/webpack.daemon.config.js",
"dev-daemon": "OFFLINE=true webpack --config src/build/webpack.daemon.config.js --watch",
"dev-start": "concurrently -k -s first -n \"dev,ext\" -c \"green,blue\" \"npm run dev-daemon\" \"wait-on ./build/$BROWSER/manifest.json && npm run start:$BROWSER\"",
"dev:chrome": "BROWSER=chrome npm run dev-start",
"dev:firefox": "BROWSER=firefox npm run dev-start",
"package:all": "npm run package:chrome && npm run package:firefox && npm run package:edge",
"package:chrome": "npm run build:chrome && web-ext build --source-dir ./build/chrome --filename 'chrome-{version}.zip' --artifacts-dir ./build/chrome --overwrite-dest",
"package:edge": "npm run build:edge && web-ext build --source-dir ./build/edge --filename 'edge-{version}.zip' --artifacts-dir ./build/edge --overwrite-dest",
"package:firefox": "npm run build:firefox && web-ext build --source-dir ./build/firefox --filename 'firefox-{version}.zip' --artifacts-dir ./build/firefox --overwrite-dest",
"start:chrome": "web-ext run --target chromium --source-dir ./build/chrome/",
"start:firefox": "web-ext run --source-dir ./build/firefox/ --firefox=deved",
"start": "BROWSER=${BROWSER:-chrome} npm run dev-start"
},
"author": "",
"license": "MIT",
"dependencies": {
"@feathersjs/client": "^4.5.15",
"bluebird": "^3.5.1",
"cheerio": "^1.0.0-rc.12",
"es6-promise-pool": "^2.5.0",
"fetch-http-client": "^1.0.1",
"jquery": "^3.2.1",
"jsonpath-plus": "^9.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"clean-webpack-plugin": "^4.0.0",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^11.0.0",
"dotenv": "^16.0.3",
"wait-on": "^7.2.0",
"web-ext": "^8.2.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"browserslist": [
"last 2 versions",
"> 1% and not dead"
]
}