aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSteve Purcell <steve@sanityinc.com>2019-01-15 23:27:30 +1300
committerJakub Hampl <kopomir@gmail.com>2019-01-15 10:27:30 +0000
commit00600a345eb595e8dc18cf499fb6635a932a8cb7 (patch)
treedd50bb6442bf3add4509ad26e7655ab7e2e3623d /package.json
parenta92346489556d89dbff959e21eb3d6804e69b425 (diff)
Adds travis testing
* Use "elm make" to test this * Add simple travis config * Update example in README from Example01.elm, so it is compilable
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 4083dac..69085e7 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,7 @@
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
- "test": "node test/test.js",
+ "test": "elm make --output=/dev/null src/**/*.elm && cd examples && elm make --output=/dev/null ./*.elm",
"pretest": "npm run build",
"generate": "curl https://raw.githubusercontent.com/mapbox/mapbox-gl-js/master/src/style-spec/reference/v8.json | node generate-elm.js > src/Mapbox/Layer.elm"
},