From 4d4c5ddcf3a8f6a851df3d968c6105569d3056b1 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Thu, 16 Dec 2021 10:15:40 -0700 Subject: [PATCH] fix pipeline --- .gitlab-ci.yml | 4 +++- package.json | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 494b1c9..156aaea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,10 +58,12 @@ Build Node Image: tags: - development -Build: +Build Angular: extends: - .node script: + - cd example + - npm i - npm run build Lint Project: diff --git a/package.json b/package.json index 7b4fde1..c671291 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "main": "src/index.js", "types": "types/index.d.ts", "scripts": { - "start": "cd example && npm i && npm run start", + "fix": "npm run tslint -- --fix", + "lint": "tslint -c tslint.json 'types/**/*.d.ts' 'src/**/*.d.ts'", "npm-cli-login": "npm-cli-login", - "pre-commit": "pretty-quick --staged && npm run tslint", + "pre-commit": "pretty-quick --staged && npm run lint", "pre-push": "npm run pre-commit", - "tslint": "tslint -c tslint.json 'types/**/*.d.ts' 'src/**/*.d.ts'", - "tslint:fix": "npm run tslint -- --fix", + "start": "cd example && npm i && npm run start", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { -- GitLab