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:
parent
ade8acb48c
commit
bc24e739c4
@ -2,10 +2,10 @@ var webpack = require('webpack');
|
|||||||
var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
|
var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin");
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
'app': './main.ts'
|
'app': __dirname+'./main.ts'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: './dist/[name]-bundle.js',
|
filename: __dirname+'./dist/[name]-bundle.js',
|
||||||
library: ['peer']
|
library: ['peer']
|
||||||
},
|
},
|
||||||
// Turn on sourcemaps
|
// Turn on sourcemaps
|
||||||
|
@ -7,7 +7,8 @@
|
|||||||
"homepage": "https://github.com/bpatrik/PiGallery2",
|
"homepage": "https://github.com/bpatrik/PiGallery2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"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",
|
"test": "karma start ./karma.conf.js",
|
||||||
"start": "node ./backend/server"
|
"start": "node ./backend/server"
|
||||||
},
|
},
|
||||||
@ -50,7 +51,6 @@
|
|||||||
"karma-sourcemap-loader": "^0.3.7",
|
"karma-sourcemap-loader": "^0.3.7",
|
||||||
"karma-webpack": "1.7.0",
|
"karma-webpack": "1.7.0",
|
||||||
"ng2lint": "0.0.10",
|
"ng2lint": "0.0.10",
|
||||||
"parse5": "^1.3.2",
|
|
||||||
"phantomjs-polyfill": "0.0.2",
|
"phantomjs-polyfill": "0.0.2",
|
||||||
"phantomjs-prebuilt": "^2.1.4",
|
"phantomjs-prebuilt": "^2.1.4",
|
||||||
"protractor": "^3.1.1",
|
"protractor": "^3.1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user