This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
92 lines (92 loc) · 3.54 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "brave-sync",
"version": "1.4.3",
"description": "Brave sync server and client",
"main": "server/index.js",
"scripts": {
"lint": "standard",
"lint-fix": "standard --fix",
"flow": "flow; test $? -eq 0 -o $? -eq 2",
"build": "npm run build-proto && browserify client/sync.js | uglifyjs > bundles/bundle.js && cpr client/constants bundles/constants -o",
"build-proto": "pbjs --target=static-module lib/api.proto > lib/api.proto.js",
"prebrowsertest": "optional-dev-dependency",
"browsertest": "npm run build-proto; npm run start-test; browserify test/client/*.js test/*.js | uglifyjs | tape-run; exitCode=$?; npm run stop-test; exit $exitCode",
"prebrowsertest-chrome": "optional-dev-dependency",
"browsertest-chrome": "npm run build-proto; npm run start-test; browserify test/client/*.js | tape-run --browser chrome; exitCode=$?; npm run stop-test; exit $exitCode",
"prebrowsertest-safari": "optional-dev-dependency",
"browsertest-safari": "npm run build-proto; npm run start-test; browserify test/client/*.js | tape-run --browser safari; exitCode=$?; npm run stop-test; exit $exitCode",
"check": "npm audit",
"client": "npm run build && python -m SimpleHTTPServer",
"precoverage": "optional-dev-dependency",
"coverage": "NODE_CONFIG_DIR=server/config/ istanbul cover tape test/*.js test/server/**/*.js --report lcovonly -- -R spec",
"dist": "npm run build && cpr bundles/bundle.js ../browser-laptop/app/extensions/brave/content/scripts/sync.js -o && cpr bundles/constants/ ../browser-laptop/js/constants/sync/ -f '\\w+\\.js' -o",
"start": "NODE_CONFIG_DIR=server/config/ node server/index.js",
"start-dev": "NODE_CONFIG_DIR=server/config/ nodemon server/index.js",
"start-test": "NODE_CONFIG_DIR=server/config/ NODE_ENV=test nohup node server/index.js > /dev/null 2>&1 & echo $! > start-test.pid",
"stop-test": "kill $(cat start-test.pid)",
"tape": "NODE_CONFIG_DIR=server/config/ tape",
"test": "NODE_CONFIG_DIR=server/config/ tape test/*.js test/server/**/*.js"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/brave/sync.git"
},
"keywords": [
"brave",
"browser",
"sync"
],
"author": "Brave Developers <[email protected]>",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/brave/sync/issues"
},
"homepage": "https://github.com/brave/sync#readme",
"devDependencies": {
"browserify": "^16.1.1",
"cpr": "^3.0.1",
"flow-bin": "^0.35.0",
"nodemon": "^1.18.6",
"optional-dev-dependency": "github:brave/optional-dev-dependency",
"standard": "^14.3.1",
"tape": "^4.6.3",
"timekeeper": "^2.0.0",
"uglify-es": "^3.3.9"
},
"optionalDevDependencies": {
"istanbul": "^0.4.5",
"tape-run": "^6.0.0"
},
"dependencies": {
"@protobufjs/utf8": "^1.1.0",
"aws-sdk": "^2.331.0",
"brave-crypto": "^0.2.0",
"config": "^1.24.0",
"cors": "^2.8.1",
"crc": "^3.4.4",
"deep-equal": "^1.0.1",
"express": "^4.14.0",
"lodash.merge": "^4.6.2",
"lru-cache": "^5.1.1",
"protobufjs": "^6.8.0",
"raven": "^0.12.3",
"redis": "^2.8.0",
"request": "^2.79.0",
"tweetnacl": "^1.0.0",
"useragent": "^2.3.0",
"uuid": "^3.0.1",
"winston": "^2.3.0"
},
"standard": {
"ignore": [
"test/crypto.js",
"test/client/fixtures/*.js",
"test/client/requestUtil.js",
"test/server/lib/user-aws-s3-post-authenticator.js",
"test/server/users.js",
"bundles/*.js",
"client/polyfill/*.js",
"lib/api.proto.js"
]
}
}