fix npm test script

This commit is contained in:
Mike Greiling 2018-07-03 01:19:41 -05:00
parent 98d97d8541
commit 50ced222cb
No known key found for this signature in database
GPG key ID: 0303DF507FA67596
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"description": "A webpack plugin for the Monaco Editor",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "./node_modules/.bin/webpack --config test/webpack.config.js"
},
"repository": {
"type": "git",

View file

@ -4,6 +4,7 @@ const path = require('path');
module.exports = {
mode: 'development',
entry: './index.js',
context: __dirname,
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'app.js'
@ -17,4 +18,4 @@ module.exports = {
plugins: [
new MonacoWebpackPlugin()
]
};
};