From 1414c091f257465fa592daafb60436e648290b37 Mon Sep 17 00:00:00 2001 From: jjrv Date: Fri, 27 Apr 2018 08:02:43 +0300 Subject: [PATCH] Fix published AMD bundle, set up Travis and bump version. --- .travis.yml | 7 +++++++ README.md | 1 + package.json | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..47122c2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js + +node_js: + - "8" + - "7" + - "6" + - "4" diff --git a/README.md b/README.md index 778ae16..ca27eaa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ classy-mst ========== +[![build status](https://travis-ci.org/charto/classy-mst.svg?branch=master)](http://travis-ci.org/charto/classy-mst) [![npm version](https://img.shields.io/npm/v/classy-mst.svg)](https://www.npmjs.com/package/classy-mst) `classy-mst` is the ultimate state management solution for TypeScript and diff --git a/package.json b/package.json index acb64cf..f781793 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "classy-mst", - "version": "0.4.1", + "version": "1.0.0", "description": "ES6-like syntax for mobx-state-tree", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "tsc": "tsc", - "prepublish": "tsc -p src && tsc -p src/ts-amd.json && node src/fix-amd.js", + "prepublish": "tsc -p src && tsc -p src/ts-amd.json && node src/fix-amd.js classy-mst", "test": "tsc -p test && node test/test.js" }, "author": "Juha Järvi",