2017-05-17 12:47:09 +03:00
|
|
|
{
|
|
|
|
"name": "lightbeam-we",
|
2017-10-11 03:41:54 +03:00
|
|
|
"version": "2.0.5",
|
2017-09-02 01:34:03 +03:00
|
|
|
"description": "Firefox Lightbeam web extension",
|
2017-05-17 12:47:09 +03:00
|
|
|
"main": "background.js",
|
|
|
|
"scripts": {
|
2017-09-29 03:39:56 +03:00
|
|
|
"build": "npm install && npm run updatesubmodule && npm run createlib && cd src && web-ext build --overwrite-dest",
|
2017-08-23 15:23:36 +03:00
|
|
|
"updatesubmodule": "git submodule init && git submodule update",
|
2017-09-29 03:39:56 +03:00
|
|
|
"createlib": "cd src && rm -rf ext-libs/ && mkdir ext-libs && npm run movelibcontents",
|
2017-10-09 13:48:41 +03:00
|
|
|
"movelibcontents": "cp node_modules/dexie/dist/dexie.js src/ext-libs && cp node_modules/d3/build/d3.min.js src/ext-libs && cp node_modules/dialog-polyfill/dialog-polyfill.js src/ext-libs && node node_modules/json/lib/json.js -f shavar-prod-lists/disconnect-entitylist.json > src/ext-libs/disconnect-entitylist.json",
|
2017-05-29 18:03:31 +03:00
|
|
|
"lint": "npm-run-all lint:*",
|
|
|
|
"lint:eslint": "eslint --ext=.js,.json .",
|
|
|
|
"lint:webext": "web-ext -s js lint",
|
2017-06-07 15:55:20 +03:00
|
|
|
"precommit": "npm run lint:eslint",
|
|
|
|
"prepush": "npm run test",
|
2017-05-29 18:03:31 +03:00
|
|
|
"test": "npm-run-all test:*",
|
|
|
|
"test:lint": "npm run lint:eslint",
|
|
|
|
"test:karma": "karma start --browsers Firefox --single-run"
|
2017-05-17 12:47:09 +03:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-08-29 18:36:36 +03:00
|
|
|
"url": "https://github.com/mozilla/lightbeam-we.git"
|
2017-05-17 12:47:09 +03:00
|
|
|
},
|
|
|
|
"author": "Mozilla",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"bugs": {
|
2017-08-29 18:36:36 +03:00
|
|
|
"url": "https://github.com/mozilla/lightbeam-we/issues"
|
2017-05-17 12:47:09 +03:00
|
|
|
},
|
2017-08-29 18:36:36 +03:00
|
|
|
"homepage": "https://github.com/mozilla/lightbeam-we/blob/master/README.md",
|
2017-06-18 04:51:02 +03:00
|
|
|
"dependencies": {
|
2017-10-11 03:41:54 +03:00
|
|
|
"d3": "^4.9.1",
|
|
|
|
"dexie": "^2.0.1",
|
2017-10-09 13:48:41 +03:00
|
|
|
"dialog-polyfill": "^0.4.9"
|
2017-06-18 04:51:02 +03:00
|
|
|
},
|
2017-05-17 12:47:09 +03:00
|
|
|
"devDependencies": {
|
2017-05-29 18:03:31 +03:00
|
|
|
"chai": "^3.5.0",
|
2017-05-26 00:14:35 +03:00
|
|
|
"eslint": "^3.19.0",
|
2017-05-29 18:03:31 +03:00
|
|
|
"eslint-plugin-json": "^1.2.0",
|
|
|
|
"eslint-plugin-mocha": "^4.9.0",
|
|
|
|
"eslint-plugin-no-unsanitized": "^2.0.0",
|
2017-06-07 15:55:20 +03:00
|
|
|
"husky": "^0.13.4",
|
2017-09-30 19:08:25 +03:00
|
|
|
"json": "^9.0.6",
|
2017-05-29 18:03:31 +03:00
|
|
|
"karma": "^1.7.0",
|
|
|
|
"karma-chai": "^0.1.0",
|
|
|
|
"karma-firefox-launcher": "^1.0.1",
|
|
|
|
"karma-mocha": "^1.3.0",
|
|
|
|
"mocha": "^3.4.1",
|
|
|
|
"npm-run-all": "^4.0.2",
|
|
|
|
"sinon": "^2.3.1",
|
|
|
|
"sinon-chrome": "^2.2.1"
|
|
|
|
},
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"webextension",
|
|
|
|
"mozilla",
|
|
|
|
"web",
|
|
|
|
"security"
|
|
|
|
]
|
2017-05-17 12:47:09 +03:00
|
|
|
}
|