Browse Source

prepare to push to netlify

master
Brian Hicks 2 years ago
parent
commit
32c7605b5b
  1. 1
      .gitignore
  2. 3
      netlify.toml
  3. 9990
      package-lock.json
  4. 21
      package.json
  5. 5
      shell.nix

1
.gitignore

@ -1,2 +1,3 @@
/elm-stuff
/index.html
/node_modules

3
netlify.toml

@ -0,0 +1,3 @@
[build]
publish = "./dist/"
command = "mkdir dist && ./node_modules/.bin/elm make --debug --output dist/index.html src/Main.elm"

9990
package-lock.json
File diff suppressed because it is too large
View File

21
package.json

@ -0,0 +1,21 @@
{
"name": "elm-save-scroll-experiment",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@git.bytes.zone:brian/elm-save-scroll-experiment.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"elm": "^0.19.1-3"
},
"devDependencies": {
"netlify-cli": "^2.38.0"
}
}

5
shell.nix

@ -13,7 +13,10 @@ stdenv.mkDerivation {
git
# elm
elmPackages.elm
elmPackages.elm-format
# node
nodePackages.npm
nodejs-10_x
];
}
Loading…
Cancel
Save