From 5f9453b634302611392fc4b6373eb38db6e05074 Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Wed, 1 Aug 2018 10:31:49 -0700 Subject: [PATCH] Add babeled legacy dist --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2391ffa..cc390cd 100755 --- a/package.json +++ b/package.json @@ -35,13 +35,14 @@ }, "scripts": { "build": "./node_modules/.bin/rollup -c", + "legacy": "./node_modules/.bin/rollup -c rollup.legacy.config.js", "start": "./node_modules/.bin/rollup -w -c rollup.server.config.js", "test": "npm run tests && npm run specs", "tests": "jest --config=tests/jest.config.js", "specs": "jest --config=specs/jest.config.js", "compile": "./node_modules/.bin/babel src/ -d lib/", "pretest": "npm run build", - "prepublishOnly": "npm run build && npm run compile", + "prepublishOnly": "npm run build && npm run compile && npm run legacy", "watch": "./node_modules/.bin/rollup -w -c" }, "repository": { -- 2.22.0