Skip to content

Instantly share code, notes, and snippets.

@aratama
Created July 7, 2019 06:59
Show Gist options
  • Save aratama/4c30be7632a6a0961afca3f721e7ccf9 to your computer and use it in GitHub Desktop.
Save aratama/4c30be7632a6a0961afca3f721e7ccf9 to your computer and use it in GitHub Desktop.
xink:startfighter package.json
{
"name": "xink",
"version": "0.1.0",
"description": "WIP",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"clean": "rimraf ./docs ./public",
"watch:html": "cpx ./src/index.html ./docs -w",
"watch:assets": "cpx \"./src/assets/**/*\" ./docs/assets -w",
"watch:js": "cpx ./src/main.js ./docs -w",
"watch:elm": "elm-live ./src/Main.elm --open --start-page=index.html --dir=./docs -- --output=./docs/elm.js",
"watch:sass": "node-sass ./src/ --output ./docs/ && node-sass ./src/ -w -q --output ./docs/",
"watch": "npm-run-all -p watch:*",
"compile:html": "cpx ./src/index.html ./public",
"compile:assets": "cpx \"./src/assets/**/*\" ./public/assets",
"compile:js": "cpx ./src/main.js ./public",
"compile:elm": "elm make ./src/Main.elm --optimize --output=./public/elm.optimized.js",
"compile:sass": "node-sass ./src/ --output ./public/ --output-style compressed",
"compile": "npm-run-all -p compile:*",
"minify:elm": "google-closure-compiler --js=./public/elm.optimized.js --js_output_file=./public/elm.js && rm ./public/elm.optimized.js",
"build": "npm-run-all -s clean compile minify:elm",
"start": "npm-run-all -s clean watch",
"electron": "npm run build && electron build",
"analyse": "elm-analyse",
"clean-imports": "node remove-unused-imports",
"format": "elm-format src/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aratama/xink.git"
},
"author": "cubbit",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/aratama/xink/issues"
},
"homepage": "https://github.com/aratama/xink#readme",
"dependencies": {
"cpx": "^1.5.0",
"elm": "^0.19.0-no-deps",
"elm-live": "^3.4.1",
"elm-test": "^0.19.0-rev6",
"google-closure-compiler": "^20190528.0.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3"
},
"devDependencies": {
"elm-analyse": "^0.16.4",
"electron": "^5.0.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment