forked from brave/sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.16 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
{
"name": "brave-sync",
"version": "1.4.2",
"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 && cp -r client/constants bundles/",
"build-proto": "pbjs --target=static-module lib/api.proto > lib/api.proto.js",
"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",
"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",
"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": "nsp check",
"client": "npm run build && python -m SimpleHTTPServer",
"coverage": "NODE_CONFIG_DIR=server/config/ istanbul cover tape test/*.js test/server/**/*.js --report lcovonly -- -R spec",
"dist": "npm run build && cp bundles/bundle.js ../browser-laptop/app/extensions/brave/content/scripts/sync.js && cp bundles/constants/*.js ../browser-laptop/js/constants/sync/",
"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://git@github.com/brave/sync.git"
},
"keywords": [
"brave",
"browser",
"sync"
],
"author": "Brave Developers <support@brave.com>",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/brave/sync/issues"
},
"homepage": "https://github.com/brave/sync#readme",
"devDependencies": {
"browserify": "^16.1.1",
"flow-bin": "^0.35.0",
"istanbul": "^0.4.5",
"nodemon": "^1.11.0",
"nsp": "^3.2.1",
"pryjs": "^1.0.3",
"standard": "^11.0.1",
"tape": "^4.6.3",
"tape-run": "^4.0.0",
"timekeeper": "^2.0.0",
"uglify-js-harmony": "^2.7.5"
},
"dependencies": {
"@protobufjs/utf8": "^1.1.0",
"aws-sdk": "^2.7.7",
"brave-crypto": "0.0.1",
"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.0",
"protobufjs": "^6.8.0",
"raven": "^0.12.3",
"request": "^2.79.0",
"tweetnacl": "^1.0.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"
]
}
}