9611770bb3
For doing HTTP requests. Makes the js bundle a lot smaller. Also I should do something about the fact that I now have to change the js and also rebuild the rust binary to change code
28 lines
627 B
JSON
28 lines
627 B
JSON
{
|
|
"name": "static",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"babel": "^6.23.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babelify": "^7.3.0",
|
|
"browserify": "^14.4.0",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1",
|
|
"superagent": "^3.6.3",
|
|
"uglify-js": "^3.1.1"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"babel-preset-react",
|
|
"babel-preset-es2015"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build": "browserify main.jsx -t babelify -o bundle.js",
|
|
"build-minify": "browserify main.jsx -t babelify | uglifyjs > bundle.js"
|
|
}
|
|
}
|