react-webpack-template
Advanced tools
Comparing version 1.6.1 to 1.7.0
@@ -20,3 +20,3 @@ 'use strict'; | ||
filename: 'app.js', | ||
publicPath: `.${defaultSettings.publicPath}` | ||
publicPath: defaultSettings.publicPath | ||
}, | ||
@@ -23,0 +23,0 @@ devServer: { |
# react-webpack-template - Changelog | ||
## 1.6.2: | ||
1. Added back absolute paths to [make subroutes in react-router work](https://github.com/newtriks/generator-react-webpack/issues/228) | ||
2. Updated package dev dependencies to latest stable (karma-coverage, karma-mocha) | ||
3. Updated karma.conf.js to set test env automatically, adjusted run port to match default webpack port (8000 instead 8080) | ||
## 1.6.1: | ||
@@ -4,0 +10,0 @@ |
var webpackCfg = require('./webpack.config'); | ||
// Set node environment to testing | ||
process.env.NODE_ENV = 'test'; | ||
module.exports = function(config) { | ||
@@ -10,3 +13,3 @@ config.set({ | ||
], | ||
port: 8080, | ||
port: 8000, | ||
captureTimeout: 60000, | ||
@@ -13,0 +16,0 @@ frameworks: [ 'mocha', 'chai' ], |
{ | ||
"name": "react-webpack-template", | ||
"version": "1.6.1", | ||
"version": "1.7.0", | ||
"description": "A base skeleton template for react and webpack without task runners", | ||
@@ -57,4 +57,4 @@ "main": "server.js", | ||
"karma-chai": "^0.1.0", | ||
"karma-coverage": "^0.5.3", | ||
"karma-mocha": "^0.2.0", | ||
"karma-coverage": "^1.0.0", | ||
"karma-mocha": "^1.0.0", | ||
"karma-mocha-reporter": "^2.0.0", | ||
@@ -61,0 +61,0 @@ "karma-phantomjs-launcher": "^1.0.0", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
45324
422
5