From 1e7660ad231f53062c644f45c821495c92bb2e73 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 22 Jan 2018 12:40:14 -0600 Subject: [PATCH] chore(build): run build before deploy --- packages/core/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index f0990e9915..c1b1f36e25 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,23 +28,23 @@ }, "scripts": { "build": "stencil build --docs", - "tsc": "./node_modules/.bin/tsc -p .", + "clean": "rm -rf dist", + "deploy": "npm run build && np --any-branch", "dev": "sd concurrent \"stencil build --dev --watch --docs\" \"stencil-dev-server\"", "e2e": "node ./scripts/e2e", "e2e-debug": "node --inspect --debug-brk ./scripts/e2e", + "lint": "npm run tslint & npm run sass-lint", + "sass-lint": "sass-lint -v -q", "snapshot": "node ./scripts/e2e --snapshot", "test": "jest --no-cache", "test.watch": "jest --watch --no-cache", - "clean": "rm -rf dist", - "lint": "npm run tslint & npm run sass-lint", - "sass-lint": "sass-lint -v -q", "theme-app-build": "stencil build --dev --config scripts/theme-builder/stencil.config.js", - "theme-server": "node scripts/theme-builder/server.js", "theme-builder": "npm run theme-app-build && sd concurrent \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ", + "theme-server": "node scripts/theme-builder/server.js", "tslint": "tslint --project .", "tslint-fix": "tslint --project . --fix", "validate": "npm run clean && npm run lint && npm run test && npm run build", - "deploy": "np --any-branch", + "tsc": "./node_modules/.bin/tsc -p .", "version": "npm run build" }, "author": "Ionic Team",