This repository has been archived by the owner on Feb 28, 2018. It is now read-only.
/
package.json
39 lines (39 loc) · 1.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"name": "tab-split",
"description": "A tab-splitting extension for Firefox",
"version": "0.1.9",
"author": "Mozilla (https://mozilla.org/)",
"bugs": {
"url": "https://github.com/mozilla/tab-split/issues"
},
"dependencies": {},
"devDependencies": {
"eslint": "^4.16.0",
"eslint-plugin-mozilla": "^0.6.0",
"eslint-plugin-no-unsanitized": "^2.0.2",
"npm-run-all": "^4.1.2",
"stylelint": "^8.4.0",
"stylelint-config-standard": "^18.0.0",
"web-ext": "^2.4.0",
"webpack": "^3.11.0"
},
"homepage": "https://github.com/mozilla/tab-split/",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/tab-split.git"
},
"scripts": {
"start": "npm-run-all lint build run",
"package": "npm run build && cp web-ext-artifacts/`ls -t1 web-ext-artifacts | head -n 1` addon.xpi",
"build": "npm-run-all build:*",
"build:webpack": "webpack",
"build:webext": "mkdir -p ./Profile && web-ext build --source-dir=webext --overwrite-dest",
"watch": "npm-run-all lint build webpack:watch",
"webpack:watch": "webpack --watch",
"run": "mkdir -p ./Profile && echo 'Starting the tab split extension automatically from the command line will fail until bug 1434076 is fixed. In the meantime please use about:debugging to load both experiment/schema.json and webext/manifest.json' && echo 'Some day we can run this here: web-ext run --source-dir=webext -p ./Profile'",
"lint": "npm-run-all lint:*",
"lint:css": "stylelint 'experiment/**/*.css' || echo 'Ignoring css lint errors for now.'",
"lint:js": "eslint experiment webext || echo 'Ignoring js lint errors for now.'"
}
}