Skip to content

Commit ce4c35d

Browse files
authored
Setup for publish (#119)
And format to 2 tabs like every other package.json
1 parent fc09cda commit ce4c35d

File tree

1 file changed

+37
-38
lines changed

1 file changed

+37
-38
lines changed

modules/example-browser/package.json

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,39 @@
11
{
2-
"name": "@aws-crypto/example-browser",
3-
"private": true,
4-
"version": "0.0.1",
5-
"scripts": {
6-
"prepublishOnly": "npm run build",
7-
"build": "tsc -b tsconfig.json && tsc -b tsconfig.module.json",
8-
"test": "mocha --require ts-node/register tests/**/*tests.ts",
9-
"example-rsa": "webpack -d --config webpack_configs/rsa.webpack.config.js",
10-
"example-aes": "webpack -d --config webpack_configs/aes.webpack.config.js",
11-
"example-kms": "webpack -d --config webpack_configs/kms.webpack.config.js",
12-
"example-multi-keyring": "webpack -d --config webpack_configs/multi_keyring.webpack.config.js"
13-
},
14-
"author": {
15-
"name": "AWS Crypto Tools Team",
16-
"email": "[email protected]",
17-
"url": "https://aws.amazon.com/javascript/"
18-
},
19-
"license": "Apache-2.0",
20-
"dependencies": {
21-
"@aws-crypto/client-browser": "^0.0.1",
22-
"@aws-sdk/util-base64-browser": "0.1.0-preview.1",
23-
"tslib": "^1.9.3"
24-
},
25-
"devDependencies": {
26-
"@types/chai": "^4.1.4",
27-
"@types/mocha": "^5.2.5",
28-
"chai": "^4.1.2",
29-
"mocha": "^5.2.0",
30-
"ts-loader": "^5.3.3",
31-
"ts-node": "^7.0.1",
32-
"typescript": "^3.5.0",
33-
"webpack": "^4.30.0",
34-
"@aws-sdk/credential-provider-node": "^0.1.0-preview.4",
35-
"webpack-cli": "^3.3.0"
36-
},
37-
"main": "./build/main/index.js",
38-
"module": "./build/module/index.js",
39-
"types": "./build/main/index.d.ts"
2+
"name": "@aws-crypto/example-browser",
3+
"version": "0.0.1",
4+
"scripts": {
5+
"prepublishOnly": "npm run build",
6+
"build": "tsc -b tsconfig.json && tsc -b tsconfig.module.json",
7+
"test": "mocha --require ts-node/register tests/**/*tests.ts",
8+
"example-rsa": "webpack -d --config webpack_configs/rsa.webpack.config.js",
9+
"example-aes": "webpack -d --config webpack_configs/aes.webpack.config.js",
10+
"example-kms": "webpack -d --config webpack_configs/kms.webpack.config.js",
11+
"example-multi-keyring": "webpack -d --config webpack_configs/multi_keyring.webpack.config.js"
12+
},
13+
"author": {
14+
"name": "AWS Crypto Tools Team",
15+
"email": "[email protected]",
16+
"url": "https://aws.amazon.com/javascript/"
17+
},
18+
"license": "Apache-2.0",
19+
"dependencies": {
20+
"@aws-crypto/client-browser": "^0.0.1",
21+
"@aws-sdk/util-base64-browser": "0.1.0-preview.1",
22+
"tslib": "^1.9.3"
23+
},
24+
"devDependencies": {
25+
"@types/chai": "^4.1.4",
26+
"@types/mocha": "^5.2.5",
27+
"chai": "^4.1.2",
28+
"mocha": "^5.2.0",
29+
"ts-loader": "^5.3.3",
30+
"ts-node": "^7.0.1",
31+
"typescript": "^3.5.0",
32+
"webpack": "^4.30.0",
33+
"@aws-sdk/credential-provider-node": "^0.1.0-preview.4",
34+
"webpack-cli": "^3.3.0"
35+
},
36+
"main": "./build/main/index.js",
37+
"module": "./build/module/index.js",
38+
"types": "./build/main/index.d.ts"
4039
}

0 commit comments

Comments
 (0)