-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
50 lines (50 loc) · 2.37 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
{
"private": true,
"scripts": {
"build:bridge:macos": "node scripts/build_darwin_dylib",
"build:bridge:macos:release": "MERCURY_BUILD=Release node scripts/build_darwin_dylib",
"build:bridge:macos:profile": "ENABLE_PROFILE=true pnpm run build:bridge:macos:release",
"build:bridge:android": "node scripts/build_android_so",
"build:bridge:android:release": "cross-env MERCURY_BUILD=Release node scripts/build_android_so",
"build:bridge:linux": "node scripts/build_linux",
"build:bridge:linux:release": "MERCURY_BUILD=Release node scripts/build_linux",
"build:bridge:linux:profile": "ENABLE_PROFILE=true node scripts/build_linux",
"build:bridge:android:profile": "cross-env ENABLE_PROFILE=true pnpm run build:bridge:android:release",
"build:bridge:windows": "cross-env node scripts/build_windows_dll.js",
"build:bridge:windows:release": "cross-env MERCURY_BUILD=Release node scripts/build_windows_dll.js",
"build:bridge:ios": "node scripts/build_ios_framework",
"build:bridge:ios:release": "MERCURY_BUILD=Release node scripts/build_ios_framework",
"build:bridge:ios:profile": "ENABLE_PROFILE=true pnpm run build:bridge:ios:release",
"build:bridge:all": "node scripts/prepare_mercury_release_binary",
"build:bridge:all:release": "MERCURY_BUILD=Release node scripts/prepare_mercury_release_binary",
"build_bridge:all:profile": "ENABLE_PROFILE=true pnpm run build:bridge:all:release",
"pretest": "pnpm install && ENABLE_ASAN=true node scripts/build_darwin_dylib",
"posttest": "pnpm run lint",
"benchmark": "pnpm install && ENABLE_PROFILE=true MERCURY_BUILD=Release node scripts/run_benchmark.js",
"start": "cd mercury/example && flutter run",
"lint": "cd mercury && flutter pub get && flutter analyze",
"format": "cd mercury && flutter format . --line-length=120",
"ci": "pnpm install && pnpm run lint",
"test:unit:report": "lcov-summary mercury/coverage/lcov.info"
},
"devDependencies": {
"ali-oss": "^6.13.2",
"archiver": "^5.3.0",
"chalk": "^3.0.0",
"commander": "^5.1.0",
"cross-env": "^7.0.3",
"del": "^5.1.0",
"gulp": "^5.0.0",
"http-server": "^14.1.0",
"lcov-summary": "^1.0.1",
"minimist": "^1.2.4",
"mkdirp": "^0.5.1",
"rimraf": "^3.0.2",
"uuid": "^8.3.2",
"ws": "^7.3.0"
},
"dependencies": {
"cross-spawn": "^7.0.3",
"prepend-file": "^2.0.1"
}
}