diff --git a/package.json b/package.json index 2391ffa5ef9edf79d070f8a6ebfb0d0d2c2fb718..cc390cda9e4e2e27108dc343bb5879ac50ac4e63 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": {