@golemio/fcd 1.2.14 → 1.2.15-dev.2274071619
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 +6 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/fcd",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15-dev.2274071619",
|
|
4
4
|
"description": "Golemio Floating Car Data Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
"build": "rimraf ./dist && tspc -p ./tsconfig.build.json",
|
|
9
9
|
"build-minimal": "run-s 'build -- --sourceMap false --declaration false'",
|
|
10
10
|
"build-watch": "run-s 'build -- --watch --preserveWatchOutput'",
|
|
11
|
-
"
|
|
12
|
-
"test": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
11
|
+
"prepare-db": "golemio mdb reset --postgres && golemio mdb up --postgres && golemio import-db-data --postgres",
|
|
12
|
+
"test:only": "cross-env NODE_ENV=test mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r tsconfig-paths/register -r dotenv/config --file 'test/setup.ts' 'test/**/*.test.ts'",
|
|
13
|
+
"test": "run-s prepare-db test:only",
|
|
13
14
|
"apidocs-test": "npm run apidocs-test-input && npm run apidocs-test-output",
|
|
14
15
|
"apidocs-test-input": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-input.yaml --script test/api-docs/input-gateway/server.js",
|
|
15
16
|
"apidocs-test-output": "cross-env NODE_ENV=test golemio swagger api-test --oas docs/openapi-output.yaml --script test/api-docs/output-gateway/server.js --config test/api-docs/output-gateway/portman-config.json",
|
|
16
17
|
"test-debug": "run-s 'test -- --inspect-brk=9230'",
|
|
17
|
-
"
|
|
18
|
+
"coverage:only": "nyc --reporter=text --reporter=lcov npm run test:only -- -r source-map-support/register",
|
|
19
|
+
"code-coverage": "run-s prepare-db coverage:only",
|
|
18
20
|
"generate-docs": "typedoc --out docs/typedoc src",
|
|
19
21
|
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
20
22
|
},
|