diff --git a/package.json b/package.json index edd20fd9..1288711e 100644 --- a/package.json +++ b/package.json @@ -42,21 +42,22 @@ "postinstall": "patch-package", "prebuild": "rimraf build/ build-bin/", "build": "npm run build:src && npm run catch-uncommitted", - "build:src": "npm run prettify && npm run lint && npm run build:fast && npm run build:doc", + "build:src": "npm run prettify && npm run lint && npm run build:automation && npm run build:fast && npm run build:doc", "build:fast": "gulp build && tsc", - "build:doc": "mkdirp doc/ && ts-node --type-check -P automation/tsconfig.json automation/capitanodoc/index.ts > doc/cli.markdown", - "build:standalone": "ts-node --type-check -P automation/tsconfig.json automation/run.ts build:standalone", - "build:installer": "ts-node --type-check -P automation/tsconfig.json automation/run.ts build:installer", + "build:automation": "tsc -P automation/tsconfig.json --noEmit", + "build:doc": "mkdirp doc/ && ts-node --transpile-only -P automation/tsconfig.json automation/capitanodoc/index.ts > doc/cli.markdown", + "build:standalone": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts build:standalone", + "build:installer": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts build:installer", "package": "npm run build:fast && npm run build:standalone && npm run build:installer", - "release": "ts-node --type-check -P automation/tsconfig.json automation/run.ts release", + "release": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts release", "pretest": "npm run build", - "test": "mocha --timeout 6000 -r ts-node/register \"tests/**/*.spec.ts\"", + "test": "mocha --timeout 6000 -r ts-node/register/transpile-only \"tests/**/*.spec.ts\"", "test:fast": "npm run build:fast && npm run test", - "catch-uncommitted": "ts-node --type-check -P automation/tsconfig.json automation/run.ts catch-uncommitted", + "catch-uncommitted": "ts-node --transpile-only -P automation/tsconfig.json automation/run.ts catch-uncommitted", "ci": "npm run test && catch-uncommitted", "watch": "gulp watch", - "prettify": "resin-lint --typescript --fix automation/ lib/ typings/ tests/ && prettier --write \"{lib,tests,automation,typings}/**/*.js\" --config ./node_modules/resin-lint/config/.prettierrc", - "lint": "resin-lint lib/ tests/ && resin-lint --typescript automation/ lib/ typings/ tests/", + "prettify": "prettier --write \"{lib,tests,automation,typings}/**/*.js\" --config ./node_modules/resin-lint/config/.prettierrc", + "lint": "resin-lint lib/ tests/ && resin-lint --typescript --fix automation/ lib/ typings/ tests/", "prepublishOnly": "npm run build" }, "keywords": [