-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
50 lines (50 loc) · 2.6 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
40
41
42
43
44
45
46
47
48
49
50
{
"version": "0.0.0",
"name": "libdweb",
"description": "Experimental WebExtensions API for enabling DWeb protocols",
"keywords": [
"libdweb",
"typed",
"flow"
],
"author": "Mozilla",
"repository": "https://github.com/mozilla/libdweb",
"license": "MIT",
"devDependencies": {
"colors": "^1.3.1",
"cross-env": "^5.2.0",
"flow-bin": "^0.78.0",
"husky": "^0.14.0",
"lint-staged": "^7.1.3",
"prettier": "^1.14.0",
"tape-ext": "0.5.1",
"web-ext": "2.8.0"
},
"scripts": {
"test": "npm run test:flow && npm run test:tape",
"test:tape": "tape-ext \"src/toolkit/components/extensions/test/*/manifest.json\"",
"test:flow": "flow check",
"test:tcp": "tape-ext src/toolkit/components/extensions/test/tcp",
"test:api": "tape-ext src/toolkit/components/extensions/test/api",
"test:fs": "tape-ext src/toolkit/components/extensions/test/fs",
"test:protocol": "tape-ext src/toolkit/components/extensions/test/protocol",
"test:dns-sd": "tape-ext src/toolkit/components/extensions/test/dns-sd",
"test:udp": "tape-ext src/toolkit/components/extensions/test/udp",
"precommit": "lint-staged",
"demo": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging",
"demo:discovery": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/discovery",
"demo:dnotify": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/dnotify",
"demo:protocol": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/protocol",
"demo:fs": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/fs",
"demo:dgram": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/dgram",
"demo:tcp": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/tcp",
"demo:p2p-chat": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/p2p-chat",
"demo:fancy-chat": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/fancy-chat"
},
"lint-staged": {
"*.js": [
"prettier --no-semi --write",
"git add"
]
}
}