1
mirror of https://github.com/valentineus/iii-client.git synced 2025-12-21 14:13:22 +04:00

Added assembly for the browser

This commit is contained in:
2017-09-28 17:09:43 +04:00
parent a40cbab610
commit 5e4bfac39a
3 changed files with 32 additions and 3 deletions

View File

@@ -26,11 +26,15 @@
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"eslint": "^3.19.0"
"eslint": "^3.19.0",
"webpack": "^3.6.0"
},
"scripts": {
"build": "babel --source-maps --out-file ./dist/index.js ./src/index.js",
"build-node": "babel --out-file ./dist/index.js ./src/index.js",
"build-browser": "webpack --config webpack.config.js",
"build": "npm run build-browser && npm run build-node",
"check": "eslint ./src/*"
}
}