This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
/
package.json
218 lines (218 loc) · 12 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "blockstack-browser",
"description": "The Blockstack browser",
"version": "0.37.0",
"author": "Blockstack PBC <[email protected]>",
"dependencies": {
"bip39": "^3.0.2",
"bitcoinjs-lib": "^5.1.6",
"blockstack": "21.0.0-alpha.4",
"blockstack-ui": "^0.0.78",
"body-parser": "^1.16.1",
"bootstrap": "^4.3.1",
"browser-stdout": "^1.3.0",
"cheerio": "^0.22.0",
"chroma-js": "^1.3.7",
"clean-tag": "^2.0.3",
"core-js": "^2.6.10",
"cors-anywhere": "^0.4.1",
"currency-formatter": "^1.2.1",
"enzyme-adapter-react-16": "^1.9.1",
"formik": "^1.4.2",
"hash-handler": "^1.5.1",
"inert-polyfill": "^0.2.5",
"is-retina": "^1.0.3",
"isomorphic-fetch": "^2.2.1",
"jsontokens": "3.0.0-alpha.2",
"lodash": "^4.17.15",
"log4js": "^3.0.4",
"mdi-react": "^5.2.0",
"memoize-one": "^5.0.0",
"polished": "^2.3.3",
"prop-types": "^15.7.1",
"qrcode.react": "^0.8.0",
"query-string": "^4.2.3",
"react": "^16.11.0",
"react-addons-css-transition-group": "^15.6.2",
"react-contextmenu": "^2.8.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.11.0",
"react-fns": "^1.4.0",
"react-loadable": "^5.5.0",
"react-modal": "^3.11.1",
"react-powerplug": "^1.0.0-rc.1",
"react-qr-reader": "^2.1.2",
"react-qr-svg": "^2.2.1",
"react-redux": "^4.4.8",
"react-router": "^3.0.0",
"react-spring": "^5.1.2",
"react-tooltip": "^3.3.0",
"reapop": "^2.0.0",
"reapop-theme-wybo": "^1.0.2",
"redux": "^3.6.0",
"redux-auth-wrapper": "^2.0.2",
"redux-devtools": "^3.4.1",
"redux-devtools-dock-monitor": "^1.1.1",
"redux-devtools-log-monitor": "^1.2.0",
"redux-localstorage": "^0.4.1",
"redux-thunk": "^2.2.0",
"ripemd160-min": "0.0.5",
"round-to": "^2.0.0",
"styled-components": "^4.1.3",
"styled-system": "^3.2.1",
"system-components": "^3.0.3",
"triplesec": "^3.0.25",
"yup": "^0.24.1",
"zone-file": "^0.2.2"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-proposal-decorators": "^7.7.0",
"@babel/plugin-proposal-do-expressions": "^7.6.0",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-proposal-function-sent": "^7.7.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-proposal-pipeline-operator": "^7.5.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-async-to-generator": "^7.7.0",
"@babel/plugin-transform-react-jsx": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@babel/register": "^7.7.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-rewire": "^1.2.0",
"babel-plugin-styled-components": "^1.10.6",
"browserstack-local": "^1.3.7",
"chai": "^4.2.0",
"chromedriver": "^2.46.0",
"copy-webpack-plugin": "^4.5.2",
"cors": "^2.8.5",
"cross-env": "^6.0.3",
"css-loader": "^2.1.1",
"enzyme": "^3.10.0",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-import-resolver-babel-module": "^5.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"express": "^4.16.4",
"file-loader": "^2.0.0",
"filenamify": "^2.1.0",
"font-awesome": "^4.6.3",
"geckodriver": "^1.19.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.1.0",
"image-webpack-loader": "^4.3.1",
"jsdom": "^9.2.0",
"lodash-webpack-plugin": "^0.11.5",
"mocha": "^6.2.2",
"mocha-steps": "^1.3.0",
"mock-require": "^3.0.3",
"nock": "^9.0.13",
"nyc": "^14.1.1",
"p-queue": "^3.0.0",
"prettier": "^1.18.2",
"react-hot-loader": "^4.6.5",
"redux-mock-store": "^1.5.3",
"request": "^2.88.0",
"require-hacker": "^3.0.1",
"selenium-webdriver": "^4.0.0-alpha.1",
"serve": "^10.1.2",
"serve-handler": "^5.0.8",
"shx": "^0.3.2",
"sinon": "^1.17.7",
"sinon-as-promised": "^4.0.0",
"style-loader": "^0.23.0",
"terser-webpack-plugin": "^1.2.2",
"url-loader": "^1.0.1",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-stylish": "^0.1.8",
"webpackbar": "^3.1.5",
"workbox-webpack-plugin": "^3.6.1"
},
"keywords": [
"applications",
"apps",
"blockchain",
"blockstack",
"boilerplate",
"browser",
"browserify",
"decentralized",
"portal",
"react",
"sass"
],
"license": "MPL-2.0",
"prettier": {
"semi": false,
"singleQuote": true
},
"repository": {
"type": "git",
"url": "https://github.com/blockstack/blockstack-browser.git"
},
"scripts": {
"dev": "cross-env NODE_ENV=development DEBUG_LOGGING=true webpack-dev-server --open --hot",
"dev-ui": "echo 'Please use dev instead of dev-ui'",
"dev-webapp": "echo 'Please use dev instead of dev-webapp'",
"lint": "eslint app/js/**/*.js -f codeframe",
"lint:fix": "eslint app/js/**/*.js -f codeframe --fix",
"win32": "npm run win32:clean && cross-env NODE_ENV=production webpack && npm run win32:copyBrowser && npm run win32:downloadNode && npm run win32:downloadExpress && npm run win32:downloadCorsProxy && npm run win32:copyCorsProxy && npm run win32:setWixVersion && npm run win32:msbuildSolution",
"win32:copyBrowser": "xcopy build native\\windows\\BlockstackBrowser\\Resources\\build\\* /s/h/e/k/f/c/y",
"win32:downloadNode": "powershell -Command \"(new-object System.Net.WebClient).DownloadFile('https://nodejs.org/dist/latest-v12.x/win-x86/node.exe', 'native\\windows\\BlockstackBrowser\\Resources\\node.exe')\"",
"win32:downloadExpress": "npm i --prefix native\\windows\\BlockstackBrowser\\Resources -g express@4",
"win32:downloadCorsProxy": "npm i --prefix native\\windows\\BlockstackBrowser\\Resources\\cors-proxy -g [email protected]",
"win32:copyCorsProxy": "xcopy corsproxy\\corsproxy.js native\\windows\\BlockstackBrowser\\Resources\\cors-proxy\\* /Y",
"win32:setWixVersion": "shx sed -i s/Version=\\\"0.0.0.0\\\"/Version=\\\"%npm_package_version%\\\"/ native\\windows\\BlockstackSetup\\Product.wxs",
"win32:msbuildSolution": "native\\windows\\msbuild native\\windows\\BlockstackBrowser.sln /p:RunWixToolsOutOfProc=true /p:Configuration=Release /p:Platform=x86",
"win32:signMsi": "native\\windows\\signtool sign /t http://timestamp.verisign.com/scripts/timstamp.dll /n Blockstack /f native\\windows\\signcertfile.pfx native\\windows\\BlockstackSetup\\bin\\Release\\en-us\\BlockstackSetup.msi",
"win32:clean": "shx rm -rf build native\\windows\\BlockstackBrowser\\bin native\\windows\\BlockstackSetup\\bin native\\windows\\ProtocolHandler\\bin native\\windows\\BlockstackBrowser\\Resources\\build native\\windows\\BlockstackBrowser\\Resources\\cors-proxy native\\windows\\BlockstackBrowser\\Resources\\node_modules native\\windows\\BlockstackBrowser\\Resources\\node.exe",
"mac": "cross-env NODE_ENV=production npm run build && npm run mac:downloadNode && npm run mac:downloadPackages && npm run mac:copyCorsProxy && npm run mac:copyBlockstackProxy && npm run mac:buildDebug",
"mac:release": "npm run test && npm install --no-save appdmg && npm run build && npm run mac:copyBrowser && npm run mac:downloadNode && npm run mac:downloadPackages && npm run mac:copyCorsProxy && npm run mac:copyBlockstackProxy && npm run mac:release:build",
"mac:release:dev": "cross-env NODE_ENV=production npm run build && npm run mac:copyBrowser && npm run mac:downloadNode && npm run mac:downloadPackages && npm run mac:copyCorsProxy && npm run mac:copyBlockstackProxy && npm run mac:release:clean && npm run mac:release:build:dev",
"mac:release:build": "npm run mac:release:build:Archive && npm run mac:release:build:Export && npm run mac:release:build:BuildDMG && npm run mac:release:build:SignDMG",
"mac:release:build:dev": "npm run mac:release:build:Archive:dev && npm run mac:release:build:Export:dev",
"mac:release:build:Archive": "xcodebuild -workspace ./native/macos/Blockstack/Blockstack.xcworkspace -scheme Blockstack -configuration Release -archivePath ./native/macos/archive/Blockstack archive",
"mac:release:build:Export": "xcodebuild -archivePath ./native/macos/archive/Blockstack.xcarchive -exportOptionsPlist ./native/macos/Blockstack/export.plist -exportArchive -exportPath ./native/macos/export/ CODE_SIGNING_REQUIRED=NO",
"mac:release:build:Export:dev": "xcodebuild -archivePath ./native/macos/archive/Blockstack.xcarchive -exportOptionsPlist ./native/macos/Blockstack/export_dev.plist -exportArchive -exportPath ./native/macos/export/ CODE_SIGNING_REQUIRED=NO",
"mac:release:build:BuildDMG": "rm -Rf ./native/macos/export/Blockstack.dmg; node ./node_modules/appdmg/bin/appdmg.js ./native/macos/dmg.json ./native/macos/export/Blockstack.dmg",
"mac:release:build:SignDMG": "codesign --force --sign \"Developer ID Application: Blockstack PBC\" ./native/macos/export/Blockstack.dmg; open ./native/macos/export/",
"mac:release:build:Archive:dev": "xcodebuild -workspace ./native/macos/Blockstack/Blockstack.xcworkspace -scheme Blockstack -configuration Release CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=\"NO\" CODE_SIGN_ENTITLEMENTS=\"\" CODE_SIGNING_ALLOWED=\"NO\" -archivePath ./native/macos/archive/Blockstack archive",
"mac:release:clean": "rm -rf ./native/macos/archive/Blockstack.xcarchive ./native/macos/export/Blockstack.app",
"mac:copyBrowser": "touch build/.gitkeep && rm -Rf native/macos/Blockstack/Blockstack/browser && mkdir -p native/macos/Blockstack/Blockstack/browser && cp -rf build/ native/macos/Blockstack/Blockstack/browser/",
"mac:downloadNode": "NODEJS_VER=v12.13.0 && curl https://nodejs.org/dist/$NODEJS_VER/node-$NODEJS_VER-darwin-x64.tar.gz | tar -zxvf - --strip-components=2 -C native/macos/Blockstack/Blockstack/server node-$NODEJS_VER-darwin-x64/bin/node",
"mac:downloadPackages": "npm i --prefix native/macos/Blockstack/Blockstack/server express@4 [email protected]",
"mac:copyCorsProxy": "cp corsproxy/corsproxy.js native/macos/Blockstack/Blockstack/server",
"mac:copyBlockstackProxy": "cp native/blockstackProxy.js native/macos/Blockstack/Blockstack/server",
"mac:buildDebug": "xcodebuild -workspace ./native/macos/Blockstack/Blockstack.xcworkspace -scheme Blockstack -configuration Debug",
"test": "npm run lint && cross-env NODE_ENV=test BABEL_ENV=test nyc mocha",
"clean": "rm -rf ./build ./native/macos/Blockstack/Blockstack/browser ./native/macos/Blockstack/Blockstack/server && mkdir -p ./build && mkdir -p ./native/macos/Blockstack/Blockstack/browser ./native/macos/Blockstack/Blockstack/server && touch ./build/.gitkeep ./native/macos/Blockstack/Blockstack/browser/.gitkeep ./native/macos/Blockstack/Blockstack/server/.gitkeep",
"build": "npm run clean && cross-env NODE_ENV=production webpack",
"build:analyze": "cross-env ANALYZE=true npm run build",
"start": "serve build --single",
"web": "npm run build",
"prod-webapp": "npm run clean && cross-env NODE_ENV=production WEBAPP=true webpack",
"test-e2e": "cross-env-shell mocha --opts test-e2e/mocha.opts test-e2e --grep=$TEST_E2E_GREP",
"test-e2e:localBuild": "cross-env NODE_ENV=production WEBAPP=true DEBUG_LOGGING=true webpack && E2E_BROWSER_HOST='./build' npm run test-e2e",
"test-e2e:browserstack": "cross-env USE_BROWSERSTACK=true npm run test-e2e:localBuild"
}
}