-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
25 lines (25 loc) · 1.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "elm-minesweeper",
"version": "1.0.0",
"description": "simple minesweeper game, made to practice using Elm. Simple development setup copied from https://medium.com/salted-bytes/a-simple-elm-scss-toolchain-16fc2dca2cd7",
"main": "public/index.html",
"dependencies": {
"chokidar-cli": "^2.0.0"
},
"devDependencies": {
"node-sass-chokidar": "^1.3.5",
"npm-run-all": "^4.1.5"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch:elm": "chokidar \"./src/**/*.elm\" -c \"elm make ./src/Main.elm --output ./public/js/elm.compiled.js\" --initial",
"build-elm": "elm make ./src/Main.elm --output /public/js/elm.compiled.js --optimize",
"build-css": "node-sass-chokidar scss/ -o public/css",
"watch-css": "npm run build-css && node-sass-chokidar scss/ -o public/css --watch --recursive",
"dev-server": "browser-sync start --server \"public\" --files \"public/**/*.*\"",
"build": "npm-run-all -p build-css build-elm",
"start": "npm-run-all -p watch-css watch:elm dev-server"
},
"author": "Robin Zigmond",
"license": "ISC"
}