-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 896 Bytes
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 896 Bytes
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
{
"name": "hello-ipfs",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "browserify ./src/index.js -o ./public/bundle.js",
"clean": "rimraf public/bundle.js",
"ipfs": "jsipfs daemon",
"serve": "http-server public -p 8090",
"start": "npm run ipfs & npm run serve",
"watch": "watchify ./src/index.js -o ./public/bundle.js",
"allowCors": "jsipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '[\"*\"]' && jsipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '[\"true\"]'"
},
"author": "",
"license": "ISC",
"dependencies": {
"@cryptid/cryptid-js": "^1.0.1",
"ipfs": "^0.53.2",
"ipfs-http-client": "^48.2.2",
"readline-sync": "^1.4.10"
},
"devDependencies": {
"browserify": "^17.0.0",
"http-server": "^0.12.3",
"rimraf": "^3.0.2",
"watchify": "^3.11.1"
}
}