formbuilder-lhcforms 9.2.1 → 9.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formbuilder-lhcforms",
3
- "version": "9.2.1",
3
+ "version": "9.2.2",
4
4
  "description": "Build LHC-Forms and FHIR Questionnaires",
5
5
  "homepage": "https://github.com/lhncbc/formbuilder-lhcforms",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -21,15 +21,12 @@
21
21
  "copy-lforms": "rm -rf ./src/lib/lforms && node ./bin/copy-lforms.js",
22
22
  "create-version-file": "echo {\\\"version\\\": \\\"${npm_package_version}\\\"} > ./src/assets/version.json",
23
23
  "build": "npm run create-version-file && npm run copy-lforms && ng build --configuration production",
24
- "test": "source ./bashrc.formbuilder && npm run unit-test && npm run ci:cy-run",
25
- "unit-test": "ng test --watch=false --browsers ChromeHeadless",
24
+ "test": "npm run unit-test && npm run e2e:prod",
25
+ "unit-test": "source ./bashrc.formbuilder && ng test --watch=false --browsers ChromeHeadless",
26
26
  "lint": "ng lint",
27
27
  "cy:verify": "cypress verify",
28
- "cy:open": "cypress open --config baseUrl=http://localhost:${npm_package_config_testPort}",
29
- "cy:run": "source ./bashrc.formbuilder && cypress run --browser chrome --config baseUrl=http://localhost:${npm_package_config_testPort}",
30
- "ci:cy-run": "start-server-and-test ci:start-server http://localhost:${npm_package_config_testPort} cy:run",
31
- "ci:cy-open": "start-server-and-test ci:start-server http://localhost:${npm_package_config_testPort} cy:open",
32
- "ci:start-server": "angular-http-server --silent --path ./dist/formbuilder-lhcforms -p ${npm_package_config_testPort}",
28
+ "e2e": "source ./bashrc.formbuilder && ng e2e",
29
+ "e2e:prod": "source ./bashrc.formbuilder && ng run formbuilder-lhcforms:e2e:production",
33
30
  "postinstall": "ngcc"
34
31
  },
35
32
  "files": [
@@ -79,6 +76,7 @@
79
76
  "@angular/cli": "~15.2.4",
80
77
  "@angular/compiler-cli": "~15.2.4",
81
78
  "@angular/language-service": "~15.2.4",
79
+ "@cypress/schematic": "^2.5.1",
82
80
  "@types/hapi": "18.0.8",
83
81
  "@types/jasmine": "~4.3.1",
84
82
  "@types/jasminewd2": "~2.0.10",
@@ -98,7 +96,6 @@
98
96
  "karma-jasmine": "~4.0.2",
99
97
  "karma-jasmine-html-reporter": "^1.7.0",
100
98
  "postcss": "^8.3.0",
101
- "start-server-and-test": "^1.14.0",
102
99
  "ts-node": "~9.1.1",
103
100
  "tslint": "~6.1.3",
104
101
  "typescript": "^4.8.4"