Skip to content

Commit

Permalink
move dev server to dependencies for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkolos committed Apr 24, 2021
1 parent c067e99 commit 0caaa01
Show file tree
Hide file tree
Showing 7 changed files with 1,109 additions and 6,146 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: cd demos && npm i && npm run start
2 changes: 1 addition & 1 deletion demos/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"semi": true,
"singleQuote": true,
"printWidth": 120
}
}
4,153 changes: 1,070 additions & 3,083 deletions demos/package-lock.json

Large diffs are not rendered by default.

27 changes: 13 additions & 14 deletions demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server",
"start": "webpack-dev-server --port $PORT",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Andrew Kolos",
Expand All @@ -13,25 +13,24 @@
"@akolos/event-emitter": "^2.0.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@types/node": "^12.12.36",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-router-dom": "^5.1.4",
"react-router-dom": "^5.1.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.7",
"webpack-dev-server": "^3.11.2",
"awesome-typescript-loader": "^5.2.1",
"css-loader": "^3.5.2",
"http-server": "^0.11.1",
"node-sass": "^4.13.1",
"sass-loader": "^8.0.2",
"source-map-loader": "^0.2.4",
"style-loader": "^1.1.4",
"@types/node": "^12.12.36",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/react-router-dom": "^5.1.4",
"typescript": "^4.2.4"
},
"devDependencies": {
"tslint": "^5.20.1",
"tslint-clean-code": "^0.2.10",
"typescript": "^4.2.4",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
"tslint-clean-code": "^0.2.10"
}
}
2 changes: 1 addition & 1 deletion demos/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" },

{ test: /\.s?css$/, use: ['style-loader', 'css-loader', 'sass-loader'] }
{ test: /\.s?css$/, use: ['style-loader', 'css-loader'] }
]
},

Expand Down
Loading

0 comments on commit 0caaa01

Please sign in to comment.