This commit is contained in:
crusader 2017-12-18 19:18:04 +09:00
parent fae719da0e
commit 2c705b541c
5 changed files with 68 additions and 63 deletions

View File

@ -5,8 +5,8 @@ const packages = require('../../package.json');
module.exports = { module.exports = {
target: 'web', target: 'web',
entry: { entry: {
app: [ webapp: [
Path.resolve(__dirname, '../../src/ts/@overflow/app/index.tsx') Path.resolve(__dirname, '../../src/ts/@overflow/webapp/index.tsx')
], ],
vendor: Object.keys(packages.dependencies) vendor: Object.keys(packages.dependencies)
}, },

View File

@ -7,7 +7,7 @@ const configBase = require('./webpack.config.base.js');
module.exports = WebpackMerge(configBase, { module.exports = WebpackMerge(configBase, {
entry: { entry: {
app: [ webapp: [
'react-hot-loader/patch' 'react-hot-loader/patch'
] ]
}, },

View File

@ -20,79 +20,79 @@
"stats": "set NODE_ENV=production && webpack --progress --config ./config/webpack/webpack.config.stats.js --profile --json > ./config/webpack/stats/stats.json" "stats": "set NODE_ENV=production && webpack --progress --config ./config/webpack/webpack.config.stats.js --profile --json > ./config/webpack/stats/stats.json"
}, },
"devDependencies": { "devDependencies": {
"@types/auth0-lock": "^10.16.0", "@types/auth0-lock": "^10.16.2",
"@types/history": "^4.6.0", "@types/history": "^4.6.2",
"@types/jest": "^19.2.4", "@types/jest": "^21.1.8",
"@types/lodash": "^4.14.69", "@types/lodash": "^4.14.91",
"@types/prop-types": "^15.5.1", "@types/prop-types": "^15.5.2",
"@types/react": "^15.0.38", "@types/react": "^16.0.31",
"@types/react-addons-test-utils": "^0.14.19", "@types/react-addons-test-utils": "^0.14.20",
"@types/react-dom": "^15.5.1", "@types/react-dom": "^16.0.3",
"@types/react-hot-loader": "^3.0.3", "@types/react-hot-loader": "^3.0.5",
"@types/react-json-pretty": "^1.3.2", "@types/react-json-pretty": "^1.3.2",
"@types/react-redux": "^4.4.46", "@types/react-redux": "^5.0.14",
"@types/react-router": "^4.0.14", "@types/react-router": "^4.0.19",
"@types/react-router-dom": "^4.0.7", "@types/react-router-dom": "^4.2.3",
"@types/react-router-redux": "^5.0.3", "@types/react-router-redux": "^5.0.10",
"@types/react-tap-event-plugin": "^0.0.30", "@types/react-tap-event-plugin": "^0.0.30",
"@types/recharts": "^0.22.5", "@types/recharts": "^1.0.7",
"@types/redux": "^3.6.0", "@types/redux": "^3.6.0",
"@types/whatwg-fetch": "^0.0.33", "@types/whatwg-fetch": "^0.0.33",
"awesome-typescript-loader": "^3.1.3", "awesome-typescript-loader": "^3.4.1",
"check-dependencies": "^1.0.1", "check-dependencies": "^1.1.0",
"copy-webpack-plugin": "^4.0.1", "copy-webpack-plugin": "^4.3.0",
"css-loader": "^0.28.2", "css-loader": "^0.28.7",
"extract-text-webpack-plugin": "^2.1.0", "extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^0.11.1", "file-loader": "^1.1.6",
"greenkeeper-postpublish": "^1.0.1", "greenkeeper-postpublish": "^1.3.0",
"html-webpack-plugin": "^2.28.0", "html-webpack-plugin": "^2.30.1",
"image-webpack-loader": "^3.3.1", "image-webpack-loader": "^3.4.2",
"jest": "^20.0.4", "jest": "^21.2.1",
"node-sass": "^4.5.3", "node-sass": "^4.7.2",
"postcss-import": "^10.0.0", "postcss-import": "^11.0.0",
"postcss-loader": "^2.0.5", "postcss-loader": "^2.0.9",
"raw-loader": "^0.5.1", "raw-loader": "^0.5.1",
"react-addons-test-utils": "^15.5.1", "react-addons-test-utils": "^15.6.2",
"react-hot-loader": "next", "react-hot-loader": "^3.1.3",
"react-json-pretty": "^1.0.0", "react-json-pretty": "^1.7.4",
"redux-devtools-extension": "^2.13.2", "redux-devtools-extension": "^2.13.2",
"redux-logger": "^3.0.6", "redux-logger": "^3.0.6",
"rimraf": "^2.6.1", "rimraf": "^2.6.2",
"sass-lint": "^1.10.2", "sass-lint": "^1.12.1",
"sass-loader": "^6.0.5", "sass-loader": "^6.0.6",
"source-map-loader": "^0.2.1", "source-map-loader": "^0.2.3",
"style-loader": "^0.18.1", "style-loader": "^0.19.1",
"tslint": "^5.4.3", "tslint": "^5.8.0",
"tslint-loader": "^3.5.3", "tslint-loader": "^3.5.3",
"tslint-react": "^3.0.0", "tslint-react": "^3.2.0",
"typescript": "^2.4.1", "typescript": "^2.6.2",
"webpack": "^2.6.1", "webpack": "^3.10.0",
"webpack-dashboard": "^0.4.0", "webpack-dashboard": "^1.0.2",
"webpack-dev-server": "^2.5.0", "webpack-dev-server": "^2.9.7",
"webpack-merge": "^4.1.0", "webpack-merge": "^4.1.1",
"webpack-visualizer-plugin": "^0.1.11" "webpack-visualizer-plugin": "^0.1.11"
}, },
"dependencies": { "dependencies": {
"auth0-lock": "^10.18.0", "auth0-lock": "^10.24.1",
"history": "^4.6.3", "history": "^4.7.2",
"immutable": "^3.8.1", "immutable": "^3.8.2",
"inversify": "^4.2.0", "inversify": "^4.9.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"prop-types": "^15.5.10", "prop-types": "^15.6.0",
"react": "^15.6.1", "react": "^16.2.0",
"react-dom": "^15.6.1", "react-dom": "^16.2.0",
"react-immutable-proptypes": "^2.1.0", "react-immutable-proptypes": "^2.1.0",
"react-redux": "^5.0.5", "react-redux": "^5.0.6",
"react-router": "^4.1.2", "react-router": "^4.2.0",
"react-router-dom": "^4.1.2", "react-router-dom": "^4.2.2",
"react-router-redux": "next", "react-router-redux": "^4.0.8",
"react-tap-event-plugin": "^2.0.1", "react-tap-event-plugin": "^3.0.2",
"recharts": "^1.0.0-alpha.4", "recharts": "^1.0.0-beta.6",
"redux": "^3.7.1", "redux": "^3.7.2",
"redux-saga": "^0.15.4", "redux-saga": "^0.16.0",
"reflect-metadata": "^0.1.10", "reflect-metadata": "^0.1.10",
"reselect": "^3.0.1", "reselect": "^3.0.1",
"semantic-ui-react": "^0.71.1" "semantic-ui-react": "^0.77.1"
}, },
"jest": { "jest": {
"moduleFileExtensions": [ "moduleFileExtensions": [

View File

@ -0,0 +1,4 @@
class WebAppApplication {
}

View File

@ -8,7 +8,8 @@
"jsx": "react", "jsx": "react",
"lib": [ "lib": [
"dom", "dom",
"es6" "es6",
"es7"
], ],
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
@ -33,7 +34,7 @@
"src/ts/**/*" "src/ts/**/*"
], ],
"exclude": [ "exclude": [
"build", "dist",
"config", "config",
"node_modules", "node_modules",
"public" "public"