setting up offline babel transpiling and nmp-ifying

This commit is contained in:
or-else
2018-08-12 11:03:26 +03:00
parent 2b8514b495
commit f2ef14c239
6 changed files with 58 additions and 16 deletions
+7 -5
View File
@@ -1,10 +1,12 @@
{
"name": "TinodeWeb",
"description": "Javascript bindings for Tinode",
"version": "0.15.4-rc1",
"name": "tinode-webapp",
"description": "Tinode Web Client",
"version": "0.15.4-rc3",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-minify": "^0.4.3",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.4.3",
"babel-preset-react": "^6.24.1"
},
"repository": {
@@ -12,7 +14,7 @@
"url": "https://github.com/tinode/example-react-js.git"
},
"scripts": {
"build": "babel --presets react ./ -d lib",
"build": "babel ./index.js --presets react,minify --out-file ./index.min.js",
"babel-version": "babel --version"
},
"keywords": [
@@ -22,7 +24,7 @@
],
"main": "index.js",
"bugs": {
"url": "https://github.com/tinode/tinode-js/issues"
"url": "https://github.com/tinode/example-react-js/issues"
},
"homepage": "https://github.com/tinode/chat",
"email": "gene@tinode.co",