-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathpackage.json
141 lines (141 loc) · 7.98 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
{
"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 modules/integration-node/build/main; touch modules/integration-browser/build/main/cli.js modules/integration-node/build/main/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-*",
"mocha": "mocha --require source-map-support/register --require ts-node/register --exclude 'modules/*-+(browser|backend)/test/*test.ts' modules/**/test/*test.ts",
"karma": "NODE_OPTIONS=--max-old-space-size=4096 karma start karma.conf.js",
"coverage-browser": "npm run karma && nyc report -t .karma_output --check-coverage --extension .ts",
"coverage-node": "nyc --require ts-node/register --instrument --extension .ts --all --check-coverage -n 'modules/**/src/*.ts' -x 'modules/**/test/*.ts' -x 'modules/*-+(browser|backend)/**/*.ts' npm run mocha",
"coverage": "run-s coverage-* && nyc merge .karma_output .nyc_output/browser.json && nyc report --extension .ts --check-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-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-publish-browser-decrypt": "./util/npx_verdaccio @aws-crypto/integration-browser decrypt -v $npm_package_config_localTestVectors --karma -c cpu",
"verdaccio-publish-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-publish-node-decrypt": "./util/npx_verdaccio @aws-crypto/integration-node decrypt -v $npm_package_config_localTestVectors -c cpu",
"verdaccio-publish-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": "[email protected]:awslabs/aws-encryption-sdk-javascript.git"
},
"author": "[email protected]",
"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.11.0",
"@aws-sdk/karma-credential-loader": "^3.11.0",
"@aws-sdk/util-base64-browser": "^3.10.0",
"@types/bn.js": "^4.11.0",
"@types/chai": "^4.2.12",
"@types/chai-as-promised": "^7.1.3",
"@types/from2": "^2.3.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.5",
"@types/sinon": "^7.5.2",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^7.8.1",
"eslint-config-prettier": "^8.3.0",
"from2": "^2.3.0",
"genversion": "^3.0.0",
"husky": "^6.0.0",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^6.3.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-jasmine": "^4.0.1",
"karma-mocha": "^2.0.1",
"karma-parallel": "^0.3.1",
"karma-webpack": "^4.0.2",
"lerna": "^4.0.0",
"lint-staged": "^10.2.11",
"mocha": "^8.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.19",
"ts-loader": "^8.0.6",
"ts-node": "^9.1.1",
"tslib": "^2.2.0",
"typescript": "^4.0.2",
"verdaccio": "^4.10.0",
"webpack": "^4.44.1",
"webpack-cli": "^4.6.0"
}
}