-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
54 lines (54 loc) · 2.04 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
{
"name": "d-chat",
"homepage": "./",
"version": "0.1.0",
"private": true,
"engines": {
"npm": "6.7.0",
"node": "11.10.0"
},
"dependencies": {
"bootstrap": "^4.3.1",
"browserify": "^16.2.3",
"fs-extra": "^7.0.1",
"ipfs": "0.37.1",
"ipfs-postmsg-proxy": "^3.1.1",
"is-ipfs": "^0.6.1",
"orbit-db": "0.22.0-rc4",
"orbit-db-identity-provider": "0.2.0-rc3",
"pull-file-reader": "^1.0.2",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-scripts": "2.1.3",
"reactstrap": "8.0.0",
"terser": "^4.3.1",
"toasted-notes": "^2.1.5"
},
"scripts": {
"start": "react-scripts --max_old_space_size=4096 start",
"build-local": "npm run delete-local && react-scripts --max_old_space_size=4096 build && npm run bundle-sw-dependencies-local && sw-precache --config=sw-precache-config-local.js && npm run rename-local",
"build": "react-scripts --max_old_space_size=4096 build && npm run bundle-sw-dependencies && npm run minify && sw-precache --config=sw-precache-config.js",
"delete-local": "node -e \"require('fs-extra').remove('d-chat', function(err) { if (err) console.log(err); console.log('Successfully deleted!') })\"",
"rename-local": "node -e \"require('fs').rename('build', 'd-chat', function(err) { if (err) console.log(err); console.log('Successfully renamed!') })\"",
"test": "react-scripts test",
"eject": "react-scripts eject",
"bundle-sw-dependencies-local": "browserify src/ipfsServiceWorker.js -o build/service-worker-ipfs.js -d",
"bundle-sw-dependencies": "browserify src/ipfsServiceWorker.js -o build/service-worker-ipfs.js",
"minify": "terser build/service-worker-ipfs.js --output build/service-worker-ipfs.min.js && npm run cleanup",
"cleanup": "rm build/service-worker-ipfs.js"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"sw-precache": "^5.2.1"
},
"author": "Huba Péter <peterhuba@hotmail.com>",
"license": "MIT"
}