73 строки
2.2 KiB
JSON
73 строки
2.2 KiB
JSON
{
|
|
"name": "webextension-polyfill",
|
|
"version": "0.12.0",
|
|
"description": "A lightweight polyfill library for Promise-based WebExtension APIs in Chrome.",
|
|
"main": "dist/browser-polyfill.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mozilla/webextension-polyfill.git"
|
|
},
|
|
"author": "Mozilla",
|
|
"license": "MPL-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/mozilla/webextension-polyfill/issues"
|
|
},
|
|
"homepage": "https://github.com/mozilla/webextension-polyfill",
|
|
"devDependencies": {
|
|
"@babel/core": "7.25.2",
|
|
"@babel/eslint-parser": "7.25.1",
|
|
"@babel/preset-env": "7.25.4",
|
|
"@babel/register": "7.24.6",
|
|
"babel-preset-minify": "0.5.2",
|
|
"browserify": "17.0.0",
|
|
"chai": "5.1.1",
|
|
"chromedriver": "129.0.0",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "9.11.1",
|
|
"finalhandler": "1.3.1",
|
|
"geckodriver": "4.4.4",
|
|
"global-replaceify": "1.0.0",
|
|
"globals": "^15.9.0",
|
|
"grunt": "1.6.1",
|
|
"grunt-babel": "8.0.0",
|
|
"grunt-contrib-concat": "2.1.0",
|
|
"grunt-replace": "2.0.2",
|
|
"istanbul-lib-instrument": "6.0.3",
|
|
"jsdom": "20.0.0",
|
|
"mocha": "10.7.3",
|
|
"nyc": "17.1.0",
|
|
"selenium-webdriver": "4.27.0",
|
|
"serve-static": "1.16.2",
|
|
"shelljs": "0.8.5",
|
|
"sinon": "19.0.2",
|
|
"tape": "5.9.0",
|
|
"tape-async": "2.3.0",
|
|
"tmp": "0.2.3",
|
|
"webpack": "5.95.0",
|
|
"webpack-cli": "5.1.4"
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"lcov",
|
|
"text",
|
|
"html"
|
|
],
|
|
"instrument": false
|
|
},
|
|
"scripts": {
|
|
"build": "npm run lint && grunt",
|
|
"prepublish": "npm run build && npm run test",
|
|
"test": "mocha --require chai/register-assert.js",
|
|
"lint": "eslint *.js src/*.js scripts/**/*.js test/**/*.js",
|
|
"test-coverage": "cross-env COVERAGE=y nyc mocha --require chai/register-assert.js",
|
|
"test-minified": "cross-env TEST_MINIFIED_POLYFILL=1 mocha --require chai/register-assert.js",
|
|
"test-integration": "tape test/integration/test-*",
|
|
"test-integration:chrome": "cross-env TEST_BROWSER_TYPE=chrome npm run test-integration",
|
|
"test-integration:firefox": "cross-env TEST_BROWSER_TYPE=firefox npm run test-integration",
|
|
"test-module-bundlers-smoketests": "./scripts/run-module-bundlers-smoketests.js"
|
|
}
|
|
}
|