-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
142 lines (142 loc) · 8.02 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "aws-encryption-sdk-javascript",
"private": true,
"version": "0.0.1",
"description": "AWS Encryption SDK for JavaScript",
"keywords": [
"cryptography",
"crypto",
"encryption",
"envelope encryption",
"client side encryption",
"CSE",
"aws"
],
"main": "index.js",
"scripts": {
"preinstall": "mkdir -p modules/integration-browser/build/main/src modules/integration-node/build/main/src; touch modules/integration-browser/build/main/src/cli.js modules/integration-node/build/main/src/cli.js",
"postinstall": "./util/bootstrap_tsconfig && npm run build-version.ts",
"clean": "npm run clear-build-cache && lerna clean",
"clear-build-cache": "rimraf ./modules/*/build/*",
"lint": "run-s lint-*",
"lint-eslint": "npx eslint modules/**/src/*.ts modules/**/test/**/*.ts",
"lint-prettier": "prettier -c modules/**/src/*.ts modules/**/test/**/*.ts",
"build-version.ts": "npx lerna run generate-version.ts",
"build-node": "tsc -b tsconfig.json",
"build-browser": "tsc -b tsconfig.module.json",
"build": "run-s build-*",
"karma": "NODE_OPTIONS=--max-old-space-size=4096 karma start karma.conf.js",
"mocha": "mocha --exclude 'modules/*-+(browser|backend)/build/main/test/*.js' modules/**/build/main/test/*test.js",
"coverage-browser": "npm run karma && nyc report -t .karma_output --check-coverage",
"coverage-node": "nyc --instrument --all --check-coverage -n 'modules/**/build/main/src/*.js' -x 'modules/**/build/main/test/*.js' -x 'modules/*-+(browser|backend)/**/*.js' npm run mocha",
"coverage-merge": "nyc merge .karma_output .nyc_output/browser.json",
"coverage-check": "nyc report --check-coverage",
"coverage": "run-s coverage-*",
"report-coverage": "nyc report --extension .ts --check-coverage -r html",
"test": "npm run build && npm run coverage",
"integration-browser-decrypt": "npm run build; integration-browser decrypt -v $npm_package_config_localTestVectors --karma -c cpu",
"integration-browser-encrypt": "npm run build; integration-browser encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle --karma -c cpu",
"browser-integration": "run-s integration-browser-*",
"integration-node-decrypt": "npm run build; integration-node decrypt -v $npm_package_config_localTestVectors -c cpu",
"integration-node-decrypt-legacy": "node --security-revert=CVE-2023-46809 ./modules/integration-node/build/main/src/cli.js decrypt -v $npm_package_config_localTestVectors -c cpu --CVE-2023-46809",
"integration-node-encrypt": "npm run build; integration-node encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle -c cpu",
"node-integration": "run-s integration-node-*",
"integration": "run-s integration-*",
"verdaccio": "run-s verdaccio-*",
"verdaccio-publish": "./util/local_verdaccio_publish",
"verdaccio-browser-decrypt": "./util/npx_verdaccio @aws-crypto/integration-browser decrypt -v $PWD/$npm_package_config_localTestVectors --karma -c cpu",
"verdaccio-browser-encrypt": "./util/npx_verdaccio @aws-crypto/integration-browser encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle --karma -c cpu",
"verdaccio-node-decrypt": "./util/npx_verdaccio @aws-crypto/integration-node decrypt -v $PWD/$npm_package_config_localTestVectors -c cpu",
"verdaccio-node-encrypt": "./util/npx_verdaccio @aws-crypto/integration-node encrypt -m $npm_package_config_encryptManifestList -k $npm_package_config_encryptKeyManifest -o $npm_package_config_decryptOracle -c cpu",
"test_conditions": "./aws-encryption-sdk-specification/util/test_conditions -s 'modules/**/src/*.ts' -t 'modules/**/test/*.ts' -s 'compliance_exceptions/*.ts'",
"duvet-report": "aws-encryption-sdk-specification/util/report.js modules/**/src/**/*.ts modules/**/test/**/*.ts compliance_exceptions/*.ts"
},
"config": {
"localTestVectors": "aws-encryption-sdk-test-vectors/vectors/awses-decrypt/python-2.3.0.zip",
"encryptManifestList": "https://raw.githubusercontent.com/awslabs/aws-crypto-tools-test-vector-framework/master/features/CANONICAL-GENERATED-MANIFESTS/0003-awses-message-encryption.v1.json",
"encryptKeyManifest": "https://raw.githubusercontent.com/awslabs/aws-crypto-tools-test-vector-framework/master/features/CANONICAL-GENERATED-MANIFESTS/0002-keys.v1.json",
"decryptOracle": "https://xi1mwx3ttb.execute-api.us-west-2.amazonaws.com/api/v0/decrypt"
},
"repository": {
"type": "git",
"url": "git@github.com:awslabs/aws-encryption-sdk-javascript.git"
},
"author": "aws-crypto-tools-team@amazon.com",
"license": "Apache-2.0",
"dependencies": {
"@aws-crypto/cache-material": "file:modules/cache-material",
"@aws-crypto/caching-materials-manager-browser": "file:modules/caching-materials-manager-browser",
"@aws-crypto/caching-materials-manager-node": "file:modules/caching-materials-manager-node",
"@aws-crypto/client-browser": "file:modules/client-browser",
"@aws-crypto/client-node": "file:modules/client-node",
"@aws-crypto/decrypt-browser": "file:modules/decrypt-browser",
"@aws-crypto/decrypt-node": "file:modules/decrypt-node",
"@aws-crypto/encrypt-browser": "file:modules/encrypt-browser",
"@aws-crypto/encrypt-node": "file:modules/encrypt-node",
"@aws-crypto/example-browser": "file:modules/example-browser",
"@aws-crypto/example-node": "file:modules/example-node",
"@aws-crypto/hkdf-node": "file:modules/hkdf-node",
"@aws-crypto/integration-browser": "file:modules/integration-browser",
"@aws-crypto/integration-node": "file:modules/integration-node",
"@aws-crypto/integration-vectors": "file:modules/integration-vectors",
"@aws-crypto/kms-keyring": "file:modules/kms-keyring",
"@aws-crypto/kms-keyring-browser": "file:modules/kms-keyring-browser",
"@aws-crypto/kms-keyring-node": "file:modules/kms-keyring-node",
"@aws-crypto/material-management": "file:modules/material-management",
"@aws-crypto/material-management-browser": "file:modules/material-management-browser",
"@aws-crypto/material-management-node": "file:modules/material-management-node",
"@aws-crypto/raw-aes-keyring-browser": "file:modules/raw-aes-keyring-browser",
"@aws-crypto/raw-aes-keyring-node": "file:modules/raw-aes-keyring-node",
"@aws-crypto/raw-keyring": "file:modules/raw-keyring",
"@aws-crypto/raw-rsa-keyring-browser": "file:modules/raw-rsa-keyring-browser",
"@aws-crypto/raw-rsa-keyring-node": "file:modules/raw-rsa-keyring-node",
"@aws-crypto/serialize": "file:modules/serialize",
"@aws-crypto/web-crypto-backend": "file:modules/web-crypto-backend"
},
"workspaces": [
"modules/*"
],
"devDependencies": {
"@aws-sdk/credential-provider-node": "^3.362.0",
"@aws-sdk/util-base64": "^3.374.0",
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.2.12",
"@types/chai-as-promised": "^7.1.3",
"@types/from2": "^2.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"aws-sdk": "^2.1409.0",
"buffer": "^6.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.8.1",
"eslint-config-prettier": "^9.0.0",
"from2": "^2.3.0",
"genversion": "^3.0.0",
"husky": "^7.0.2",
"karma": "^6.3.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-mocha": "^2.0.1",
"karma-parallel": "^0.3.1",
"karma-webpack": "^5.0.0",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9",
"mocha": "^9.0.1",
"npm-run-all": "^4.1.5",
"null-loader": "^4.0.1",
"nyc": "^15.1.0",
"prettier": "^2.0.4",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.19",
"tslib": "^2.3.0",
"typescript": "^4.4.3",
"verdaccio": "^5.13.1",
"webpack": "^5.94.0",
"webpack-cli": "^4.7.2"
}
}