mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-30 22:37:35 +08:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b55b6f9216 | |||
| 3c46890e3f | |||
| c4e5b5448f | |||
| c4855a696b | |||
| fb1f271f6b | |||
| 5d512c5bf5 | |||
| 9ecfa9ef90 | |||
| 614fcfc54e | |||
| bbd0f7666e | |||
| 33150f0cf6 | |||
| 831fb6f8b9 | |||
| 2538e2c405 | |||
| 4cd213706e | |||
| b3f99eb73e |
@@ -1,20 +1,46 @@
|
|||||||
# react-webpack-template - Changelog
|
# react-webpack-template - Changelog
|
||||||
|
|
||||||
|
## 1.0.2:
|
||||||
|
|
||||||
|
1. Updated css-loader to current stable (0.23)
|
||||||
|
2. Updated glob to new major (5.x to 6.x)
|
||||||
|
|
||||||
|
## 1.0.1:
|
||||||
|
___Upgrades___:
|
||||||
|
|
||||||
|
1. Updated isparta-instrumenter-loader to new version 1.0
|
||||||
|
|
||||||
|
## 1.0.0:
|
||||||
|
___Upgrades___:
|
||||||
|
|
||||||
|
1. Updated to babel core version (6.0.x)
|
||||||
|
2. Replaced isparta-loader with the more current (and better maintained) isparta-instrumenter-loader.
|
||||||
|
|
||||||
|
## 0.3.2:
|
||||||
|
___Features___:
|
||||||
|
|
||||||
|
1. Added support for bower components in webpack
|
||||||
|
2. Added coverage reporting via karma-coverage
|
||||||
|
|
||||||
## 0.3.1:
|
## 0.3.1:
|
||||||
___Upgrades___:
|
___Upgrades___:
|
||||||
|
|
||||||
1. Added bugfix for tests in watch mode (could be overridden by config)
|
1. Added bugfix for tests in watch mode (could be overridden by config)
|
||||||
2. Added new badges to README
|
2. Added new badges to README
|
||||||
3. Updated devDependencies to current ones
|
3. Updated devDependencies to current ones
|
||||||
|
|
||||||
## 0.3.0:
|
## 0.3.0:
|
||||||
___Upgrades___:
|
___Upgrades___:
|
||||||
|
|
||||||
1. Added webpacks define plugin for dist version
|
1. Added webpacks define plugin for dist version
|
||||||
2. Added new task ```test:watch``` to watch for changes
|
2. Added new task ```test:watch``` to watch for changes
|
||||||
|
|
||||||
## 0.2.0:
|
## 0.2.0:
|
||||||
___Upgrades:___
|
___Upgrades:___
|
||||||
|
|
||||||
1. Updated React from 0.13 to 0.14 (using ```^0.14```) as version string. This included minor code changes for components (now use the splitted "React"-Package) and the runner (Using React-DOM).
|
1. Updated React from 0.13 to 0.14 (using ```^0.14```) as version string. This included minor code changes for components (now use the splitted "React"-Package) and the runner (Using React-DOM).
|
||||||
2. Updated the shallow renderer for unit tests.
|
2. Updated the shallow renderer for unit tests.
|
||||||
|
|
||||||
___Backwards incompatible changes:___
|
___Backwards incompatible changes:___
|
||||||
|
|
||||||
1. Default unit tests do not need to traverse down to `Component._store.props`, but directly to `Component.props`. Please keep this in mind when using properties in your tests.
|
1. Default unit tests do not need to traverse down to `Component._store.props`, but directly to `Component.props`. Please keep this in mind when using properties in your tests.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2015 Chris
|
Copyright (c) 2015 Christian Schilling <cs@weblogixx.de>
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ module.exports = {
|
|||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
loader: 'style!css'
|
loader: 'style-loader!css-loader'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.sass/,
|
test: /\.sass/,
|
||||||
|
|||||||
+9
-8
@@ -7,6 +7,15 @@ var BowerWebpackPlugin = require('bower-webpack-plugin');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
devtool: 'eval',
|
devtool: 'eval',
|
||||||
module: {
|
module: {
|
||||||
|
preLoaders: [
|
||||||
|
{
|
||||||
|
test: /\.(js|jsx)$/,
|
||||||
|
loader: 'isparta-instrumenter-loader',
|
||||||
|
include: [
|
||||||
|
path.join(__dirname, '/../src')
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
test: /\.(png|jpg|gif|woff|woff2|css|sass|scss|less|styl)$/,
|
test: /\.(png|jpg|gif|woff|woff2|css|sass|scss|less|styl)$/,
|
||||||
@@ -19,14 +28,6 @@ module.exports = {
|
|||||||
path.join(__dirname, '/../src'),
|
path.join(__dirname, '/../src'),
|
||||||
path.join(__dirname, '/../test')
|
path.join(__dirname, '/../test')
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
test: /\.(js|jsx)$/,
|
|
||||||
loader: 'babel-loader',
|
|
||||||
include: [
|
|
||||||
path.join(__dirname, '/../src')
|
|
||||||
],
|
|
||||||
loader: 'isparta'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
+5
-2
@@ -23,8 +23,11 @@ module.exports = function(config) {
|
|||||||
noInfo: true
|
noInfo: true
|
||||||
},
|
},
|
||||||
coverageReporter: {
|
coverageReporter: {
|
||||||
type: 'html',
|
dir: 'coverage/',
|
||||||
dir: 'coverage/'
|
reporters: [
|
||||||
|
{ type: 'html' },
|
||||||
|
{ type: 'text' }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
+8
-6
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-webpack-template",
|
"name": "react-webpack-template",
|
||||||
"version": "0.3.2",
|
"version": "1.0.2",
|
||||||
"description": "A base skeleton template for react and webpack without task runners",
|
"description": "A base skeleton template for react and webpack without task runners",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -36,18 +36,20 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/weblogixx/react-webpack-template#readme",
|
"homepage": "https://github.com/weblogixx/react-webpack-template#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-core": "^5.8.22",
|
"babel-core": "^6.0.0",
|
||||||
"babel-loader": "^5.3.2",
|
"babel-loader": "^6.0.0",
|
||||||
|
"babel-preset-es2015": "^6.0.15",
|
||||||
|
"babel-preset-react": "^6.0.15",
|
||||||
"bower-webpack-plugin": "^0.1.9",
|
"bower-webpack-plugin": "^0.1.9",
|
||||||
"chai": "^3.2.0",
|
"chai": "^3.2.0",
|
||||||
"copyfiles": "^0.2.1",
|
"copyfiles": "^0.2.1",
|
||||||
"css-loader": "^0.21.0",
|
"css-loader": "^0.23.0",
|
||||||
"eslint": "^1.2.1",
|
"eslint": "^1.2.1",
|
||||||
"eslint-loader": "^1.0.0",
|
"eslint-loader": "^1.0.0",
|
||||||
"eslint-plugin-react": "^3.3.0",
|
"eslint-plugin-react": "^3.3.0",
|
||||||
"file-loader": "^0.8.4",
|
"file-loader": "^0.8.4",
|
||||||
"glob": "^5.0.15",
|
"glob": "^6.0.0",
|
||||||
"isparta-loader": "^1.0.0",
|
"isparta-instrumenter-loader": "^1.0.0",
|
||||||
"karma": "^0.13.9",
|
"karma": "^0.13.9",
|
||||||
"karma-chai": "^0.1.0",
|
"karma-chai": "^0.1.0",
|
||||||
"karma-coverage": "^0.5.3",
|
"karma-coverage": "^0.5.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user