UNPKG

2.03 kBJSONView Raw
1{
2 "name": "webextension-polyfill",
3 "version": "0.9.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.14.0",
21 "@babel/preset-env": "7.14.1",
22 "@babel/register": "7.13.16",
23 "babel-eslint": "10.1.0",
24 "babel-preset-minify": "0.5.1",
25 "browserify": "17.0.0",
26 "chai": "4.3.4",
27 "chromedriver": "99.0.0",
28 "cross-env": "7.0.3",
29 "eslint": "7.25.0",
30 "finalhandler": "1.1.2",
31 "geckodriver": "3.0.1",
32 "global-replaceify": "1.0.0",
33 "grunt": "1.4.0",
34 "grunt-babel": "8.0.0",
35 "grunt-contrib-concat": "1.0.1",
36 "grunt-replace": "2.0.2",
37 "gruntify-eslint": "5.0.0",
38 "istanbul-lib-instrument": "5.1.0",
39 "jsdom": "9.12.0",
40 "mocha": "9.2.2",
41 "nyc": "15.1.0",
42 "selenium-webdriver": "4.0.0-alpha.8",
43 "serve-static": "1.14.1",
44 "shelljs": "0.8.5",
45 "sinon": "10.0.0",
46 "tap-nirvana": "1.1.0",
47 "tape": "5.2.2",
48 "tape-async": "2.3.0",
49 "tmp": "0.2.1"
50 },
51 "nyc": {
52 "reporter": [
53 "lcov",
54 "text",
55 "html"
56 ],
57 "instrument": false
58 },
59 "scripts": {
60 "build": "grunt",
61 "prepublish": "npm run build && npm run test",
62 "test": "mocha",
63 "test-coverage": "cross-env COVERAGE=y nyc mocha",
64 "test-minified": "cross-env TEST_MINIFIED_POLYFILL=1 mocha",
65 "test-integration": "tape test/integration/test-*",
66 "test-integration:chrome": "cross-env TEST_BROWSER_TYPE=chrome npm run test-integration | tap-nirvana",
67 "test-integration:firefox": "cross-env TEST_BROWSER_TYPE=firefox npm run test-integration | tap-nirvana"
68 }
69}