Add SourceMap in development mode

This commit is contained in:
Yuya Ochiai
2016-10-13 00:08:04 +09:00
parent 0fb3b5e378
commit dace9c2032
4 changed files with 25 additions and 6 deletions

View File

@@ -25,7 +25,7 @@
"start": "electron dist",
"watch": "gulp watch",
"serve": "gulp watch",
"test": "gulp build && mocha --reporter mocha-circleci-reporter --recursive test/specs && gulp prettify:verify",
"test": "npm run build && mocha --reporter mocha-circleci-reporter --recursive test/specs && gulp prettify:verify",
"package:all": "npm run package:windows && npm run package:mac && npm run package:linux",
"package:windows": "build --win --x64 --ia32 --em.name=mattermost && npm run manipulate-windows-zip",
"package:mac": "build --mac --x64 --ia32",
@@ -40,6 +40,7 @@
"babel-preset-react": "^6.5.0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"cross-env": "^3.1.2",
"devtron": "^1.3.0",
"electron-builder": "^7.11.2",
"electron-connect": "~0.6.0",
@@ -55,7 +56,8 @@
"mocha-circleci-reporter": "0.0.2",
"spectron": "~3.4.0",
"through2": "^2.0.1",
"webpack": "^1.13.1"
"webpack": "^1.13.1",
"webpack-merge": "^0.14.1"
},
"build": {
"appId": "com.mattermost.desktop",