1 | {
|
2 | "name": "webextension-polyfill",
|
3 | "version": "0.10.0",
|
4 | "description": "A lightweight polyfill library for Promise-based WebExtension APIs in Chrome.",
|
5 | "main": "dist/browser-polyfill.js",
|
6 | "files": [
|
7 | "dist"
|
8 | ],
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "git+https://github.com/mozilla/webextension-polyfill.git"
|
12 | },
|
13 | "author": "Mozilla",
|
14 | "license": "MPL-2.0",
|
15 | "bugs": {
|
16 | "url": "https://github.com/mozilla/webextension-polyfill/issues"
|
17 | },
|
18 | "homepage": "https://github.com/mozilla/webextension-polyfill",
|
19 | "devDependencies": {
|
20 | "@babel/core": "7.18.10",
|
21 | "@babel/preset-env": "7.18.10",
|
22 | "@babel/register": "7.18.9",
|
23 | "@babel/eslint-parser": "7.18.9",
|
24 | "babel-preset-minify": "0.5.2",
|
25 | "browserify": "17.0.0",
|
26 | "chai": "4.3.6",
|
27 | "chromedriver": "104.0.0",
|
28 | "cross-env": "7.0.3",
|
29 | "eslint": "8.21.0",
|
30 | "finalhandler": "1.2.0",
|
31 | "geckodriver": "3.0.2",
|
32 | "global-replaceify": "1.0.0",
|
33 | "grunt": "1.5.3",
|
34 | "grunt-babel": "8.0.0",
|
35 | "grunt-contrib-concat": "2.1.0",
|
36 | "grunt-replace": "2.0.2",
|
37 | "istanbul-lib-instrument": "5.2.0",
|
38 | "jsdom": "20.0.0",
|
39 | "mocha": "10.0.0",
|
40 | "nyc": "15.1.0",
|
41 | "selenium-webdriver": "4.4.0",
|
42 | "serve-static": "1.15.0",
|
43 | "shelljs": "0.8.5",
|
44 | "sinon": "14.0.0",
|
45 | "tape": "5.5.3",
|
46 | "tape-async": "2.3.0",
|
47 | "tmp": "0.2.1"
|
48 | },
|
49 | "nyc": {
|
50 | "reporter": [
|
51 | "lcov",
|
52 | "text",
|
53 | "html"
|
54 | ],
|
55 | "instrument": false
|
56 | },
|
57 | "scripts": {
|
58 | "build": "npm run lint && grunt",
|
59 | "prepublish": "npm run build && npm run test",
|
60 | "test": "mocha",
|
61 | "lint": "eslint *.js src/*.js scripts/**/*.js test/**/*.js",
|
62 | "test-coverage": "cross-env COVERAGE=y nyc mocha",
|
63 | "test-minified": "cross-env TEST_MINIFIED_POLYFILL=1 mocha",
|
64 | "test-integration": "tape test/integration/test-*",
|
65 | "test-integration:chrome": "cross-env TEST_BROWSER_TYPE=chrome npm run test-integration",
|
66 | "test-integration:firefox": "cross-env TEST_BROWSER_TYPE=firefox npm run test-integration"
|
67 | }
|
68 | }
|