1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

package file update

This commit is contained in:
Braun Patrik 2016-03-13 20:12:43 +01:00
parent ade8acb48c
commit bc24e739c4
2 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@ var webpack = require('webpack');
var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
module.exports = {
entry: {
'app': './main.ts'
'app': __dirname+'./main.ts'
},
output: {
filename: './dist/[name]-bundle.js',
filename: __dirname+'./dist/[name]-bundle.js',
library: ['peer']
},
// Turn on sourcemaps

View File

@ -7,7 +7,8 @@
"homepage": "https://github.com/bpatrik/PiGallery2",
"license": "MIT",
"scripts": {
"build": "webpack -p && tsc -p backend",
"build": "tsd reinstall && webpack frontend/webpack.config.js -P && tsc -p backend",
"pretest": "tsd reinstall",
"test": "karma start ./karma.conf.js",
"start": "node ./backend/server"
},
@ -50,7 +51,6 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "1.7.0",
"ng2lint": "0.0.10",
"parse5": "^1.3.2",
"phantomjs-polyfill": "0.0.2",
"phantomjs-prebuilt": "^2.1.4",
"protractor": "^3.1.1",