-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
45 lines (45 loc) · 1.85 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
{
"name": "flowcrypt-mobile-core",
"version": "0.0.1",
"description": "TypeScript core for FlowCrypt iOS internal use",
"dependencies": {
"@openpgp/web-stream-tools": "0.0.11-patch-0",
"encoding-japanese": "^2.0.0",
"openpgp": "5.11.1",
"sanitize-html": "^2.8.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {
"@types/chai": "4.3.11",
"@types/encoding-japanese": "^2.0.4",
"@types/node": "^20.10.6",
"@types/sanitize-html": "^2.9.5",
"ava": "5.3.1",
"buffer": "^6.0.3",
"chai": "4.3.10",
"eslint-plugin-local-rules": "^2.0.0",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"webpack-cli": "5.1.4",
"webpack-node-externals": "3.0.0"
},
"scripts": {
"build": "./tooling/build.sh",
"postbuild": "npm run deploy",
"deploy": "cp build/final/flowcrypt-ios-prod.js ../FlowCrypt/Resources/generated/flowcrypt-ios-prod.js.txt",
"pretest": "npm run-script build",
"test": "npx ava build/ts/test.js --verbose",
"eslint": "npx eslint --ext ts source",
"pregenCompatAssets": "npm run-script build",
"genCompatAssets": "./node_modules/.bin/ava build/ts/gen-compat-assets.js --verbose",
"preupdateCore": "rm -rf source/core source/lib",
"updateCore": "npm run-script _updateCoreLib && npm run-script _updateCoreSrc",
"_updateCoreSrc": "cp -r ../flowcrypt-browser/extension/js/common/core source/core",
"_updateCoreLib": "mkdir source/lib && cd source/lib && LIBD='../../../flowcrypt-browser/extension/lib' && cp -r $LIBD/emailjs . && cp $LIBD/openpgp.js . && cp $LIBD/iso-*.js . && cp $LIBD/zxcvbn.js .",
"donateCore": "rm -rf ../flowcrypt-browser/extension/js/common/core && cp -r source/core ../flowcrypt-browser/extension/js/common/core"
},
"author": "FlowCrypt a. s.",
"license": "SEE LICENSE IN <LICENSE>",
"private": true,
"homepage": "https://flowcrypt.com"
}