-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5.1.1: Landscape layout responsive design & registerMiddleware() API
- Loading branch information
Showing
11 changed files
with
6,262 additions
and
6,210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
'use strict'; | ||
const webpack = require('webpack'); | ||
const path = require('path'); | ||
const defaultSettings = require('./defaults'); | ||
|
||
// Additional npm or bower modules to include in builds | ||
// Add all foreign plugins you may need into this array | ||
// @example: | ||
// let npmBase = path.join(__dirname, '../node_modules'); | ||
// let additionalPaths = [ path.join(npmBase, 'react-bootstrap') ]; | ||
const additionalPaths = []; | ||
|
||
module.exports = { | ||
devtool: 'eval', | ||
output: { | ||
path: path.join(__dirname, '/../dist/assets'), | ||
filename: 'muse-player.js', | ||
library: 'MuseDOM', | ||
libraryTarget: 'umd', | ||
umdNamedDefine: true, | ||
publicPath: defaultSettings.publicPath | ||
}, | ||
devServer: { | ||
contentBase: './src/', | ||
historyApiFallback: true, | ||
hot: true, | ||
port: defaultSettings.port, | ||
publicPath: defaultSettings.publicPath, | ||
noInfo: false | ||
}, | ||
resolve: { | ||
extensions: ['.js', '.jsx'], | ||
alias: { | ||
actions: `${defaultSettings.srcPath}/actions/`, | ||
components: `${defaultSettings.srcPath}/components/`, | ||
sources: `${defaultSettings.srcPath}/sources/`, | ||
stores: `${defaultSettings.srcPath}/stores/`, | ||
styles: `${defaultSettings.srcPath}/styles/`, | ||
config: `${defaultSettings.srcPath}/config/` + process.env.REACT_WEBPACK_ENV, | ||
'react/lib/ReactMount': 'react-dom/lib/ReactMount' | ||
} | ||
}, | ||
module: {} | ||
}; | ||
'use strict'; | ||
const webpack = require('webpack'); | ||
const path = require('path'); | ||
const defaultSettings = require('./defaults'); | ||
|
||
// Additional npm or bower modules to include in builds | ||
// Add all foreign plugins you may need into this array | ||
// @example: | ||
// let npmBase = path.join(__dirname, '../node_modules'); | ||
// let additionalPaths = [ path.join(npmBase, 'react-bootstrap') ]; | ||
const additionalPaths = []; | ||
|
||
module.exports = { | ||
devtool: 'eval', | ||
output: { | ||
path: path.join(__dirname, '/../dist/assets'), | ||
filename: 'muse-player.js', | ||
library: 'MuseDOM', | ||
libraryTarget: 'umd', | ||
umdNamedDefine: true, | ||
publicPath: defaultSettings.publicPath | ||
}, | ||
devServer: { | ||
contentBase: './src/', | ||
historyApiFallback: true, | ||
hot: true, | ||
port: defaultSettings.port, | ||
publicPath: defaultSettings.publicPath, | ||
noInfo: false | ||
}, | ||
resolve: { | ||
extensions: ['.js', '.jsx'], | ||
alias: { | ||
actions: `${defaultSettings.srcPath}/actions/`, | ||
components: `${defaultSettings.srcPath}/components/`, | ||
sources: `${defaultSettings.srcPath}/sources/`, | ||
stores: `${defaultSettings.srcPath}/stores/`, | ||
styles: `${defaultSettings.srcPath}/styles/`, | ||
config: `${defaultSettings.srcPath}/config/` + process.env.REACT_WEBPACK_ENV, | ||
'react/lib/ReactMount': 'react-dom/lib/ReactMount' | ||
} | ||
}, | ||
module: {} | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,84 @@ | ||
{ | ||
"name": "muse-player", | ||
"version": "5.1.0", | ||
"description": "Just a simple and dilligent HTML5 Audio Player written in React.", | ||
"main": "dist/assets/muse-player.js", | ||
"scripts": { | ||
"start": "node server.js --env=dev", | ||
"test": "karma start", | ||
"test:watch": "karma start --autoWatch=true --singleRun=false", | ||
"posttest": "npm run lint", | ||
"serve": "node server.js --env=dev", | ||
"serve:dist": "node server.js --env=dist", | ||
"dist": "npm run copy & webpack --env=dist", | ||
"lint": "eslint ./src", | ||
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", | ||
"clean": "rimraf dist/*", | ||
"release:major": "npm version major && npm publish && git push --follow-tags", | ||
"release:minor": "npm version minor && npm publish && git push --follow-tags", | ||
"release:patch": "npm version patch && npm publish && git push --follow-tags" | ||
}, | ||
"repository": "https://github.com/moefront/muse", | ||
"keywords": [ | ||
"audio player", | ||
"HTML5", | ||
"lyric", | ||
"muse", | ||
"ymplayer", | ||
"redux", | ||
"react" | ||
], | ||
"author": "MoeFront Studio", | ||
"organization": "MoeFront Studio", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"babel-core": "^6.0.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-loader": "^7.1.1", | ||
"babel-polyfill": "^6.3.14", | ||
"babel-preset-es2015": "^6.0.15", | ||
"babel-preset-react": "^6.0.15", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"bower-webpack-plugin": "^0.1.9", | ||
"chai": "^4.1.1", | ||
"copyfiles": "^1.0.0", | ||
"css-loader": "^0.28.5", | ||
"eslint": "^4.4.1", | ||
"eslint-loader": "^1.0.0", | ||
"eslint-plugin-react": "^7.2.1", | ||
"file-loader": "^0.11.2", | ||
"glob": "^7.0.0", | ||
"isparta-instrumenter-loader": "^1.0.0", | ||
"karma": "^1.0.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-coverage": "^1.0.0", | ||
"karma-mocha": "^1.0.0", | ||
"karma-mocha-reporter": "^2.0.0", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-sourcemap-loader": "^0.3.5", | ||
"karma-webpack": "^2.0.4", | ||
"minimist": "^1.2.0", | ||
"mocha": "^3.0.0", | ||
"null-loader": "^0.1.1", | ||
"open": "0.0.5", | ||
"phantomjs-prebuilt": "^2.0.0", | ||
"react-addons-test-utils": "^15.0.0", | ||
"react-hot-loader": "^v3.0.0-beta.6", | ||
"rimraf": "^2.4.3", | ||
"style-loader": "^0.18.2", | ||
"url-loader": "^0.5.6", | ||
"webpack": "^3.5.5", | ||
"webpack-dev-server": "^2.7.1" | ||
}, | ||
"dependencies": { | ||
"core-js": "^2.0.0", | ||
"normalize.css": "^7.0.0", | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0", | ||
"react-redux": "^5.0.4", | ||
"redux": "^3.6.0", | ||
"stylus": "^0.54.5", | ||
"stylus-loader": "^3.0.1", | ||
"webpack-bundle-analyzer": "^2.8.2" | ||
} | ||
} | ||
{ | ||
"name": "muse-player", | ||
"version": "5.1.1", | ||
"description": "Just a simple and dilligent HTML5 Audio Player written in React.", | ||
"main": "dist/assets/muse-player.js", | ||
"scripts": { | ||
"start": "node server.js --env=dev", | ||
"test": "karma start", | ||
"test:watch": "karma start --autoWatch=true --singleRun=false", | ||
"posttest": "npm run lint", | ||
"serve": "node server.js --env=dev", | ||
"serve:dist": "node server.js --env=dist", | ||
"dist": "npm run copy & webpack --env=dist", | ||
"lint": "eslint ./src", | ||
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", | ||
"clean": "rimraf dist/*", | ||
"release:major": "npm version major && npm publish && git push --follow-tags", | ||
"release:minor": "npm version minor && npm publish && git push --follow-tags", | ||
"release:patch": "npm version patch && npm publish && git push --follow-tags" | ||
}, | ||
"repository": "https://github.com/moefront/muse", | ||
"keywords": [ | ||
"audio player", | ||
"HTML5", | ||
"lyric", | ||
"muse", | ||
"ymplayer", | ||
"redux", | ||
"react" | ||
], | ||
"author": "MoeFront Studio", | ||
"organization": "MoeFront Studio", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"babel-core": "^6.0.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-loader": "^7.1.1", | ||
"babel-polyfill": "^6.3.14", | ||
"babel-preset-es2015": "^6.0.15", | ||
"babel-preset-react": "^6.0.15", | ||
"babel-preset-stage-0": "^6.5.0", | ||
"bower-webpack-plugin": "^0.1.9", | ||
"chai": "^4.1.1", | ||
"copyfiles": "^1.0.0", | ||
"css-loader": "^0.28.5", | ||
"eslint": "^4.4.1", | ||
"eslint-loader": "^1.0.0", | ||
"eslint-plugin-react": "^7.2.1", | ||
"file-loader": "^0.11.2", | ||
"glob": "^7.0.0", | ||
"isparta-instrumenter-loader": "^1.0.0", | ||
"karma": "^1.0.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-coverage": "^1.0.0", | ||
"karma-mocha": "^1.0.0", | ||
"karma-mocha-reporter": "^2.0.0", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"karma-sourcemap-loader": "^0.3.5", | ||
"karma-webpack": "^2.0.4", | ||
"minimist": "^1.2.0", | ||
"mocha": "^3.0.0", | ||
"null-loader": "^0.1.1", | ||
"open": "0.0.5", | ||
"phantomjs-prebuilt": "^2.0.0", | ||
"react-addons-test-utils": "^15.0.0", | ||
"react-hot-loader": "^v3.0.0-beta.6", | ||
"rimraf": "^2.4.3", | ||
"style-loader": "^0.18.2", | ||
"url-loader": "^0.5.6", | ||
"webpack": "^3.5.5", | ||
"webpack-dev-server": "^2.7.1" | ||
}, | ||
"dependencies": { | ||
"core-js": "^2.0.0", | ||
"normalize.css": "^7.0.0", | ||
"react": "^15.0.0", | ||
"react-dom": "^15.0.0", | ||
"react-redux": "^5.0.4", | ||
"redux": "^3.6.0", | ||
"stylus": "^0.54.5", | ||
"stylus-loader": "^3.0.1", | ||
"webpack-bundle-analyzer": "^2.8.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.