forked from aws/aws-encryption-sdk-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
137 lines (137 loc) · 7.51 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
{
"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",
"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-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": "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 lint && 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": "./util/test_conditions"
},
"config": {
"localTestVectors": "aws-encryption-sdk-test-vectors/vectors/awses-decrypt/python-1.3.8.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/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": "^1.0.0-gamma.4",
"@aws-sdk/karma-credential-loader": "^1.0.0-gamma.3",
"@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": "^7.0.2",
"@types/node": "^13.13.15",
"@types/sinon": "^7.5.2",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"from2": "^2.3.0",
"husky": "^4.2.5",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^5.1.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^3.3.1",
"karma-mocha": "^2.0.1",
"karma-parallel": "^0.3.1",
"karma-webpack": "^4.0.2",
"lerna": "^3.22.1",
"lint-staged": "^10.2.11",
"mocha": "^7.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.0.4",
"rimraf": "^3.0.2",
"sinon": "^9.0.2",
"source-map-support": "^0.5.19",
"ts-loader": "^7.0.5",
"ts-node": "^8.10.2",
"tslib": "^1.13.0",
"typescript": "^3.9.7",
"verdaccio": "^4.8.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
}
}