Skip to content

Commit 65f214a

Browse files
committed
Update targets for build and test coverage.
1 parent 238f9f8 commit 65f214a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

jest.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ module.exports = {
44
'**/src/**/*.js',
55
'!**/src/**/*.spec.js'
66
],
7-
coverageDirectory: 'build/coverage',
8-
coverageReporters: ['html', 'text', 'text-summary'],
7+
coverageReporters: ['html', 'lcov', 'text', 'text-summary'],
98
moduleFileExtensions: ['js'],
109
testMatch: [
1110
'**/src/**/*.spec.js'

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"vue-router"
99
],
1010
"files": [
11+
"dist/redux-first-vue-routing.min.js",
1112
"src/index.js",
1213
"src/action-creators.js",
1314
"src/action-types.json",

webpack.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ module.exports = {
44
mode: 'production',
55
entry: path.resolve(__dirname, 'src/index.js'),
66
output: {
7-
path: path.resolve(__dirname, 'build/dist'),
8-
filename: 'redux-first-vue-router.js',
9-
library: 'ReduxFirstVueRouter',
7+
path: path.resolve(__dirname, 'dist'),
8+
filename: 'redux-first-vue-routing.min.js',
9+
library: 'ReduxFirstVueRouting',
1010
libraryTarget: 'umd'
1111
}
1212
};

0 commit comments

Comments
 (0)