-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.61 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.61 KB
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
{
"name": "@erebos/swarm-browser",
"version": "0.13.0",
"description": "Swarm client for browser",
"repository": "git@github.com:MainframeHQ/erebos.git",
"main": "cjs/index.js",
"module": "esm/index.js",
"browser": "dist/erebos.swarm.production.js",
"types": "types/index.d.ts",
"author": "Mainframe",
"license": "MIT",
"files": [
"cjs/*",
"dist/*",
"esm/*",
"types/*"
],
"scripts": {
"clean": "del cjs dist esm types",
"test:types": "tsc --noEmit -p tsconfig.build.json",
"build:cjs": "BABEL_ENV='browser-cjs' babel src --out-dir cjs --extensions \".ts\"",
"build:esm": "BABEL_ENV='browser-esm' babel src --out-dir esm --extensions \".ts\"",
"build:dist:dev": "BABEL_ENV='browser-esm' NODE_ENV=development webpack",
"build:dist:prod": "BABEL_ENV='browser-esm' NODE_ENV=production webpack",
"build:dist": "yarn build:dist:dev && yarn build:dist:prod",
"build:js": "yarn build:cjs && yarn build:esm && yarn build:dist",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
"build": "yarn test:types && yarn clean && yarn build:js && yarn build:types",
"prepublishOnly": "yarn build"
},
"dependencies": {
"@babel/runtime": "^7.8.3",
"@erebos/bzz": "^0.13.0",
"@erebos/bzz-browser": "^0.13.0",
"@erebos/client-base": "^0.11.0",
"@erebos/pss": "^0.13.0",
"@erebos/rpc-browser": "^0.11.0",
"@erebos/rpc-stream": "^0.11.0",
"@erebos/rpc-ws-browser": "^0.11.0"
},
"devDependencies": {
"babel-loader": "^8.0.5",
"terser-webpack-plugin": "^2.3.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.8"
}
}