Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a package.json utility. #2

Merged
merged 3 commits into from Aug 7, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -1,2 +1,6 @@
elm-stuff/
index.html
node_modules/
package-lock.json
build/
public/app.js
@@ -2,3 +2,12 @@

With a follow-along blog post at
http://mathieu.agopian.info/blog/making-a-pong-game-in-elm.html

You can try the current version of the game at https://magopian.github.io/elm-pong/


## Play with the code

$ npm i
$ npm run live

@@ -0,0 +1,28 @@
{
"name": "elm-pong",
"version": "1.0.0",
"description": "A tutorial on how to make a pong game in elm. Follow-along blog post: http://mathieu.agopian.info/blog/making-a-pong-game-in-elm.html",
"main": "index.js",
"scripts": {
"build": "elm make src/Main.elm --optimize",
"deploy": "npm run build && gh-pages --dist ./ --src index.html",
"debug": "elm-live src/Main.elm -- --debug",
"live": "elm-live src/Main.elm"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magopian/elm-pong.git"
},
"bugs": {
"url": "https://github.com/magopian/elm-pong/issues"
},
"homepage": "https://github.com/magopian/elm-pong#readme",
"author": "Magopian",
"license": "ISC",
"devDependencies": {
"elm": "^0.19.0-nodeps",
"elm-format": "^0.8.1",
"elm-live": "^3.0.6",
"gh-pages": "^2.0.0"
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.