mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-24 02:02:53 +02:00
22 lines
586 B
JSON
22 lines
586 B
JSON
{
|
|
"name": "mocha-test-webextension",
|
|
"version": "1.0.0",
|
|
"description": "Example how to run unit tests for WebExtension",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "mocha-phantomjs -p ./node_modules/phantomjs-prebuilt/bin/phantomjs -R nyan tests/background.html",
|
|
"web-ext": "web-ext run -s ./addon"
|
|
},
|
|
"author": "",
|
|
"license": "MPL-2.0",
|
|
"devDependencies": {
|
|
"chai": "^3.5.0",
|
|
"chrome-mock": "0.0.9",
|
|
"mocha": "^3.1.2",
|
|
"mocha-phantomjs": "^4.1.0",
|
|
"phantomjs-prebuilt": "^2.1.13",
|
|
"expect.js": "^0.3.1",
|
|
"web-ext": "^1.6.0"
|
|
}
|
|
}
|