-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
24 lines (24 loc) · 1017 Bytes
/
package.json
File metadata and controls
24 lines (24 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "dompet.webview",
"version": "1.0.0",
"description": "A Webview SDK of Dompet App",
"author": "lin pengteng <china.linpengteng@gmail.com>",
"license": "Apache License 2.0",
"scripts": {
"clean:dist": "shx rm -rf dist",
"mkdir:flutter": "mkdir -p dist/flutter",
"mkdir:harmony": "mkdir -p dist/harmony",
"cache:flutter": "cp -r cache/* dist/flutter",
"cache:harmony": "cp -r cache/* dist/harmony",
"build:flutter": "terser src/flutter.js -o dist/flutter/flutter.min.js --compress --mangle",
"build:harmony": "terser src/harmony.js -o dist/harmony/harmony.min.js --compress --mangle",
"build:webview.flutter": "terser src/webview.js -o dist/flutter/webview.min.js --compress --mangle",
"build:webview.harmony": "terser src/webview.js -o dist/harmony/webview.min.js --compress --mangle",
"build": "npm-run-all -s clean:dist mkdir:* cache:* -p build:*"
},
"dependencies": {
"npm-run-all2": "^8.0.4",
"shx": "^0.4.0",
"terser": "^5.44.1"
}
}